Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.001139/0.001139, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009774/0.0009774, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9095/0.9095, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.04979/0.04979, allocations: 12.64 MB / 271.8 MB, free: 0.7031 MB / 250.7 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 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: "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 402.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.292e-05, allocations: 2.281 kB / 402.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002924/0.002947, allocations: 1.743 MB / 404 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.005971, allocations: 1.855 MB / 405.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004288/0.0064, allocations: 11.94 kB / 405.8 MB, free: 7.027 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.00683, allocations: 122.9 kB / 406 MB, free: 6.906 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.007259, allocations: 166.8 kB / 406.1 MB, free: 6.742 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.008588, allocations: 0.9508 MB / 407.1 MB, free: 5.793 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.009966, allocations: 1.423 MB / 408.5 MB, free: 4.367 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.01017, allocations: 107.6 kB / 408.6 MB, free: 4.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007115/0.01089, allocations: 0.8188 MB / 409.4 MB, free: 3.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.01138, allocations: 490.6 kB / 409.9 MB, free: 2.949 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.01153, allocations: 136 kB / 410 MB, free: 2.816 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009307/0.01246, allocations: 0.9281 MB / 411 MB, free: 1.887 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.01265, allocations: 227.1 kB / 411.2 MB, free: 1.664 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003526/0.013, allocations: 431.1 kB / 411.6 MB, free: 1.242 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.01477, allocations: 2.1 MB / 413.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.01477, allocations: 4 kB / 413.7 MB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01477, allocations: 0 / 413.7 MB, free: 15.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.01479, allocations: 0 / 413.7 MB, free: 15.13 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001623/0.01641, allocations: 1.48 MB / 415.2 MB, free: 13.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.01644, allocations: 8.031 kB / 415.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.0166, allocations: 168 kB / 415.4 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.01685, allocations: 136.4 kB / 415.5 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005655/0.01742, allocations: 497.2 kB / 416 MB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.01753, allocations: 197.1 kB / 416.2 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.01765, allocations: 116 kB / 416.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.02016, allocations: 2.654 MB / 418.9 MB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.02017, allocations: 7.938 kB / 419 MB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.605e-05/0.02026, allocations: 55.97 kB / 419 MB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.02036, allocations: 93.23 kB / 419.1 MB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.02205, allocations: 1.83 MB / 420.9 MB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/0.02538, allocations: 3.889 MB / 424.8 MB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.02672, allocations: 1.419 MB / 426.2 MB, free: 2.027 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.02789, allocations: 1.324 MB / 427.6 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.855e-05/0.02796, allocations: 15.98 kB / 427.6 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001803/0.02976, allocations: 1.739 MB / 429.3 MB, free: 14.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 1.963e-06/0.02976, allocations: 0 / 429.3 MB, free: 14.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=91): time 0.004733/0.0345, allocations: 4.937 MB / 434.3 MB, free: 9.707 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002979/0.0348, allocations: 0.6496 MB / 434.9 MB, free: 8.941 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/0.03523, allocations: 0.5247 MB / 435.4 MB, free: 8.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.073e-05/0.03531, allocations: 73.69 kB / 435.5 MB, free: 8.332 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.03551, allocations: 356.9 kB / 435.8 MB, free: 7.977 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.03566, allocations: 246.3 kB / 436.1 MB, free: 7.734 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.03593, allocations: 294.8 kB / 436.4 MB, free: 7.441 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.068e-05/0.03602, allocations: 334 kB / 436.7 MB, free: 7.109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007111/0.03673, allocations: 0.8788 MB / 437.6 MB, free: 6.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009598/0.03769, allocations: 1.534 MB / 439.1 MB, free: 4.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002421/0.04011, allocations: 3.214 MB / 442.3 MB, free: 0.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.04012, allocations: 4 kB / 442.3 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.1634/0.2035, allocations: 2.592 MB / 444.9 MB, free: 78.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.2036, allocations: 339.8 kB / 445.3 MB, free: 78.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.2036, allocations: 16.5 kB / 445.3 MB, free: 78.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.2037, allocations: 33.5 kB / 445.3 MB, free: 78.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.2042, allocations: 158.6 kB / 445.5 MB, free: 78.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.548e-05/0.2042, allocations: 29.89 kB / 445.5 MB, free: 78.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.2048, allocations: 170.2 kB / 445.7 MB, free: 78.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/0.2049, allocations: 67.72 kB / 445.7 MB, free: 78.14 MB / 410.7 MB Warning: Assuming fixed start value for the following 25 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.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" 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.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.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 P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer 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.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($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[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[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * Array equations: 1 * Algorithm blocks: 10 * 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.0008768/0.2058, allocations: 0.8811 MB / 446.6 MB, free: 77.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.2059, allocations: 103.9 kB / 446.7 MB, free: 77.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/0.2091, allocations: 3.897 MB / 450.6 MB, free: 76.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.2091, allocations: 8.281 kB / 450.6 MB, free: 76.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.2091, allocations: 0 / 450.6 MB, free: 76.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2091, allocations: 3.516 kB / 450.6 MB, free: 76.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.2132, allocations: 5.059 MB / 455.7 MB, free: 73.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2133, allocations: 0 / 455.7 MB, free: 73.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.361e-05/0.2133, allocations: 41.41 kB / 455.7 MB, free: 73.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.2134, allocations: 0 / 455.7 MB, free: 73.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/0.2134, allocations: 58.41 kB / 455.8 MB, free: 73.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.2134, allocations: 0 / 455.8 MB, free: 73.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2134, allocations: 0 / 455.8 MB, free: 73.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.2165, allocations: 4.041 MB / 459.8 MB, free: 71.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.2165, allocations: 66.48 kB / 459.9 MB, free: 71.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.2167, allocations: 89.19 kB / 460 MB, free: 71.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.217, allocations: 106 kB / 460.1 MB, free: 71.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/0.2174, allocations: 386.1 kB / 460.4 MB, free: 71.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.185e-05/0.2175, allocations: 69.05 kB / 460.5 MB, free: 71.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002197/0.2177, allocations: 297.9 kB / 460.8 MB, free: 71.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2177, allocations: 1.203 kB / 460.8 MB, free: 71.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001188/0.2189, allocations: 493 kB / 461.3 MB, free: 71.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],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[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * 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.003996/0.2229, allocations: 4.987 MB / 466.3 MB, free: 69.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.2253, allocations: 3.212 MB / 469.5 MB, free: 67.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2253, allocations: 0 / 469.5 MB, free: 67.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.2266, allocations: 2.028 MB / 471.5 MB, free: 65.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.227, allocations: 138.4 kB / 471.6 MB, free: 65.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009886/0.2369, allocations: 11.62 MB / 483.3 MB, free: 58.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.2373, allocations: 433.4 kB / 483.7 MB, free: 58.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003574/0.2377, allocations: 213.1 kB / 483.9 MB, free: 58.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.2379, allocations: 258.5 kB / 484.2 MB, free: 58.32 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2379, allocations: 0 / 484.2 MB, free: 58.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/0.2786, allocations: 26.08 MB / 0.4983 GB, free: 43.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.073, allocations: 11.16 kB / 0.4983 GB, free: 43.68 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight.fmu > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.014666459523141]