Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.00186/0.00186, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002347/0.002347, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.785 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.08493/0.08493, allocations: 16.94 MB / 329.4 MB, free: 2.051 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.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",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.00212/0.00212, allocations: 71.89 kB / 459.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09849, allocations: 57.63 MB / 0.5052 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.003116/0.1016, allocations: 1.726 MB / 0.5069 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.1051, allocations: 1.855 MB / 0.5087 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.1053, allocations: 7.938 kB / 0.5087 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.1057, allocations: 115.1 kB / 0.5088 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.106, allocations: 131.1 kB / 0.5089 GB, free: 4.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.1079, allocations: 0.9464 MB / 0.5099 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.1095, allocations: 1.338 MB / 0.5112 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.1096, allocations: 60.3 kB / 0.5112 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006429/0.1103, allocations: 0.5454 MB / 0.5118 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004954/0.1108, allocations: 322.4 kB / 0.5121 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.1109, allocations: 72 kB / 0.5121 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009716/0.1119, allocations: 0.5928 MB / 0.5127 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.112, allocations: 135.4 kB / 0.5128 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.1124, allocations: 282.7 kB / 0.5131 GB, free: 256 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1888/0.3012, allocations: 1.051 MB / 0.5141 GB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3012, allocations: 3.656 kB / 0.5141 GB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3012, allocations: 0 / 0.5141 GB, free: 11.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.3012, allocations: 0.75 kB / 0.5141 GB, free: 11.13 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001361/0.3026, allocations: 1.142 MB / 0.5153 GB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3026, allocations: 8.688 kB / 0.5153 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.3027, allocations: 111.8 kB / 0.5154 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/0.303, allocations: 85.36 kB / 0.5155 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.3035, allocations: 353.5 kB / 0.5158 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.311e-05/0.3036, allocations: 104.9 kB / 0.5159 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.3037, allocations: 69.75 kB / 0.516 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.3054, allocations: 1.548 MB / 0.5175 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3054, allocations: 2.844 kB / 0.5175 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-05/0.3055, allocations: 33.14 kB / 0.5175 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.356e-05/0.3056, allocations: 45 kB / 0.5175 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.3069, allocations: 1.06 MB / 0.5186 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.3097, allocations: 2.723 MB / 0.5212 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.3109, allocations: 0.9234 MB / 0.5221 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008701/0.3117, allocations: 0.8019 MB / 0.5229 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.3118, allocations: 7.516 kB / 0.5229 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.3131, allocations: 1.148 MB / 0.5241 GB, free: 6.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.284e-06/0.3131, allocations: 0.5 kB / 0.5241 GB, free: 6.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003531/0.3166, allocations: 2.964 MB / 0.5269 GB, free: 4.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001849/0.3168, allocations: 0.5115 MB / 0.5274 GB, free: 4.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.3172, allocations: 379.3 kB / 0.5278 GB, free: 3.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/0.3173, allocations: 64.55 kB / 0.5279 GB, free: 3.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.3174, allocations: 241.3 kB / 0.5281 GB, free: 3.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3175, allocations: 194.3 kB / 0.5283 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.3178, allocations: 200.8 kB / 0.5285 GB, free: 3.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.3179, allocations: 372.2 kB / 0.5288 GB, free: 3.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005611/0.3184, allocations: 0.5972 MB / 0.5294 GB, free: 2.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006922/0.3191, allocations: 1.012 MB / 0.5304 GB, free: 1.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/0.321, allocations: 2.054 MB / 0.5324 GB, free: 196 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.321, allocations: 6 kB / 0.5324 GB, free: 196 kB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002307/0.3233, allocations: 1.786 MB / 0.5342 GB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002288/0.3236, allocations: 306.6 kB / 0.5345 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.3236, allocations: 11.39 kB / 0.5345 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.3236, allocations: 20.06 kB / 0.5345 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.324, allocations: 111.3 kB / 0.5346 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.324, allocations: 24.7 kB / 0.5346 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.3244, allocations: 111.8 kB / 0.5347 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.222e-05/0.3245, allocations: 49.66 kB / 0.5348 GB, free: 14.73 MB / 398.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: 46 * Number of states: 0 () * Number of discrete variables: 118 ($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,T1.activation.disPlaceOut[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableIn.arcWeight[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 (122): * Single equations (assignments): 112 * 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.0009636/0.3255, allocations: 0.6962 MB / 0.5354 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.3256, allocations: 72.27 kB / 0.5355 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/0.3286, allocations: 1.974 MB / 0.5374 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3286, allocations: 8.344 kB / 0.5375 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3286, allocations: 4.031 kB / 0.5375 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.3286, allocations: 6.094 kB / 0.5375 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004445/0.3331, allocations: 2.739 MB / 0.5401 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3331, allocations: 4 kB / 0.5401 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.3332, allocations: 32.33 kB / 0.5402 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3332, allocations: 2.125 kB / 0.5402 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.545e-05/0.3333, allocations: 40.31 kB / 0.5402 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.3333, allocations: 3.016 kB / 0.5402 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3333, allocations: 0 / 0.5402 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/0.3367, allocations: 2.498 MB / 0.5427 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/0.3368, allocations: 48.33 kB / 0.5427 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.337, allocations: 73.91 kB / 0.5428 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.3374, allocations: 53.78 kB / 0.5428 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.3376, allocations: 86.78 kB / 0.5429 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.531e-05/0.3377, allocations: 44.08 kB / 0.5429 GB, free: 10.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002625/0.3379, allocations: 223 kB / 0.5432 GB, free: 10.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3379, allocations: 0 / 0.5432 GB, free: 10.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001145/0.3391, allocations: 305 kB / 0.5434 GB, free: 10.14 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: 67 ($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,T1.active,$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.arcWeight[1],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.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.arcWeightIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 48 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T1.activation.active,T1.delayPassed,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): 25 * 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.00479/0.3439, allocations: 3.316 MB / 0.5467 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003051/0.3469, allocations: 2.301 MB / 0.5489 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3469, allocations: 0 / 0.5489 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.3486, allocations: 1.43 MB / 0.5503 GB, free: 5.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.3492, allocations: 106.9 kB / 0.5504 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.3599, allocations: 8.556 MB / 0.5588 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.3602, allocations: 301 kB / 0.5591 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003246/0.3605, allocations: 128.3 kB / 0.5592 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.3608, allocations: 175 kB / 0.5594 GB, free: 15.36 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3608, allocations: 0 / 0.5594 GB, free: 15.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04861/0.4094, allocations: 16.7 MB / 0.5757 GB, free: 15.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.42, allocations: 13.73 kB / 0.5757 GB, free: 15.71 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_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_TDtoPDfunction.fmu > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TDtoPDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.221421658992767]