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.001856/0.001856, allocations: 105.9 kB / 16.45 MB, free: 6.453 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.002235/0.002235, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.473/1.473, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.08121/0.08121, allocations: 16.95 MB / 325.8 MB, free: 3.609 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.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.002214/0.002214, allocations: 71.88 kB / 454.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.113, allocations: 57.58 MB / 0.5002 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.003267/0.1162, allocations: 1.873 MB / 0.502 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.1199, allocations: 1.929 MB / 0.5039 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.1201, allocations: 11.88 kB / 0.5039 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.1205, allocations: 115.1 kB / 0.504 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.1208, allocations: 127 kB / 0.5041 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.1226, allocations: 0.9072 MB / 0.505 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.1241, allocations: 1.307 MB / 0.5063 GB, free: 4.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.1243, allocations: 91.84 kB / 0.5064 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006078/0.1249, allocations: 0.5298 MB / 0.5069 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.1253, allocations: 330.4 kB / 0.5072 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.1254, allocations: 72 kB / 0.5073 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007689/0.1262, allocations: 0.5266 MB / 0.5078 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.1264, allocations: 143.3 kB / 0.5079 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.1267, allocations: 330.5 kB / 0.5083 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.128, allocations: 1.055 MB / 0.5093 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.128, allocations: 0 / 0.5093 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.128, allocations: 0 / 0.5093 GB, free: 1.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.128, allocations: 0 / 0.5093 GB, free: 1.695 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.001743/0.1298, allocations: 1.223 MB / 0.5105 GB, free: 368 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1298, allocations: 15.97 kB / 0.5105 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.13, allocations: 114.7 kB / 0.5106 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.1303, allocations: 80.56 kB / 0.5107 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1937/0.3239, allocations: 397.2 kB / 0.5111 GB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.324, allocations: 72.17 kB / 0.5111 GB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.3242, allocations: 68.06 kB / 0.5112 GB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.3259, allocations: 1.106 MB / 0.5123 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.3259, allocations: 7.062 kB / 0.5123 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.869e-05/0.326, allocations: 35.77 kB / 0.5123 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.953e-05/0.3261, allocations: 47.83 kB / 0.5124 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.3272, allocations: 0.733 MB / 0.5131 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.3301, allocations: 2.994 MB / 0.516 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009613/0.3311, allocations: 0.6079 MB / 0.5166 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000683/0.3317, allocations: 483.4 kB / 0.5171 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.281e-05/0.3318, allocations: 83.92 kB / 0.5171 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.3329, allocations: 0.7858 MB / 0.5179 GB, free: 13.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.545e-06/0.3329, allocations: 0.6094 kB / 0.5179 GB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003283/0.3362, allocations: 2.211 MB / 0.5201 GB, free: 12.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002322/0.3365, allocations: 0.5108 MB / 0.5206 GB, free: 12.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.3369, allocations: 369.8 kB / 0.5209 GB, free: 11.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.998e-05/0.337, allocations: 63.53 kB / 0.521 GB, free: 11.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.3372, allocations: 242.4 kB / 0.5212 GB, free: 11.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.3373, allocations: 193 kB / 0.5214 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.3376, allocations: 197 kB / 0.5216 GB, free: 11.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3377, allocations: 367.5 kB / 0.5219 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.3383, allocations: 304.5 kB / 0.5222 GB, free: 11.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007101/0.339, allocations: 0.6393 MB / 0.5228 GB, free: 10.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.341, allocations: 2.04 MB / 0.5248 GB, free: 8.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.341, allocations: 7.406 kB / 0.5248 GB, free: 8.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001918/0.3429, allocations: 1.461 MB / 0.5263 GB, free: 8.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.343, allocations: 316.6 kB / 0.5266 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.343, allocations: 10.41 kB / 0.5266 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.555e-05/0.3431, allocations: 19.94 kB / 0.5266 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.3434, allocations: 109.9 kB / 0.5267 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/0.3435, allocations: 21.5 kB / 0.5267 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.3439, allocations: 110.1 kB / 0.5268 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.053e-05/0.344, allocations: 49.92 kB / 0.5269 GB, free: 7.695 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) \"next putative firing time\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 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.0008189/0.3448, allocations: 0.6935 MB / 0.5276 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.3449, allocations: 72.36 kB / 0.5276 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/0.3473, allocations: 1.671 MB / 0.5293 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.3473, allocations: 8.672 kB / 0.5293 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3473, allocations: 6.25 kB / 0.5293 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.3473, allocations: 2.25 kB / 0.5293 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.3514, allocations: 2.602 MB / 0.5318 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3514, allocations: 5.125 kB / 0.5318 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.3516, allocations: 27.64 kB / 0.5319 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3516, allocations: 2.531 kB / 0.5319 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.373e-05/0.3517, allocations: 39.84 kB / 0.5319 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.3517, allocations: 2.969 kB / 0.5319 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3517, allocations: 4 kB / 0.5319 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002973/0.3547, allocations: 2.072 MB / 0.5339 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3548, allocations: 128.3 kB / 0.534 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.355, allocations: 70.95 kB / 0.5341 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.3554, allocations: 57.67 kB / 0.5342 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.3556, allocations: 84.69 kB / 0.5342 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.821e-05/0.3557, allocations: 45.11 kB / 0.5343 GB, free: 3.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002674/0.3559, allocations: 223.2 kB / 0.5345 GB, free: 3.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3559, allocations: 0 / 0.5345 GB, free: 3.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001304/0.3572, allocations: 307.5 kB / 0.5348 GB, free: 3.707 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: 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.00414/0.3614, allocations: 2.882 MB / 0.5376 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.3637, allocations: 1.668 MB / 0.5392 GB, free: 1.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3637, allocations: 0 / 0.5392 GB, free: 1.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.365, allocations: 1.103 MB / 0.5403 GB, free: 320 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.3656, allocations: 103.4 kB / 0.5404 GB, free: 292 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.376, allocations: 6.975 MB / 0.5472 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.3766, allocations: 0.897 MB / 0.5481 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003547/0.3769, allocations: 129.8 kB / 0.5482 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.3772, allocations: 170.9 kB / 0.5484 GB, free: 10.92 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3772, allocations: 0 / 0.5484 GB, free: 10.92 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04247/0.4196, allocations: 15.36 MB / 0.5634 GB, free: 12.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.836/9.256, allocations: 2.906 kB / 0.5634 GB, free: 12.73 MB / 414.1 MB " [Timeout remaining time 651] (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: 12.031792368274182]