Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TEnoInput.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.001354/0.001354, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001617/0.001617, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.961 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.08196/0.08196, allocations: 16.94 MB / 329.4 MB, free: 2.23 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.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",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.002019/0.002019, allocations: 59.91 kB / 459.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1164, allocations: 57.64 MB / 0.5053 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.003257/0.1197, allocations: 1.883 MB / 0.5071 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004009/0.1237, allocations: 1.987 MB / 0.5091 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.124, allocations: 7.938 kB / 0.5091 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.1245, allocations: 123 kB / 0.5092 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.1249, allocations: 139.1 kB / 0.5093 GB, free: 4.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.127, allocations: 0.971 MB / 0.5103 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.1287, allocations: 1.357 MB / 0.5116 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.1289, allocations: 56.31 kB / 0.5116 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006019/0.1295, allocations: 0.5494 MB / 0.5122 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005032/0.13, allocations: 354.3 kB / 0.5125 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.1301, allocations: 75.94 kB / 0.5126 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.1312, allocations: 0.6747 MB / 0.5132 GB, free: 352 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.1314, allocations: 143.3 kB / 0.5134 GB, free: 208 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.226/0.3573, allocations: 335.8 kB / 0.5137 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.3589, allocations: 1.09 MB / 0.5148 GB, free: 10.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3589, allocations: 1.406 kB / 0.5148 GB, free: 10.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3589, allocations: 0 / 0.5148 GB, free: 10.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.359, allocations: 0.875 kB / 0.5148 GB, free: 10.65 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001552/0.3605, allocations: 1.187 MB / 0.5159 GB, free: 9.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.3606, allocations: 10.97 kB / 0.5159 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.3607, allocations: 121.8 kB / 0.5161 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003146/0.361, allocations: 92.12 kB / 0.5161 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.3616, allocations: 348.7 kB / 0.5165 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.814e-05/0.3617, allocations: 107.5 kB / 0.5166 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.3618, allocations: 71.47 kB / 0.5167 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.3634, allocations: 1.144 MB / 0.5178 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.3634, allocations: 6.656 kB / 0.5178 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.785e-05/0.3635, allocations: 32.23 kB / 0.5178 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.3636, allocations: 52.67 kB / 0.5179 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.365, allocations: 0.7551 MB / 0.5186 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.3686, allocations: 2.914 MB / 0.5214 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.3696, allocations: 0.5738 MB / 0.522 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000812/0.3704, allocations: 489.6 kB / 0.5225 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.397e-05/0.3705, allocations: 5.5 kB / 0.5225 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.3718, allocations: 0.8293 MB / 0.5233 GB, free: 7.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 2.785e-06/0.3718, allocations: 2.844 kB / 0.5233 GB, free: 7.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=79): time 0.003483/0.3753, allocations: 2.26 MB / 0.5255 GB, free: 6.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002225/0.3755, allocations: 0.6162 MB / 0.5261 GB, free: 5.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/0.3759, allocations: 389.1 kB / 0.5265 GB, free: 5.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.799e-05/0.376, allocations: 63.36 kB / 0.5265 GB, free: 5.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.3762, allocations: 251.4 kB / 0.5268 GB, free: 5.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.3763, allocations: 210.5 kB / 0.527 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.3766, allocations: 213.7 kB / 0.5272 GB, free: 5.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3767, allocations: 374.5 kB / 0.5275 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005099/0.3772, allocations: 326.1 kB / 0.5278 GB, free: 4.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.3779, allocations: 0.6844 MB / 0.5285 GB, free: 4.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.38, allocations: 2.132 MB / 0.5306 GB, free: 2.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.38, allocations: 3.344 kB / 0.5306 GB, free: 2.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002025/0.382, allocations: 1.567 MB / 0.5321 GB, free: 1.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.3822, allocations: 342.1 kB / 0.5324 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.3822, allocations: 10.25 kB / 0.5325 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/0.3822, allocations: 16.81 kB / 0.5325 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.3826, allocations: 117.8 kB / 0.5326 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.804e-05/0.3826, allocations: 28.77 kB / 0.5326 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.3831, allocations: 117.1 kB / 0.5327 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.31e-05/0.3832, allocations: 51.3 kB / 0.5328 GB, free: 1.207 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T2.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T2.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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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 T2.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: 49 * Number of states: 0 () * Number of discrete variables: 121 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition8,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition6,$whenCondition7,T2.eventIndex,$PRE.T2.eventIndex,$whenCondition3,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,T2.firingCon,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T2.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T2.enabledByInPlaces,P1.enableIn.arcWeight[1],T2.activation.disPlaceOut[1],T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.arcWeightIntOut[1],T2.activation.tIntOut[1],T2.eventPassed,$PRE.T2.eventPassed,T2.firingTime,T2.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition4,$whenCondition5,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 11 * 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.0009905/0.3842, allocations: 0.7378 MB / 0.5335 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.3844, allocations: 78.02 kB / 0.5336 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/0.3874, allocations: 1.742 MB / 0.5353 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.3874, allocations: 10.08 kB / 0.5353 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3874, allocations: 5.25 kB / 0.5353 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.3874, allocations: 1.734 kB / 0.5353 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004848/0.3923, allocations: 2.633 MB / 0.5379 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.3923, allocations: 0 / 0.5379 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.3924, allocations: 32.77 kB / 0.5379 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3924, allocations: 7.938 kB / 0.5379 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-05/0.3925, allocations: 37.02 kB / 0.5379 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3925, allocations: 2.656 kB / 0.5379 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3925, allocations: 4.688 kB / 0.5379 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003206/0.3957, allocations: 2.128 MB / 0.54 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.589e-05/0.3958, allocations: 55.28 kB / 0.5401 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.396, allocations: 71.45 kB / 0.5401 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.3964, allocations: 53.97 kB / 0.5402 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.3966, allocations: 92.47 kB / 0.5403 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.604e-05/0.3967, allocations: 46.03 kB / 0.5403 GB, free: 13.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002974/0.397, allocations: 233.6 kB / 0.5405 GB, free: 13.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.397, allocations: 0 / 0.5405 GB, free: 13.4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00128/0.3982, allocations: 319.9 kB / 0.5408 GB, free: 13.35 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.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 9 * 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.004286/0.4025, allocations: 2.953 MB / 0.5437 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002483/0.405, allocations: 1.761 MB / 0.5455 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.405, allocations: 1.062 kB / 0.5455 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.4064, allocations: 1.172 MB / 0.5466 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006664/0.4071, allocations: 102.6 kB / 0.5467 GB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.4179, allocations: 7.204 MB / 0.5537 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.4185, allocations: 0.9104 MB / 0.5546 GB, free: 4.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000378/0.4189, allocations: 133.3 kB / 0.5547 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.4191, allocations: 179.9 kB / 0.5549 GB, free: 4.621 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4191, allocations: 0 / 0.5549 GB, free: 4.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05031/0.4694, allocations: 16.83 MB / 0.5714 GB, free: 5.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.27, allocations: 4.062 kB / 0.5714 GB, free: 5.141 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TEnoInput_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_TEnoInput.fmu > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput.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.TEnoInput_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv failed! Error: Could not read variable T2.active in file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv. Warning: Get data of variable T2.active from file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv failed! Error: Could not read variable T2.fire in file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv. Warning: Get data of variable T2.fire from file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.477828037997824]