Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.001751/0.001751, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002343/0.002343, allocations: 212.8 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.1218/0.1218, allocations: 16.95 MB / 329.4 MB, free: 2.191 MB / 254.1 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.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me",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.001996/0.001996, allocations: 67.91 kB / 459.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1158, allocations: 57.62 MB / 0.5052 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.00392/0.1197, allocations: 1.823 MB / 0.507 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.123, allocations: 1.513 MB / 0.5084 GB, free: 5.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002787/0.1233, allocations: 11.94 kB / 0.5084 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.1237, allocations: 142.9 kB / 0.5086 GB, free: 4.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004963/0.1242, allocations: 178.8 kB / 0.5088 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.1259, allocations: 0.6931 MB / 0.5094 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.1275, allocations: 1.389 MB / 0.5108 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.1277, allocations: 112 kB / 0.5109 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006419/0.1284, allocations: 0.5764 MB / 0.5115 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00076/0.1291, allocations: 0.5134 MB / 0.512 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.1294, allocations: 132 kB / 0.5121 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.1304, allocations: 0.589 MB / 0.5127 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002845/0.1307, allocations: 251 kB / 0.5129 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005583/0.1312, allocations: 482.1 kB / 0.5134 GB, free: 56 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2647/0.3959, allocations: 1.598 MB / 0.5149 GB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.3959, allocations: 2.25 kB / 0.5149 GB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3959, allocations: 0 / 0.5149 GB, free: 10.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.389e-05/0.396, allocations: 0.7812 kB / 0.5149 GB, free: 10.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.003879/0.3998, allocations: 1.607 MB / 0.5165 GB, free: 9.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.3999, allocations: 11.31 kB / 0.5165 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/0.4001, allocations: 173 kB / 0.5167 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.4013, allocations: 234.8 kB / 0.5169 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009189/0.4023, allocations: 0.4963 MB / 0.5174 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/0.4025, allocations: 427.6 kB / 0.5178 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.4027, allocations: 120.2 kB / 0.5179 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003945/0.4067, allocations: 2.585 MB / 0.5204 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.4067, allocations: 1.094 kB / 0.5204 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.4068, allocations: 61.14 kB / 0.5205 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001952/0.407, allocations: 103.3 kB / 0.5206 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003071/0.4101, allocations: 1.829 MB / 0.5224 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005732/0.4158, allocations: 3.181 MB / 0.5255 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.4181, allocations: 1.36 MB / 0.5268 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/0.42, allocations: 1.228 MB / 0.528 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/0.4214, allocations: 351.4 kB / 0.5283 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002307/0.4237, allocations: 1.502 MB / 0.5298 GB, free: 4.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 3.226e-06/0.4237, allocations: 0 / 0.5298 GB, free: 4.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.007061/0.4308, allocations: 4.193 MB / 0.5339 GB, free: 2.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003856/0.4311, allocations: 0.6574 MB / 0.5345 GB, free: 1.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009044/0.432, allocations: 0.522 MB / 0.535 GB, free: 1.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.4322, allocations: 75.83 kB / 0.5351 GB, free: 1.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.4326, allocations: 399.7 kB / 0.5355 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.4328, allocations: 245.1 kB / 0.5357 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004801/0.4333, allocations: 305.2 kB / 0.536 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4334, allocations: 380.5 kB / 0.5364 GB, free: 252 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.4349, allocations: 0.9216 MB / 0.5373 GB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/0.4368, allocations: 1.522 MB / 0.5388 GB, free: 14.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004379/0.4411, allocations: 3.153 MB / 0.5419 GB, free: 12.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-05/0.4412, allocations: 8.312 kB / 0.5419 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003931/0.4451, allocations: 2.639 MB / 0.5444 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002783/0.4454, allocations: 380.4 kB / 0.5448 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001963/0.4473, allocations: 1.488 MB / 0.5463 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-05/0.4474, allocations: 21.39 kB / 0.5463 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.4479, allocations: 165.1 kB / 0.5464 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.091e-05/0.4479, allocations: 30.73 kB / 0.5465 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.4487, allocations: 167.4 kB / 0.5466 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.4489, allocations: 71.94 kB / 0.5467 GB, free: 9.465 MB / 398.1 MB Warning: Assuming fixed start value for the following 21 variables: 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 ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" 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.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) \"arc weight sum\" type: Real T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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: 64 * Number of states: 0 () * Number of discrete variables: 138 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.randNum,$PRE.P1.enableOut.randNum,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.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.randNum,$PRE.P1.enableIn.randNum,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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition5,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.TEout[1],$PRE.T1.firingTime,T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P1.fireIn[1],P1.fireOut[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.active,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * 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.001603/0.4505, allocations: 0.8986 MB / 0.5476 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003268/0.4508, allocations: 102.6 kB / 0.5477 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005289/0.4561, allocations: 3.095 MB / 0.5507 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.4561, allocations: 7.172 kB / 0.5507 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4561, allocations: 0 / 0.5507 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.4561, allocations: 1.406 kB / 0.5507 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006896/0.463, allocations: 4.247 MB / 0.5548 GB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004271/0.4673, allocations: 3.02 MB / 0.5578 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.4675, allocations: 41.52 kB / 0.5578 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.4675, allocations: 5.359 kB / 0.5578 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.4676, allocations: 47.61 kB / 0.5579 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.4676, allocations: 6.734 kB / 0.5579 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4676, allocations: 5.375 kB / 0.5579 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007519/0.4752, allocations: 4.979 MB / 0.5628 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.4754, allocations: 63.47 kB / 0.5628 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/0.4757, allocations: 83.97 kB / 0.5629 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006393/0.4764, allocations: 101.5 kB / 0.563 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006765/0.477, allocations: 367.6 kB / 0.5633 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.4772, allocations: 63.22 kB / 0.5634 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003814/0.4775, allocations: 293.8 kB / 0.5637 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4775, allocations: 0 / 0.5637 GB, free: 12.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001606/0.4792, allocations: 407.3 kB / 0.5641 GB, free: 12.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 71 (P1.fireIn[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,P1.enableOut.cumEnablingProb[1],P1.enableOut.remTAout[1],P1.enableOut.disTAout[1],P1.enableOut.TEout[1],P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,P1.enableIn.cumEnablingProb[1],P1.enableIn.remTAin[1],P1.enableIn.disTAin[1],P1.enableIn.TEin[1],P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.disMarksInOut,P1.outTransition[1].tokenInOut,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue) * Number of discrete states: 54 (P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],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,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],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,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P1.disMarksOut.numtrue,P1.disMarksIn.numtrue,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * 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.009135/0.4883, allocations: 5.805 MB / 0.5697 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004772/0.4931, allocations: 3.195 MB / 0.5729 GB, free: 2.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.4931, allocations: 0 / 0.5729 GB, free: 2.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0026/0.4957, allocations: 2.048 MB / 0.5749 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007036/0.4964, allocations: 120.4 kB / 0.575 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/0.5142, allocations: 11.72 MB / 0.5864 GB, free: 3.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.5147, allocations: 468.8 kB / 0.5869 GB, free: 3.496 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000505/0.5153, allocations: 194.5 kB / 0.5871 GB, free: 3.309 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/0.5156, allocations: 263.3 kB / 0.5873 GB, free: 3.051 MB / 430.1 MB Notification: Performance of SimCode: time 1.302e-06/0.5156, allocations: 4 kB / 0.5873 GB, free: 3.047 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06913/0.5848, allocations: 23.74 MB / 0.6105 GB, free: 11.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.96, allocations: 10 kB / 0.6105 GB, free: 11.36 MB / 462.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_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_HybTest_HybLoopAndArcweight.fmu > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.073417867999524]