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.001803/0.001803, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.002292/0.002292, allocations: 212 kB / 19.43 MB, free: 3.637 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.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.08354/0.08354, allocations: 16.96 MB / 325.8 MB, free: 3.496 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-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.003083/0.003083, allocations: 79.86 kB / 454.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1363, allocations: 57.58 MB / 0.5002 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003293/0.1395, allocations: 1.87 MB / 0.502 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.1436, allocations: 1.975 MB / 0.5039 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003312/0.1439, allocations: 7.938 kB / 0.504 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.1443, allocations: 115.1 kB / 0.5041 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004313/0.1447, allocations: 139 kB / 0.5042 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.1469, allocations: 0.9075 MB / 0.5051 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00184/0.1487, allocations: 1.318 MB / 0.5064 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.1489, allocations: 97.89 kB / 0.5065 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007462/0.1497, allocations: 0.5415 MB / 0.507 GB, free: 4.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005712/0.1503, allocations: 374.2 kB / 0.5073 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.1504, allocations: 88 kB / 0.5074 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008654/0.1513, allocations: 0.5384 MB / 0.508 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.1515, allocations: 155.3 kB / 0.5081 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004392/0.1519, allocations: 390.3 kB / 0.5085 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.1534, allocations: 1.188 MB / 0.5096 GB, free: 1.316 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1534, allocations: 0 / 0.5096 GB, free: 1.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1534, allocations: 0 / 0.5096 GB, free: 1.316 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1534, allocations: 0 / 0.5096 GB, free: 1.316 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.2265/0.3799, allocations: 1.292 MB / 0.5109 GB, free: 16.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.38, allocations: 9.312 kB / 0.5109 GB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.3802, allocations: 119.1 kB / 0.511 GB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003693/0.3806, allocations: 94.28 kB / 0.5111 GB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.3812, allocations: 435.6 kB / 0.5115 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.3813, allocations: 80.91 kB / 0.5116 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.3814, allocations: 79.06 kB / 0.5117 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.3832, allocations: 1.319 MB / 0.513 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.3832, allocations: 4.75 kB / 0.513 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.3834, allocations: 41.55 kB / 0.513 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-05/0.3835, allocations: 58.67 kB / 0.5131 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.3848, allocations: 0.8793 MB / 0.5139 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.3882, allocations: 3.308 MB / 0.5172 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.3893, allocations: 0.7322 MB / 0.5179 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008454/0.3901, allocations: 0.5572 MB / 0.5184 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.02e-05/0.3902, allocations: 83.7 kB / 0.5185 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/0.3915, allocations: 0.8978 MB / 0.5194 GB, free: 12.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.294e-06/0.3915, allocations: 2.688 kB / 0.5194 GB, free: 12.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.003771/0.3953, allocations: 2.533 MB / 0.5218 GB, free: 11.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002382/0.3955, allocations: 0.5619 MB / 0.5224 GB, free: 11.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.396, allocations: 420.5 kB / 0.5228 GB, free: 11.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-05/0.3961, allocations: 73.14 kB / 0.5229 GB, free: 10.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.3962, allocations: 259 kB / 0.5231 GB, free: 10.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.3964, allocations: 201.2 kB / 0.5233 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/0.3967, allocations: 222.5 kB / 0.5235 GB, free: 10.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3968, allocations: 377.6 kB / 0.5239 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006591/0.3975, allocations: 436.5 kB / 0.5243 GB, free: 10.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008292/0.3983, allocations: 0.7938 MB / 0.5251 GB, free: 9.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/0.401, allocations: 2.501 MB / 0.5275 GB, free: 7.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.388e-05/0.401, allocations: 5.953 kB / 0.5275 GB, free: 7.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002499/0.4035, allocations: 1.819 MB / 0.5293 GB, free: 6.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.4037, allocations: 339.2 kB / 0.5296 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.4037, allocations: 19 kB / 0.5296 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.395e-05/0.4037, allocations: 15.72 kB / 0.5296 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.4041, allocations: 119.8 kB / 0.5298 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.523e-05/0.4041, allocations: 23.47 kB / 0.5298 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005379/0.4047, allocations: 134.5 kB / 0.5299 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.841e-05/0.4048, allocations: 54.45 kB / 0.53 GB, free: 6.25 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: 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.000919/0.4057, allocations: 0.7476 MB / 0.5307 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.4059, allocations: 79.86 kB / 0.5308 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/0.409, allocations: 1.956 MB / 0.5327 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/0.409, allocations: 6.047 kB / 0.5327 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4091, allocations: 1.312 kB / 0.5327 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.4091, allocations: 1.781 kB / 0.5327 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/0.4128, allocations: 2.746 MB / 0.5354 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.4128, allocations: 1 kB / 0.5354 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.413, allocations: 25.53 kB / 0.5354 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.413, allocations: 3.328 kB / 0.5354 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.4131, allocations: 44.38 kB / 0.5354 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.4131, allocations: 1.375 kB / 0.5354 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4131, allocations: 1.344 kB / 0.5354 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003277/0.4164, allocations: 2.327 MB / 0.5377 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.4165, allocations: 134.1 kB / 0.5378 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/0.4167, allocations: 75.81 kB / 0.5379 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.4172, allocations: 75.39 kB / 0.538 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005176/0.4177, allocations: 324.7 kB / 0.5383 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.4178, allocations: 46.31 kB / 0.5383 GB, free: 2.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000252/0.418, allocations: 249.5 kB / 0.5386 GB, free: 1.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.418, allocations: 1.25 kB / 0.5386 GB, free: 1.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001101/0.4191, allocations: 339.9 kB / 0.5389 GB, free: 1.934 MB / 382.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.004159/0.4233, allocations: 3.145 MB / 0.542 GB, free: 72 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002922/0.4262, allocations: 1.925 MB / 0.5439 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.4262, allocations: 0 / 0.5439 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.4279, allocations: 1.231 MB / 0.5451 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007612/0.4287, allocations: 111.6 kB / 0.5452 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.4413, allocations: 7.794 MB / 0.5528 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007687/0.4421, allocations: 0.9192 MB / 0.5537 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004714/0.4425, allocations: 142 kB / 0.5538 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.4429, allocations: 191.4 kB / 0.554 GB, free: 6.184 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4429, allocations: 0 / 0.554 GB, free: 6.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04838/0.4913, allocations: 17.83 MB / 0.5714 GB, free: 4.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.932/9.423, allocations: 14.69 kB / 0.5714 GB, free: 4.398 MB / 414.1 MB " [Timeout remaining time 650] (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: 12.284679705277085]