Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.001296/0.001296, 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.001515/0.001515, 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 8.027 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.07992/0.07992, allocations: 16.94 MB / 329.4 MB, free: 2.273 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.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",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.89 kB / 459.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1166, allocations: 57.64 MB / 0.5053 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.003317/0.1199, allocations: 1.87 MB / 0.5071 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003856/0.1238, allocations: 1.94 MB / 0.509 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.124, allocations: 11.94 kB / 0.509 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.1244, allocations: 115.1 kB / 0.5091 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003964/0.1248, allocations: 135 kB / 0.5093 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.1268, allocations: 0.9632 MB / 0.5102 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.1284, allocations: 1.361 MB / 0.5115 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1286, allocations: 66.83 kB / 0.5116 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006594/0.1293, allocations: 0.5571 MB / 0.5121 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005621/0.1298, allocations: 386.2 kB / 0.5125 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.13, allocations: 88 kB / 0.5126 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009955/0.1309, allocations: 0.6514 MB / 0.5132 GB, free: 428 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.1311, allocations: 155.3 kB / 0.5134 GB, free: 272 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2226/0.3537, allocations: 391.5 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.3558, allocations: 1.191 MB / 0.5149 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3558, allocations: 0 / 0.5149 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3558, allocations: 0 / 0.5149 GB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.3558, allocations: 1.156 kB / 0.5149 GB, free: 10.98 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.001814/0.3576, allocations: 1.22 MB / 0.5161 GB, free: 10.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.3576, allocations: 10.28 kB / 0.5161 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.3578, allocations: 123.7 kB / 0.5162 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003441/0.3582, allocations: 93.7 kB / 0.5163 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.3588, allocations: 377.5 kB / 0.5167 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.3589, allocations: 112.7 kB / 0.5168 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.359, allocations: 76.92 kB / 0.5169 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.3609, allocations: 1.326 MB / 0.5181 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.361, allocations: 1.375 kB / 0.5181 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.382e-05/0.3611, allocations: 44.08 kB / 0.5182 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.892e-05/0.3612, allocations: 49.78 kB / 0.5182 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.3628, allocations: 0.9157 MB / 0.5191 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.3666, allocations: 3.204 MB / 0.5223 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.3681, allocations: 0.7241 MB / 0.523 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.3693, allocations: 0.5922 MB / 0.5235 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.3693, allocations: 7.672 kB / 0.5236 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001755/0.3711, allocations: 0.926 MB / 0.5245 GB, free: 7.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.705e-06/0.3711, allocations: 0 / 0.5245 GB, free: 7.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.004304/0.3754, allocations: 2.626 MB / 0.527 GB, free: 6.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003842/0.3758, allocations: 0.5324 MB / 0.5275 GB, free: 5.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007164/0.3765, allocations: 413.2 kB / 0.5279 GB, free: 5.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.3766, allocations: 66.97 kB / 0.528 GB, free: 5.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.3769, allocations: 268.6 kB / 0.5283 GB, free: 5.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.3771, allocations: 198.4 kB / 0.5284 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003904/0.3775, allocations: 230.9 kB / 0.5287 GB, free: 4.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3776, allocations: 377.9 kB / 0.529 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000736/0.3784, allocations: 444.1 kB / 0.5295 GB, free: 4.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008887/0.3793, allocations: 0.8081 MB / 0.5302 GB, free: 3.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002666/0.3819, allocations: 2.545 MB / 0.5327 GB, free: 2.008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/0.3819, allocations: 3.469 kB / 0.5327 GB, free: 2.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002575/0.3845, allocations: 1.841 MB / 0.5345 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.3847, allocations: 335.2 kB / 0.5348 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.3847, allocations: 11.09 kB / 0.5349 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.538e-05/0.3847, allocations: 18.78 kB / 0.5349 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.3851, allocations: 122.2 kB / 0.535 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.844e-05/0.3851, allocations: 26.95 kB / 0.535 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.3857, allocations: 132.4 kB / 0.5351 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.3858, allocations: 59.06 kB / 0.5352 GB, free: 0.75 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: 51 * 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.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.enableOut.arcWeight[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 (134): * Single equations (assignments): 123 * 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.0009894/0.3868, allocations: 0.7494 MB / 0.5359 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.3869, allocations: 76.39 kB / 0.536 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/0.3903, allocations: 2.047 MB / 0.538 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.3904, allocations: 6.703 kB / 0.538 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3904, allocations: 0.7031 kB / 0.538 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3904, allocations: 2.906 kB / 0.538 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004654/0.395, allocations: 3.02 MB / 0.541 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.395, allocations: 1.188 kB / 0.541 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.3952, allocations: 30.92 kB / 0.541 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.3952, allocations: 1.188 kB / 0.541 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.943e-05/0.3953, allocations: 44.66 kB / 0.541 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3953, allocations: 2.953 kB / 0.541 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3953, allocations: 1.312 kB / 0.541 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003538/0.3988, allocations: 2.4 MB / 0.5434 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3989, allocations: 57.12 kB / 0.5434 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.3992, allocations: 78.67 kB / 0.5435 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.3996, allocations: 73.41 kB / 0.5436 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005468/0.4002, allocations: 338.1 kB / 0.5439 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.4003, allocations: 48.59 kB / 0.544 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003016/0.4006, allocations: 242.7 kB / 0.5442 GB, free: 12.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4006, allocations: 0 / 0.5442 GB, free: 12.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001217/0.4018, allocations: 340.8 kB / 0.5445 GB, free: 12.47 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: 69 ($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.arcWeight[1],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 (39): * Single equations (assignments): 26 * 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.004913/0.4067, allocations: 3.217 MB / 0.5477 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002932/0.4097, allocations: 1.95 MB / 0.5496 GB, free: 9.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4097, allocations: 5.219 kB / 0.5496 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001639/0.4113, allocations: 1.268 MB / 0.5508 GB, free: 8.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.412, allocations: 116.6 kB / 0.5509 GB, free: 8.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.424, allocations: 7.971 MB / 0.5587 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.4246, allocations: 0.9154 MB / 0.5596 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003824/0.425, allocations: 149.3 kB / 0.5597 GB, free: 1.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.4253, allocations: 187.4 kB / 0.5599 GB, free: 1.172 MB / 398.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4253, allocations: 0 / 0.5599 GB, free: 1.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05383/0.4791, allocations: 18.83 MB / 0.5783 GB, free: 14.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.95, allocations: 7.938 kB / 0.5783 GB, free: 14.45 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.201249593003013]