Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.001908/0.001908, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002401/0.002401, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.789 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.08481/0.08481, allocations: 16.95 MB / 329.4 MB, free: 2.07 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.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",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.002085/0.002085, allocations: 71.89 kB / 459.7 MB, free: 2.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1069, allocations: 57.64 MB / 0.5052 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.003282/0.1102, allocations: 1.724 MB / 0.5069 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003899/0.1141, allocations: 1.859 MB / 0.5087 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.1143, allocations: 11.94 kB / 0.5087 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.1146, allocations: 111.1 kB / 0.5088 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.115, allocations: 139 kB / 0.5089 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.117, allocations: 0.9476 MB / 0.5099 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001521/0.1186, allocations: 1.349 MB / 0.5112 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.1188, allocations: 69.14 kB / 0.5113 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000624/0.1194, allocations: 0.5455 MB / 0.5118 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005924/0.12, allocations: 362.2 kB / 0.5121 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.1201, allocations: 88 kB / 0.5122 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.1212, allocations: 0.6045 MB / 0.5128 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.1213, allocations: 151.3 kB / 0.513 GB, free: 448 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003816/0.1217, allocations: 338.7 kB / 0.5133 GB, free: 108 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1871/0.3088, allocations: 1.186 MB / 0.5144 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3088, allocations: 4.844 kB / 0.5144 GB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3088, allocations: 2.625 kB / 0.5144 GB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.3088, allocations: 0 / 0.5144 GB, free: 11.12 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001575/0.3104, allocations: 1.207 MB / 0.5156 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.3104, allocations: 12.12 kB / 0.5156 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.3106, allocations: 121.3 kB / 0.5157 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.3109, allocations: 94.05 kB / 0.5158 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005988/0.3115, allocations: 375.8 kB / 0.5162 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.3116, allocations: 112.9 kB / 0.5163 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.3118, allocations: 78.33 kB / 0.5164 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.3137, allocations: 1.791 MB / 0.5181 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.3138, allocations: 4.875 kB / 0.5181 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.3139, allocations: 40.73 kB / 0.5182 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.314, allocations: 53.45 kB / 0.5182 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.3158, allocations: 1.251 MB / 0.5194 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/0.3195, allocations: 3.017 MB / 0.5224 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.3209, allocations: 1.065 MB / 0.5234 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.322, allocations: 0.9371 MB / 0.5243 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.81e-05/0.3221, allocations: 7.875 kB / 0.5244 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001652/0.3237, allocations: 1.319 MB / 0.5256 GB, free: 5.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 3.566e-06/0.3237, allocations: 2.656 kB / 0.5256 GB, free: 5.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.004321/0.3281, allocations: 3.433 MB / 0.529 GB, free: 3.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002224/0.3283, allocations: 0.5309 MB / 0.5295 GB, free: 3.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004745/0.3288, allocations: 423.5 kB / 0.5299 GB, free: 3.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.07e-05/0.3288, allocations: 69.22 kB / 0.53 GB, free: 3.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.329, allocations: 266 kB / 0.5302 GB, free: 2.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.3292, allocations: 202.5 kB / 0.5304 GB, free: 2.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.3295, allocations: 230.1 kB / 0.5307 GB, free: 2.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3296, allocations: 373.8 kB / 0.531 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007624/0.3303, allocations: 0.7534 MB / 0.5317 GB, free: 1.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009851/0.3313, allocations: 1.191 MB / 0.5329 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003214/0.3345, allocations: 2.56 MB / 0.5354 GB, free: 14.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.3345, allocations: 4.031 kB / 0.5354 GB, free: 14.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003198/0.3377, allocations: 2.176 MB / 0.5375 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002572/0.338, allocations: 330.9 kB / 0.5379 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.338, allocations: 11.44 kB / 0.5379 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/0.3381, allocations: 23.3 kB / 0.5379 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.3384, allocations: 122.4 kB / 0.538 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.771e-05/0.3385, allocations: 27.31 kB / 0.538 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/0.339, allocations: 127.3 kB / 0.5381 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.842e-05/0.3391, allocations: 55.41 kB / 0.5382 GB, free: 13.36 MB / 398.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001111/0.3402, allocations: 0.7529 MB / 0.5389 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.3404, allocations: 77.52 kB / 0.539 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.3441, allocations: 2.392 MB / 0.5413 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.3441, allocations: 11.73 kB / 0.5414 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3441, allocations: 5.375 kB / 0.5414 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3441, allocations: 2.391 kB / 0.5414 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005071/0.3492, allocations: 3.234 MB / 0.5445 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3492, allocations: 1.719 kB / 0.5445 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.3493, allocations: 31.05 kB / 0.5446 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.3493, allocations: 3 kB / 0.5446 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.3494, allocations: 38.83 kB / 0.5446 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3494, allocations: 1.094 kB / 0.5446 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3494, allocations: 1.812 kB / 0.5446 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004058/0.3535, allocations: 2.866 MB / 0.5474 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3536, allocations: 58.67 kB / 0.5475 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.3538, allocations: 75.69 kB / 0.5475 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004907/0.3543, allocations: 72.2 kB / 0.5476 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005442/0.3549, allocations: 333.2 kB / 0.5479 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.355, allocations: 51.19 kB / 0.548 GB, free: 8.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002938/0.3553, allocations: 245.7 kB / 0.5482 GB, free: 8.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3553, allocations: 2.625 kB / 0.5482 GB, free: 8.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001235/0.3565, allocations: 341 kB / 0.5485 GB, free: 8.121 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: 69 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005256/0.3618, allocations: 3.675 MB / 0.5521 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003482/0.3652, allocations: 2.629 MB / 0.5547 GB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3652, allocations: 0 / 0.5547 GB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001886/0.3671, allocations: 1.61 MB / 0.5562 GB, free: 2.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006476/0.3678, allocations: 116.9 kB / 0.5564 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.3811, allocations: 9.658 MB / 0.5658 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.3815, allocations: 320.5 kB / 0.5661 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004312/0.3819, allocations: 143.4 kB / 0.5662 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.3822, allocations: 198.6 kB / 0.5664 GB, free: 9.082 MB / 414.1 MB Notification: Performance of SimCode: time 1.693e-06/0.3822, allocations: 0 / 0.5664 GB, free: 9.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05431/0.4365, allocations: 19.5 MB / 0.5855 GB, free: 5.762 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.55, allocations: 3.938 kB / 0.5855 GB, free: 5.758 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_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_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv failed! Error: Could not read variable T1.active in file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv. Warning: Get data of variable T1.active from file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv failed! Error: Could not read variable T1.fire in file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv. Warning: Get data of variable T1.fire from file PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.399491818621755]