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.001314/0.001314, 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.00149/0.00149, allocations: 214.2 kB / 22.25 MB, free: 5.258 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.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.812 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.95 MB / 329.4 MB, free: 2.082 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 67.91 kB / 459.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.108, allocations: 57.64 MB / 0.5052 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.003267/0.1113, allocations: 1.729 MB / 0.5069 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00367/0.115, allocations: 1.89 MB / 0.5087 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.1152, allocations: 11.94 kB / 0.5087 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.1157, allocations: 127.1 kB / 0.5089 GB, free: 4.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.116, allocations: 127.1 kB / 0.509 GB, free: 4.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.1179, allocations: 0.9631 MB / 0.5099 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.1194, allocations: 1.346 MB / 0.5112 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.1195, allocations: 68.23 kB / 0.5113 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006637/0.1202, allocations: 0.5416 MB / 0.5118 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005116/0.1207, allocations: 326.4 kB / 0.5122 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.1208, allocations: 72 kB / 0.5122 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.1219, allocations: 0.624 MB / 0.5128 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.1221, allocations: 151.3 kB / 0.513 GB, free: 456 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003311/0.1224, allocations: 278.8 kB / 0.5132 GB, free: 176 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2072/0.3296, allocations: 1.094 MB / 0.5143 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3296, allocations: 0.5938 kB / 0.5143 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3296, allocations: 0 / 0.5143 GB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.3296, allocations: 2.406 kB / 0.5143 GB, free: 11.09 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.001485/0.3311, allocations: 1.177 MB / 0.5155 GB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3311, allocations: 13.47 kB / 0.5155 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.3312, allocations: 115.8 kB / 0.5156 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.3315, allocations: 91.23 kB / 0.5157 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.3321, allocations: 346.6 kB / 0.516 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.3322, allocations: 110.1 kB / 0.5161 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.3323, allocations: 67.73 kB / 0.5162 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.334, allocations: 1.649 MB / 0.5178 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.334, allocations: 3.844 kB / 0.5178 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.3341, allocations: 34.17 kB / 0.5178 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.614e-05/0.3342, allocations: 52.12 kB / 0.5179 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.3355, allocations: 1.102 MB / 0.5189 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003377/0.3389, allocations: 2.747 MB / 0.5216 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.3401, allocations: 0.9176 MB / 0.5225 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009116/0.341, allocations: 0.8266 MB / 0.5233 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/0.3411, allocations: 7.422 kB / 0.5233 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/0.3424, allocations: 1.232 MB / 0.5245 GB, free: 5.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 2.675e-06/0.3425, allocations: 3.562 kB / 0.5245 GB, free: 5.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=79): time 0.003696/0.3461, allocations: 3.078 MB / 0.5275 GB, free: 4.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002138/0.3464, allocations: 0.6135 MB / 0.5281 GB, free: 3.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.3468, allocations: 394.4 kB / 0.5285 GB, free: 3.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.533e-05/0.3469, allocations: 64.25 kB / 0.5286 GB, free: 3.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.347, allocations: 254.3 kB / 0.5288 GB, free: 3.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.3472, allocations: 207.2 kB / 0.529 GB, free: 2.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.3474, allocations: 212.2 kB / 0.5292 GB, free: 2.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.3475, allocations: 375.4 kB / 0.5296 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.3481, allocations: 0.642 MB / 0.5302 GB, free: 2.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000781/0.3489, allocations: 1.134 MB / 0.5313 GB, free: 1.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.3511, allocations: 2.15 MB / 0.5334 GB, free: 15.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.3511, allocations: 3.188 kB / 0.5334 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002553/0.3536, allocations: 1.904 MB / 0.5353 GB, free: 14.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.3539, allocations: 338.8 kB / 0.5356 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.3539, allocations: 11.28 kB / 0.5356 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/0.3539, allocations: 19.25 kB / 0.5356 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.3543, allocations: 116.8 kB / 0.5357 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.974e-05/0.3543, allocations: 27.73 kB / 0.5358 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.3548, allocations: 122.3 kB / 0.5359 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-05/0.3549, allocations: 51.34 kB / 0.5359 GB, free: 13.74 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 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.001004/0.3559, allocations: 0.7417 MB / 0.5367 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.3561, allocations: 73.75 kB / 0.5367 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.3591, allocations: 2.063 MB / 0.5387 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.3592, allocations: 5.281 kB / 0.5387 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.3592, allocations: 5.062 kB / 0.5388 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3592, allocations: 2.906 kB / 0.5388 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004506/0.3637, allocations: 2.843 MB / 0.5415 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3637, allocations: 3.375 kB / 0.5415 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.3638, allocations: 25.42 kB / 0.5416 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.3638, allocations: 6.625 kB / 0.5416 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/0.3639, allocations: 44.52 kB / 0.5416 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3639, allocations: 2.125 kB / 0.5416 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3639, allocations: 0 / 0.5416 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003658/0.3676, allocations: 2.589 MB / 0.5441 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3677, allocations: 51.67 kB / 0.5442 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.3679, allocations: 72.11 kB / 0.5443 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.3683, allocations: 55.16 kB / 0.5443 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.3685, allocations: 91.86 kB / 0.5444 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.942e-05/0.3686, allocations: 44.25 kB / 0.5444 GB, free: 9.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.3689, allocations: 233.7 kB / 0.5447 GB, free: 8.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3689, allocations: 0 / 0.5447 GB, free: 8.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001247/0.3701, allocations: 323.7 kB / 0.545 GB, free: 8.926 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T2.active,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active) * Number of discrete states: 50 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.eventIndex,$whenCondition3,T2.activation.active,T2.eventPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 23 * Array equations: 1 * Algorithm blocks: 9 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005149/0.3753, allocations: 3.426 MB / 0.5483 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003276/0.3785, allocations: 2.451 MB / 0.5507 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.3785, allocations: 1.5 kB / 0.5507 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.3804, allocations: 1.521 MB / 0.5522 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006748/0.3811, allocations: 112.5 kB / 0.5523 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.393, allocations: 8.924 MB / 0.561 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.3934, allocations: 314.8 kB / 0.5613 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004504/0.3938, allocations: 132.2 kB / 0.5614 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.3941, allocations: 176.4 kB / 0.5616 GB, free: 13.42 MB / 414.1 MB Notification: Performance of SimCode: time 1.432e-06/0.3941, allocations: 0 / 0.5616 GB, free: 13.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04996/0.4441, allocations: 17.41 MB / 0.5786 GB, free: 12.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.61, allocations: 4.062 kB / 0.5786 GB, free: 12.48 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput.pipe >> ../files/PNlib_PNlib.Examples.DisTest.TEnoInput.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 PNlib_PNlib_Examples_DisTest_TEnoInput.fmu > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable P1.t in file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv. Warning: Get data of variable P1.t from file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv failed! Error: Could not read variable T2.active in file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv. Warning: Get data of variable T2.active from file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv failed! Error: Could not read variable T2.fire in file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv. Warning: Get data of variable T2.fire from file PNlib_PNlib.Examples.DisTest.TEnoInput_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.535994431003928]