Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.NoInputConflict.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 215.5 kB / 22.25 MB, free: 3.578 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9351/0.9351, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.05219/0.05219, allocations: 16.97 MB / 329.4 MB, free: 1.168 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.NoInputConflict,fileNamePrefix="PNlib_PNlib_Examples_DisTest_NoInputConflict",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.NoInputConflict,fileNamePrefix="PNlib_PNlib_Examples_DisTest_NoInputConflict",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 71.89 kB / 461.3 MB, free: 26.92 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07908/0.08051, allocations: 57.63 MB / 0.5068 GB, free: 1.191 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.NoInputConflict): time 0.002399/0.08291, allocations: 2.044 MB / 0.5087 GB, free: 15.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.08548, allocations: 2.039 MB / 0.5107 GB, free: 13.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.08572, allocations: 7.938 kB / 0.5107 GB, free: 13.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.08606, allocations: 154.8 kB / 0.5109 GB, free: 12.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.0864, allocations: 178.8 kB / 0.5111 GB, free: 12.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.0878, allocations: 1.018 MB / 0.5121 GB, free: 11.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.0894, allocations: 1.615 MB / 0.5136 GB, free: 10.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.08961, allocations: 111.5 kB / 0.5137 GB, free: 9.996 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006063/0.09022, allocations: 0.6817 MB / 0.5144 GB, free: 9.312 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.09067, allocations: 425.7 kB / 0.5148 GB, free: 8.895 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.75e-05/0.09076, allocations: 92 kB / 0.5149 GB, free: 8.805 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006405/0.0914, allocations: 0.6123 MB / 0.5155 GB, free: 8.191 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.09157, allocations: 211 kB / 0.5157 GB, free: 7.984 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.09181, allocations: 366.2 kB / 0.5161 GB, free: 7.625 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.09293, allocations: 1.351 MB / 0.5174 GB, free: 6.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.09294, allocations: 4 kB / 0.5174 GB, free: 6.266 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.09294, allocations: 0 / 0.5174 GB, free: 6.266 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.09296, allocations: 4 kB / 0.5174 GB, free: 6.262 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001468/0.09443, allocations: 1.414 MB / 0.5188 GB, free: 4.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.09447, allocations: 12.03 kB / 0.5188 GB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.09459, allocations: 152.1 kB / 0.5189 GB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.09486, allocations: 128.3 kB / 0.519 GB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.09533, allocations: 427.1 kB / 0.5194 GB, free: 4.004 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.09546, allocations: 184.8 kB / 0.5196 GB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/0.09554, allocations: 95.98 kB / 0.5197 GB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.09761, allocations: 2.256 MB / 0.5219 GB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.09763, allocations: 3.938 kB / 0.5219 GB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.346e-05/0.09769, allocations: 51.97 kB / 0.522 GB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.234e-05/0.09778, allocations: 85.19 kB / 0.522 GB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.09919, allocations: 1.539 MB / 0.5236 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.1027, allocations: 4.083 MB / 0.5275 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.1038, allocations: 1.202 MB / 0.5287 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008253/0.1047, allocations: 1.073 MB / 0.5298 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-05/0.1047, allocations: 16.3 kB / 0.5298 GB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.1059, allocations: 1.453 MB / 0.5312 GB, free: 7.297 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 3.146e-06/0.1059, allocations: 0 / 0.5312 GB, free: 7.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.003121/0.109, allocations: 3.377 MB / 0.5345 GB, free: 3.758 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002286/0.1092, allocations: 0.6025 MB / 0.5351 GB, free: 3.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007195/0.1099, allocations: 0.5285 MB / 0.5356 GB, free: 2.496 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.277e-05/0.11, allocations: 77.69 kB / 0.5357 GB, free: 2.414 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.1102, allocations: 353 kB / 0.536 GB, free: 2.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.1103, allocations: 250.2 kB / 0.5362 GB, free: 1.816 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.1106, allocations: 298.8 kB / 0.5365 GB, free: 1.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.1107, allocations: 330 kB / 0.5368 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005909/0.1113, allocations: 0.7595 MB / 0.5376 GB, free: 376 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000843/0.1121, allocations: 1.365 MB / 0.5389 GB, free: 14.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/0.1145, allocations: 2.728 MB / 0.5416 GB, free: 11.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/0.1145, allocations: 4 kB / 0.5416 GB, free: 11.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.001879/0.1164, allocations: 2.271 MB / 0.5438 GB, free: 9.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.1165, allocations: 350.7 kB / 0.5441 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.1165, allocations: 15.94 kB / 0.5442 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/0.1166, allocations: 28 kB / 0.5442 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.1168, allocations: 167.6 kB / 0.5443 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/0.1169, allocations: 31.88 kB / 0.5444 GB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.1172, allocations: 151 kB / 0.5445 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.101e-05/0.1173, allocations: 71.98 kB / 0.5446 GB, free: 8.293 MB / 410.7 MB Warning: Assuming fixed start value for the following 28 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer T2.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer T2.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 153 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[2],$PRE.P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],$PRE.P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition5,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition3,$whenCondition4,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,P1.inTransition[2].disPlace,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,P1.reStart,T2.firingCon,T1.firingCon,P1.enableIn.disTransition[2],P1.enableIn.disTransition[1],$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[2],$PRE.P1.enableIn.TEin[1],$PRE.T2.firingTime,$PRE.T1.firingTime,T2.enabledByInPlaces,T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.disPlaceOut[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeightSum,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.enableIn.TAein[2],P1.enableIn.TAein[1],P1.enableIn.arcWeight[2],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[2],P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[2],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[2],P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T2.delayPassed,$PRE.T2.delayPassed,T2.firingTime,T2.active,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,$whenCondition2,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,P1.inTransition[2].emptied,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007978/0.1181, allocations: 0.8478 MB / 0.5454 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.1182, allocations: 91.52 kB / 0.5455 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.1203, allocations: 2.153 MB / 0.5476 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1203, allocations: 4 kB / 0.5476 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1203, allocations: 0 / 0.5476 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.1203, allocations: 3.984 kB / 0.5476 GB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/0.1231, allocations: 3.13 MB / 0.5507 GB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1231, allocations: 0 / 0.5507 GB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1232, allocations: 43.91 kB / 0.5507 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1233, allocations: 8 kB / 0.5507 GB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/0.1233, allocations: 47.97 kB / 0.5508 GB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1233, allocations: 0 / 0.5508 GB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1233, allocations: 0 / 0.5508 GB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1717/0.295, allocations: 2.684 MB / 0.5534 GB, free: 47.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.2951, allocations: 69.75 kB / 0.5534 GB, free: 47.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.2953, allocations: 80.92 kB / 0.5535 GB, free: 47.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.2956, allocations: 69.08 kB / 0.5536 GB, free: 47.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.2958, allocations: 134.4 kB / 0.5537 GB, free: 47.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-05/0.2959, allocations: 50.22 kB / 0.5538 GB, free: 47.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002313/0.2961, allocations: 309.3 kB / 0.5541 GB, free: 47.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2961, allocations: 0 / 0.5541 GB, free: 47.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008872/0.297, allocations: 372.1 kB / 0.5544 GB, free: 47.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 86 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.active,T2.active,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition2,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.vec[2],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.fire[2],P1.firingSumIn.arcWeight[1],P1.firingSumIn.arcWeight[2],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.arcWeight[2],P1.enableIn.TAein[1],P1.enableIn.TAein[2],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit) * Number of discrete states: 54 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.activation.active,T2.delayPassed,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002926/0.3, allocations: 3.525 MB / 0.5579 GB, free: 45.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.302, allocations: 2.879 MB / 0.5607 GB, free: 43.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.302, allocations: 1.344 kB / 0.5607 GB, free: 43.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.3031, allocations: 1.784 MB / 0.5624 GB, free: 42.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.3036, allocations: 130.3 kB / 0.5625 GB, free: 42.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009246/0.3128, allocations: 11.32 MB / 0.5736 GB, free: 35.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.3132, allocations: 423.3 kB / 0.574 GB, free: 35.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003829/0.3136, allocations: 206.7 kB / 0.5742 GB, free: 35.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.3138, allocations: 264.6 kB / 0.5744 GB, free: 35.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3138, allocations: 0 / 0.5744 GB, free: 35.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08283/0.3966, allocations: 20.86 MB / 0.5948 GB, free: 17.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.207/7.603, allocations: 11.72 kB / 0.5948 GB, free: 17.05 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe >> ../files/PNlib_PNlib.Examples.DisTest.NoInputConflict.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.NoInputConflict_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_NoInputConflict_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_NoInputConflict.fmu) > PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_NoInputConflict_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_NoInputConflict_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_NoInputConflict_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_NoInputConflict_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy_res.csv --output-variables P1.t T1.active T1.fire T2.active T2.fire --start-time 0 --stop-time 3 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ../PNlib_PNlib_Examples_DisTest_NoInputConflict.fmu) > PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.288065010681748]