Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.001645/0.001645, 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.001556/0.001556, allocations: 217.7 kB / 22.26 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.996 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.0807/0.0807, allocations: 16.93 MB / 329.4 MB, free: 2.262 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.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TTtoPD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TTtoPD",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.00203/0.00203, allocations: 67.91 kB / 459.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1142, allocations: 57.64 MB / 0.5053 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.003306/0.1175, allocations: 1.885 MB / 0.5071 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004073/0.1215, allocations: 1.972 MB / 0.509 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.1218, allocations: 7.938 kB / 0.5091 GB, free: 4.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.1222, allocations: 115.1 kB / 0.5092 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.1225, allocations: 135.1 kB / 0.5093 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.1246, allocations: 0.9748 MB / 0.5102 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.1262, allocations: 1.342 MB / 0.5116 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.1264, allocations: 64.23 kB / 0.5116 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006359/0.127, allocations: 0.5299 MB / 0.5121 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005215/0.1275, allocations: 354.3 kB / 0.5125 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.1276, allocations: 76 kB / 0.5125 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009954/0.1286, allocations: 0.6358 MB / 0.5132 GB, free: 448 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.1288, allocations: 143.2 kB / 0.5133 GB, free: 304 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1976/0.3264, allocations: 333.4 kB / 0.5136 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.3284, allocations: 1.052 MB / 0.5146 GB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3284, allocations: 0 / 0.5146 GB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3284, allocations: 0 / 0.5146 GB, free: 10.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.3284, allocations: 5.125 kB / 0.5146 GB, free: 10.53 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001585/0.33, allocations: 1.147 MB / 0.5158 GB, free: 9.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3301, allocations: 10.97 kB / 0.5158 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.3302, allocations: 108.5 kB / 0.5159 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002955/0.3305, allocations: 90.91 kB / 0.516 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.331, allocations: 346.8 kB / 0.5163 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.179e-05/0.3311, allocations: 105 kB / 0.5164 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3312, allocations: 67.92 kB / 0.5165 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.3326, allocations: 1.095 MB / 0.5175 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.3326, allocations: 4.266 kB / 0.5175 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.828e-05/0.3327, allocations: 30.14 kB / 0.5176 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.825e-05/0.3327, allocations: 51.69 kB / 0.5176 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.3337, allocations: 0.7134 MB / 0.5183 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.3366, allocations: 2.86 MB / 0.5211 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008917/0.3375, allocations: 0.5438 MB / 0.5216 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006767/0.3382, allocations: 452.2 kB / 0.5221 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.3383, allocations: 8.906 kB / 0.5221 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/0.3394, allocations: 0.7632 MB / 0.5228 GB, free: 7.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 2.175e-06/0.3394, allocations: 0 / 0.5228 GB, free: 7.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=71): time 0.003134/0.3426, allocations: 2.109 MB / 0.5249 GB, free: 6.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002262/0.3428, allocations: 0.5347 MB / 0.5254 GB, free: 6.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000403/0.3432, allocations: 380.5 kB / 0.5258 GB, free: 6.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.305e-05/0.3433, allocations: 63.05 kB / 0.5258 GB, free: 6.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.3434, allocations: 246.8 kB / 0.5261 GB, free: 5.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.3436, allocations: 191.9 kB / 0.5262 GB, free: 5.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.3438, allocations: 196.1 kB / 0.5264 GB, free: 5.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.3439, allocations: 371.5 kB / 0.5268 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.3444, allocations: 295.3 kB / 0.5271 GB, free: 5.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.3449, allocations: 0.6198 MB / 0.5277 GB, free: 4.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.3468, allocations: 1.995 MB / 0.5296 GB, free: 3.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.3468, allocations: 5.062 kB / 0.5296 GB, free: 3.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001746/0.3486, allocations: 1.433 MB / 0.531 GB, free: 2.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.3487, allocations: 315.5 kB / 0.5313 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.3487, allocations: 13.62 kB / 0.5313 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/0.3488, allocations: 15.5 kB / 0.5314 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.3491, allocations: 109.2 kB / 0.5315 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/0.3491, allocations: 30.41 kB / 0.5315 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.3495, allocations: 107.2 kB / 0.5316 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/0.3496, allocations: 52.3 kB / 0.5316 GB, free: 1.965 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 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.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 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: 45 * Number of states: 0 () * Number of discrete variables: 115 ($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,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,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,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],T1.enabledByInPlaces,P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.firingTime,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,$whenCondition3,$whenCondition4,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 108 * Array equations: 0 * 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.0008853/0.3505, allocations: 0.6888 MB / 0.5323 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.3506, allocations: 71.48 kB / 0.5324 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.353, allocations: 1.598 MB / 0.5339 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.353, allocations: 7.781 kB / 0.534 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.353, allocations: 4.844 kB / 0.534 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.353, allocations: 2.156 kB / 0.534 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.3562, allocations: 2.29 MB / 0.5362 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3562, allocations: 1.891 kB / 0.5362 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.3563, allocations: 29.59 kB / 0.5362 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3563, allocations: 1.156 kB / 0.5362 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.532e-05/0.3564, allocations: 41.75 kB / 0.5363 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.3564, allocations: 5.031 kB / 0.5363 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3564, allocations: 5.125 kB / 0.5363 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003033/0.3595, allocations: 2 MB / 0.5382 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.3596, allocations: 49.06 kB / 0.5383 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.3597, allocations: 73.61 kB / 0.5383 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.3601, allocations: 53.38 kB / 0.5384 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.3603, allocations: 82.91 kB / 0.5385 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.048e-05/0.3604, allocations: 43.44 kB / 0.5385 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002617/0.3607, allocations: 231.8 kB / 0.5387 GB, free: 14.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3607, allocations: 0 / 0.5387 GB, free: 14.4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001072/0.3617, allocations: 306.8 kB / 0.539 GB, free: 14.34 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: 64 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,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,T1.firingTime,T1.fireTime,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 47 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,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 (33): * Single equations (assignments): 21 * Array equations: 0 * 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.004174/0.3659, allocations: 2.809 MB / 0.5418 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.3685, allocations: 1.627 MB / 0.5434 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.3685, allocations: 1.344 kB / 0.5434 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.3698, allocations: 1.075 MB / 0.5444 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.3704, allocations: 109 kB / 0.5445 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.381, allocations: 6.705 MB / 0.5511 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007552/0.3817, allocations: 0.8891 MB / 0.5519 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004742/0.3822, allocations: 133.8 kB / 0.5521 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.3825, allocations: 171.7 kB / 0.5522 GB, free: 6.16 MB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3825, allocations: 0 / 0.5522 GB, free: 6.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04998/0.4325, allocations: 15.94 MB / 0.5678 GB, free: 8.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.08, allocations: 8 kB / 0.5678 GB, free: 8.988 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TTtoPD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TTtoPD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TTtoPD.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TTtoPD_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_TTtoPD.fmu > PNlib_PNlib.Examples.DisTest.TTtoPD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TTtoPD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TTtoPD.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.TTtoPD_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.TTtoPD_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.048502123005164]