Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.001869/0.001869, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002353/0.002353, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.793 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.0854/0.0854, allocations: 16.95 MB / 329.4 MB, free: 2.078 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.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",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.003862/0.003862, allocations: 75.83 kB / 459.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.181, allocations: 57.64 MB / 0.5052 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.005153/0.1861, allocations: 1.722 MB / 0.5069 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006347/0.1925, allocations: 1.89 MB / 0.5087 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.1928, allocations: 7.938 kB / 0.5087 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005338/0.1934, allocations: 119 kB / 0.5089 GB, free: 4.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006499/0.194, allocations: 135.1 kB / 0.509 GB, free: 4.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.1976, allocations: 0.9514 MB / 0.5099 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002748/0.2004, allocations: 1.353 MB / 0.5112 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.2007, allocations: 61.16 kB / 0.5113 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.2019, allocations: 0.5532 MB / 0.5118 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.2029, allocations: 358.2 kB / 0.5122 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.2033, allocations: 88 kB / 0.5123 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.2053, allocations: 0.6045 MB / 0.5129 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.2057, allocations: 155.3 kB / 0.513 GB, free: 416 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009297/0.2066, allocations: 326.7 kB / 0.5133 GB, free: 88 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.26/0.4666, allocations: 1.193 MB / 0.5145 GB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4666, allocations: 0 / 0.5145 GB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.4666, allocations: 4.281 kB / 0.5145 GB, free: 11.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.333e-05/0.4667, allocations: 0 / 0.5145 GB, free: 11.14 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001756/0.4684, allocations: 1.204 MB / 0.5157 GB, free: 10.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4685, allocations: 11.72 kB / 0.5157 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.4686, allocations: 125.3 kB / 0.5158 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003177/0.4689, allocations: 93.02 kB / 0.5159 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006373/0.4696, allocations: 375.5 kB / 0.5162 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.4697, allocations: 111.5 kB / 0.5163 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.4698, allocations: 80.53 kB / 0.5164 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.472, allocations: 1.785 MB / 0.5182 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.472, allocations: 4.688 kB / 0.5182 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.796e-05/0.4721, allocations: 40.72 kB / 0.5182 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.4722, allocations: 58.67 kB / 0.5183 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.4741, allocations: 1.223 MB / 0.5195 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003519/0.4776, allocations: 3.003 MB / 0.5224 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.479, allocations: 1.001 MB / 0.5234 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.4801, allocations: 0.9026 MB / 0.5242 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.169e-05/0.4801, allocations: 8.516 kB / 0.5243 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/0.4817, allocations: 1.264 MB / 0.5255 GB, free: 5.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.534e-06/0.4817, allocations: 1.219 kB / 0.5255 GB, free: 5.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.004115/0.4858, allocations: 3.342 MB / 0.5287 GB, free: 4.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002212/0.486, allocations: 0.5565 MB / 0.5293 GB, free: 3.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.4865, allocations: 433 kB / 0.5297 GB, free: 3.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.076e-05/0.4866, allocations: 73.25 kB / 0.5298 GB, free: 3.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.4867, allocations: 264.5 kB / 0.53 GB, free: 2.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.4869, allocations: 191 kB / 0.5302 GB, free: 2.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/0.4872, allocations: 222.1 kB / 0.5304 GB, free: 2.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.4873, allocations: 377.9 kB / 0.5308 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007539/0.488, allocations: 0.7422 MB / 0.5315 GB, free: 1.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.4891, allocations: 1.211 MB / 0.5327 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/0.4924, allocations: 2.531 MB / 0.5352 GB, free: 15.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/0.4924, allocations: 3.375 kB / 0.5352 GB, free: 15.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003201/0.4956, allocations: 2.147 MB / 0.5373 GB, free: 13.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002867/0.4959, allocations: 331.7 kB / 0.5376 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.4959, allocations: 11.41 kB / 0.5376 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.507e-05/0.496, allocations: 16.16 kB / 0.5376 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.4964, allocations: 125.7 kB / 0.5377 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.167e-05/0.4964, allocations: 21.56 kB / 0.5377 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/0.497, allocations: 134.5 kB / 0.5379 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.4971, allocations: 53.39 kB / 0.5379 GB, free: 13.46 MB / 398.1 MB Warning: Assuming fixed start value for the following 25 variables: 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 P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($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,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[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.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.firingTime,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.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,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 119 * 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.001144/0.4983, allocations: 0.7555 MB / 0.5387 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.4984, allocations: 75.67 kB / 0.5387 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/0.502, allocations: 2.322 MB / 0.541 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.502, allocations: 6.297 kB / 0.541 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.502, allocations: 0 / 0.541 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.502, allocations: 7.203 kB / 0.541 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004266/0.5063, allocations: 2.939 MB / 0.5439 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5063, allocations: 0 / 0.5439 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.5064, allocations: 29.81 kB / 0.5439 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5064, allocations: 1.125 kB / 0.5439 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.704e-05/0.5065, allocations: 39.47 kB / 0.544 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.5065, allocations: 1.875 kB / 0.544 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5065, allocations: 4.625 kB / 0.544 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003787/0.5103, allocations: 2.785 MB / 0.5467 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.5104, allocations: 58.11 kB / 0.5467 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.5106, allocations: 76.38 kB / 0.5468 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/0.5111, allocations: 68.5 kB / 0.5469 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000538/0.5116, allocations: 340.9 kB / 0.5472 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.5117, allocations: 42.05 kB / 0.5472 GB, free: 8.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.512, allocations: 249.5 kB / 0.5475 GB, free: 8.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.512, allocations: 4 kB / 0.5475 GB, free: 8.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001178/0.5132, allocations: 341.5 kB / 0.5478 GB, free: 8.426 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 66 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$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.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,T1.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 22 * 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.004848/0.5181, allocations: 3.588 MB / 0.5513 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00334/0.5214, allocations: 2.605 MB / 0.5539 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5214, allocations: 3.875 kB / 0.5539 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.5232, allocations: 1.581 MB / 0.5554 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.5238, allocations: 103.2 kB / 0.5555 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.5364, allocations: 9.484 MB / 0.5648 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.5368, allocations: 318.8 kB / 0.5651 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004085/0.5372, allocations: 147.2 kB / 0.5652 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.5375, allocations: 191.4 kB / 0.5654 GB, free: 10.16 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5375, allocations: 0 / 0.5654 GB, free: 10.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05424/0.5918, allocations: 19.36 MB / 0.5843 GB, free: 6.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.6, allocations: 3.984 kB / 0.5843 GB, free: 6.98 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.PDtoTT_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_PDtoTT.fmu > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTT.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.PDtoTT_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.PDtoTT_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.504796676337719]