Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.001337/0.001337, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.0023/0.0023, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 8 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.08626/0.08626, allocations: 16.95 MB / 329.4 MB, free: 2.266 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.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",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.002041/0.002041, allocations: 63.91 kB / 459.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1165, allocations: 57.64 MB / 0.5053 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003165/0.1197, allocations: 1.874 MB / 0.5071 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.1233, allocations: 1.948 MB / 0.509 GB, free: 4.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.1235, allocations: 11.94 kB / 0.509 GB, free: 4.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.1238, allocations: 115.1 kB / 0.5091 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.1242, allocations: 135 kB / 0.5093 GB, free: 4.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.1262, allocations: 0.9554 MB / 0.5102 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.1277, allocations: 1.361 MB / 0.5115 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.1279, allocations: 69.12 kB / 0.5116 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006653/0.1286, allocations: 0.5493 MB / 0.5121 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000584/0.1292, allocations: 390.2 kB / 0.5125 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.1293, allocations: 88 kB / 0.5126 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.1304, allocations: 0.6553 MB / 0.5132 GB, free: 400 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.1306, allocations: 155.3 kB / 0.5134 GB, free: 244 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2393/0.3699, allocations: 383.4 kB / 0.5137 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.3716, allocations: 1.189 MB / 0.5149 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3716, allocations: 0.9375 kB / 0.5149 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3716, allocations: 0 / 0.5149 GB, free: 11.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.3716, allocations: 1.344 kB / 0.5149 GB, free: 11.02 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001476/0.3731, allocations: 1.224 MB / 0.5161 GB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3731, allocations: 9.5 kB / 0.5161 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.3733, allocations: 122.7 kB / 0.5162 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.3736, allocations: 96.11 kB / 0.5163 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.3741, allocations: 372 kB / 0.5167 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.3742, allocations: 113.9 kB / 0.5168 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.3743, allocations: 79.23 kB / 0.5168 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.376, allocations: 1.326 MB / 0.5181 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.376, allocations: 3 kB / 0.5181 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-05/0.3761, allocations: 34.88 kB / 0.5182 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.654e-05/0.3762, allocations: 55.56 kB / 0.5182 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.3776, allocations: 0.8998 MB / 0.5191 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003971/0.3816, allocations: 3.201 MB / 0.5222 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.3829, allocations: 0.6563 MB / 0.5229 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.384, allocations: 0.5624 MB / 0.5234 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.853e-05/0.384, allocations: 10.89 kB / 0.5234 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/0.3855, allocations: 0.8926 MB / 0.5243 GB, free: 7.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.234e-06/0.3855, allocations: 4 kB / 0.5243 GB, free: 7.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.004006/0.3895, allocations: 2.545 MB / 0.5268 GB, free: 6.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003324/0.3898, allocations: 0.5581 MB / 0.5273 GB, free: 5.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/0.3904, allocations: 421 kB / 0.5277 GB, free: 5.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.845e-05/0.3905, allocations: 66.45 kB / 0.5278 GB, free: 5.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.3907, allocations: 276.2 kB / 0.5281 GB, free: 5.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.3909, allocations: 200.7 kB / 0.5283 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.3912, allocations: 240.6 kB / 0.5285 GB, free: 4.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3914, allocations: 374.2 kB / 0.5289 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008028/0.3922, allocations: 441.4 kB / 0.5293 GB, free: 4.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009231/0.3931, allocations: 0.8103 MB / 0.5301 GB, free: 3.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/0.396, allocations: 2.533 MB / 0.5325 GB, free: 2.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.396, allocations: 2.469 kB / 0.5325 GB, free: 2.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002743/0.3987, allocations: 1.846 MB / 0.5343 GB, free: 1.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001742/0.3989, allocations: 339.6 kB / 0.5347 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/0.3989, allocations: 13.22 kB / 0.5347 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.784e-05/0.399, allocations: 17.75 kB / 0.5347 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.3994, allocations: 125.8 kB / 0.5348 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.042e-05/0.3994, allocations: 23.48 kB / 0.5348 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006097/0.4, allocations: 138 kB / 0.535 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.4001, allocations: 62.67 kB / 0.535 GB, free: 0.7617 MB / 382.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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.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.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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 (135): * Single equations (assignments): 124 * 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.0009717/0.4011, allocations: 0.7547 MB / 0.5358 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.4012, allocations: 76.75 kB / 0.5358 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003536/0.4048, allocations: 1.974 MB / 0.5378 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.4048, allocations: 5.594 kB / 0.5378 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4048, allocations: 1.031 kB / 0.5378 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.4048, allocations: 3.844 kB / 0.5378 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004716/0.4095, allocations: 2.957 MB / 0.5407 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.4095, allocations: 0 / 0.5407 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.4096, allocations: 21.92 kB / 0.5407 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4096, allocations: 2.375 kB / 0.5407 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.4098, allocations: 40.61 kB / 0.5407 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.4098, allocations: 2.219 kB / 0.5407 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.4098, allocations: 5.031 kB / 0.5407 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/0.4133, allocations: 2.338 MB / 0.543 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.562e-05/0.4134, allocations: 52.7 kB / 0.5431 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.4136, allocations: 78.05 kB / 0.5431 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.4141, allocations: 73.14 kB / 0.5432 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005385/0.4146, allocations: 334.5 kB / 0.5435 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.4147, allocations: 49.02 kB / 0.5436 GB, free: 12.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000306/0.415, allocations: 250.4 kB / 0.5438 GB, free: 12.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.415, allocations: 0 / 0.5438 GB, free: 12.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001288/0.4163, allocations: 344.3 kB / 0.5441 GB, free: 12.55 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: 68 ($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,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,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.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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 (37): * Single equations (assignments): 24 * 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.004801/0.4211, allocations: 3.15 MB / 0.5472 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003231/0.4243, allocations: 1.934 MB / 0.5491 GB, free: 9.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4243, allocations: 0 / 0.5491 GB, free: 9.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.4262, allocations: 1.234 MB / 0.5503 GB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007448/0.4269, allocations: 110.5 kB / 0.5504 GB, free: 8.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.4389, allocations: 7.89 MB / 0.5581 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/0.4396, allocations: 0.9154 MB / 0.559 GB, free: 2.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004287/0.44, allocations: 141.5 kB / 0.5592 GB, free: 1.895 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.4403, allocations: 191.4 kB / 0.5593 GB, free: 1.707 MB / 398.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4403, allocations: 4 kB / 0.5593 GB, free: 1.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0899/0.5302, allocations: 18.79 MB / 0.5777 GB, free: 15.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.91, allocations: 7.5 kB / 0.5777 GB, free: 15.02 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.PDtoTD_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_PDtoTD.fmu > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD.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.PDtoTD_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.355630160003784]