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.001889/0.001889, allocations: 110.9 kB / 16.46 MB, free: 6.508 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.002207/0.002207, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.527/1.527, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.08291/0.08291, allocations: 16.95 MB / 325.8 MB, free: 3.523 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.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.002295/0.002295, allocations: 71.88 kB / 454.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.122, allocations: 57.59 MB / 0.5002 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.003282/0.1252, allocations: 1.876 MB / 0.502 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.1289, allocations: 1.971 MB / 0.504 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.1292, allocations: 11.94 kB / 0.504 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.1297, allocations: 123 kB / 0.5041 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.13, allocations: 139.1 kB / 0.5042 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.132, allocations: 0.9086 MB / 0.5051 GB, free: 6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.1336, allocations: 1.314 MB / 0.5064 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.1338, allocations: 95.77 kB / 0.5065 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006462/0.1345, allocations: 0.5299 MB / 0.507 GB, free: 4.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005076/0.135, allocations: 338.3 kB / 0.5073 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.1351, allocations: 72 kB / 0.5074 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008264/0.1359, allocations: 0.5578 MB / 0.5079 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.1361, allocations: 143.3 kB / 0.5081 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003576/0.1365, allocations: 338.4 kB / 0.5084 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.1378, allocations: 1.086 MB / 0.5094 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1378, allocations: 0 / 0.5094 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1378, allocations: 0 / 0.5094 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.1378, allocations: 0 / 0.5094 GB, free: 1.535 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.001894/0.1397, allocations: 1.27 MB / 0.5107 GB, free: 152 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1397, allocations: 8.031 kB / 0.5107 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.1399, allocations: 118.6 kB / 0.5108 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2148/0.3547, allocations: 87.28 kB / 0.5109 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006028/0.3553, allocations: 395.4 kB / 0.5113 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.3554, allocations: 80.72 kB / 0.5113 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.3555, allocations: 65.86 kB / 0.5114 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.3573, allocations: 1.158 MB / 0.5125 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.3573, allocations: 1.969 kB / 0.5125 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/0.3574, allocations: 30.27 kB / 0.5126 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-05/0.3575, allocations: 58.23 kB / 0.5126 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.3586, allocations: 0.7532 MB / 0.5134 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/0.3614, allocations: 3.032 MB / 0.5163 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.3624, allocations: 0.5683 MB / 0.5169 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007266/0.3632, allocations: 487 kB / 0.5173 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.665e-05/0.3632, allocations: 87.8 kB / 0.5174 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/0.3644, allocations: 0.8205 MB / 0.5182 GB, free: 13.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 2.204e-06/0.3644, allocations: 0 / 0.5182 GB, free: 13.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=79): time 0.003321/0.3677, allocations: 2.269 MB / 0.5204 GB, free: 12.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002414/0.368, allocations: 0.6126 MB / 0.521 GB, free: 11.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.3684, allocations: 384.9 kB / 0.5214 GB, free: 11.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/0.3684, allocations: 64.05 kB / 0.5215 GB, free: 11.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3686, allocations: 254.3 kB / 0.5217 GB, free: 11.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.3687, allocations: 207.6 kB / 0.5219 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.369, allocations: 211.4 kB / 0.5221 GB, free: 11.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.521e-05/0.3691, allocations: 377.8 kB / 0.5225 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000518/0.3696, allocations: 324.7 kB / 0.5228 GB, free: 10.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007176/0.3703, allocations: 0.6888 MB / 0.5235 GB, free: 10.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/0.3723, allocations: 2.138 MB / 0.5255 GB, free: 8.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.3723, allocations: 3.562 kB / 0.5255 GB, free: 8.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002099/0.3744, allocations: 1.556 MB / 0.5271 GB, free: 7.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.3746, allocations: 346.7 kB / 0.5274 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.3746, allocations: 10.09 kB / 0.5274 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/0.3746, allocations: 16.78 kB / 0.5274 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.375, allocations: 118.8 kB / 0.5275 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-05/0.375, allocations: 22.56 kB / 0.5276 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.3754, allocations: 114 kB / 0.5277 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/0.3755, allocations: 60.25 kB / 0.5277 GB, free: 7.141 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.0007934/0.3763, allocations: 0.7265 MB / 0.5284 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.3764, allocations: 73.39 kB / 0.5285 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/0.3788, allocations: 1.737 MB / 0.5302 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.3788, allocations: 7.719 kB / 0.5302 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3788, allocations: 0 / 0.5302 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3788, allocations: 4.297 kB / 0.5302 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004218/0.383, allocations: 2.665 MB / 0.5328 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.383, allocations: 0.6562 kB / 0.5328 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.3832, allocations: 29.3 kB / 0.5328 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.3832, allocations: 2.062 kB / 0.5328 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.3833, allocations: 41.83 kB / 0.5329 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.3833, allocations: 5.5 kB / 0.5329 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3833, allocations: 1.203 kB / 0.5329 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.3861, allocations: 2.131 MB / 0.535 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.3861, allocations: 128.4 kB / 0.5351 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.3863, allocations: 73.77 kB / 0.5352 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.3867, allocations: 59 kB / 0.5352 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.3869, allocations: 87.12 kB / 0.5353 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.12e-05/0.387, allocations: 44.53 kB / 0.5353 GB, free: 3.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.3872, allocations: 233.9 kB / 0.5356 GB, free: 3.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3872, allocations: 0 / 0.5356 GB, free: 3.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001145/0.3884, allocations: 321 kB / 0.5359 GB, free: 3.039 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: 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.004063/0.3924, allocations: 2.96 MB / 0.5388 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002352/0.3948, allocations: 1.758 MB / 0.5405 GB, free: 296 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3948, allocations: 1.469 kB / 0.5405 GB, free: 296 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.3963, allocations: 1.173 MB / 0.5416 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000642/0.3969, allocations: 116.5 kB / 0.5417 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.4084, allocations: 7.204 MB / 0.5488 GB, free: 10.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.4089, allocations: 0.9101 MB / 0.5497 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003562/0.4093, allocations: 139.6 kB / 0.5498 GB, free: 9.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.4095, allocations: 174.7 kB / 0.55 GB, free: 9.84 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4095, allocations: 0 / 0.55 GB, free: 9.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04372/0.4532, allocations: 16.02 MB / 0.5656 GB, free: 10.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.938/9.392, allocations: 11.25 kB / 0.5656 GB, free: 10.41 MB / 414.1 MB " [Timeout remaining time 651] (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: 12.26185513380915]