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.0009376/0.0009376, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001005/0.001005, allocations: 217.3 kB / 22.25 MB, free: 3.707 MB / 13.93 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 0.9253/0.9253, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] 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.05181/0.05181, allocations: 16.96 MB / 329.4 MB, free: 1.242 MB / 250.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TEnoInput,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEnoInput",fmuType="me_cs",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.001385/0.001385, allocations: 79.86 kB / 461.3 MB, free: 26.93 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07203/0.07341, allocations: 57.64 MB / 0.5068 GB, free: 1.191 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TEnoInput): time 0.002176/0.07559, allocations: 1.726 MB / 0.5084 GB, free: 15.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002365/0.07796, allocations: 1.89 MB / 0.5103 GB, free: 13.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.07814, allocations: 7.938 kB / 0.5103 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.07858, allocations: 123.1 kB / 0.5104 GB, free: 13.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.07877, allocations: 139 kB / 0.5105 GB, free: 13.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.07997, allocations: 0.9593 MB / 0.5115 GB, free: 12.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009524/0.08092, allocations: 1.338 MB / 0.5128 GB, free: 11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.08106, allocations: 58.38 kB / 0.5128 GB, free: 10.94 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006761/0.08174, allocations: 0.5455 MB / 0.5134 GB, free: 10.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.08207, allocations: 330.3 kB / 0.5137 GB, free: 10.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.285e-05/0.08215, allocations: 72 kB / 0.5138 GB, free: 9.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006024/0.08275, allocations: 0.6278 MB / 0.5144 GB, free: 9.367 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.08287, allocations: 147.3 kB / 0.5145 GB, free: 9.223 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.08306, allocations: 282.8 kB / 0.5148 GB, free: 8.945 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008185/0.08388, allocations: 1.098 MB / 0.5159 GB, free: 7.844 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.08389, allocations: 0 / 0.5159 GB, free: 7.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.08389, allocations: 0 / 0.5159 GB, free: 7.844 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.0839, allocations: 0 / 0.5159 GB, free: 7.844 MB / 378.7 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.001056/0.08495, allocations: 1.187 MB / 0.517 GB, free: 6.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.08498, allocations: 8.031 kB / 0.517 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.162e-05/0.08508, allocations: 118.7 kB / 0.5171 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.08526, allocations: 88.5 kB / 0.5172 GB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.08563, allocations: 353 kB / 0.5176 GB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.0857, allocations: 104.4 kB / 0.5177 GB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.08576, allocations: 67.98 kB / 0.5177 GB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.08701, allocations: 1.645 MB / 0.5193 GB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.08703, allocations: 7.938 kB / 0.5193 GB, free: 3.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/0.08707, allocations: 32 kB / 0.5194 GB, free: 3.941 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/0.08712, allocations: 52.95 kB / 0.5194 GB, free: 3.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.08827, allocations: 1.1 MB / 0.5205 GB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.09025, allocations: 2.751 MB / 0.5232 GB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007546/0.091, allocations: 0.9218 MB / 0.5241 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006004/0.0916, allocations: 0.8257 MB / 0.5249 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.09164, allocations: 8 kB / 0.5249 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008828/0.09252, allocations: 1.23 MB / 0.5261 GB, free: 12.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=79): time 1.453e-06/0.09252, allocations: 0 / 0.5261 GB, free: 12.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=79): time 0.002649/0.09517, allocations: 3.081 MB / 0.5291 GB, free: 9.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002076/0.09538, allocations: 0.6156 MB / 0.5297 GB, free: 8.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.09563, allocations: 396.1 kB / 0.5301 GB, free: 8.262 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.09569, allocations: 65.7 kB / 0.5301 GB, free: 8.191 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.0958, allocations: 245.2 kB / 0.5304 GB, free: 7.945 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.09592, allocations: 214.4 kB / 0.5306 GB, free: 7.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.09609, allocations: 210.6 kB / 0.5308 GB, free: 7.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.09619, allocations: 370.8 kB / 0.5311 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.09662, allocations: 0.6375 MB / 0.5318 GB, free: 6.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/0.09723, allocations: 1.147 MB / 0.5329 GB, free: 5.039 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.09896, allocations: 2.146 MB / 0.535 GB, free: 2.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.09897, allocations: 4 kB / 0.535 GB, free: 2.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001394/0.1004, allocations: 1.913 MB / 0.5368 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.1005, allocations: 338.7 kB / 0.5372 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.1005, allocations: 12 kB / 0.5372 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.1005, allocations: 23.97 kB / 0.5372 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.1007, allocations: 115.7 kB / 0.5373 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.1007, allocations: 27.86 kB / 0.5373 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.1009, allocations: 119.2 kB / 0.5375 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.101, allocations: 52 kB / 0.5375 GB, free: 15.77 MB / 410.7 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.0004904/0.1015, allocations: 0.7315 MB / 0.5382 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.1016, allocations: 71.67 kB / 0.5383 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.1035, allocations: 2.062 MB / 0.5403 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.1035, allocations: 4 kB / 0.5403 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1035, allocations: 4.125 kB / 0.5403 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1035, allocations: 7.984 kB / 0.5403 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.1058, allocations: 2.858 MB / 0.5431 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1058, allocations: 0 / 0.5431 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.1059, allocations: 23.98 kB / 0.5431 GB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1059, allocations: 0 / 0.5431 GB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.106, allocations: 39.97 kB / 0.5432 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.106, allocations: 0 / 0.5432 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.106, allocations: 11.92 kB / 0.5432 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.1079, allocations: 2.59 MB / 0.5457 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.1079, allocations: 51.59 kB / 0.5458 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.108, allocations: 79.95 kB / 0.5458 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.1082, allocations: 47.97 kB / 0.5459 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.1084, allocations: 91.83 kB / 0.546 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.372e-05/0.1084, allocations: 43.92 kB / 0.546 GB, free: 6.645 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.1085, allocations: 231 kB / 0.5462 GB, free: 6.418 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1085, allocations: 0 / 0.5462 GB, free: 6.418 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005615/0.1091, allocations: 327.5 kB / 0.5465 GB, free: 6.098 MB / 410.7 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.002758/0.1119, allocations: 3.419 MB / 0.5499 GB, free: 2.562 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1405/0.2524, allocations: 2.444 MB / 0.5523 GB, free: 48.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2524, allocations: 0.5 kB / 0.5523 GB, free: 48.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.2535, allocations: 1.52 MB / 0.5537 GB, free: 47.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.254, allocations: 104 kB / 0.5538 GB, free: 47.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006047/0.26, allocations: 8.923 MB / 0.5626 GB, free: 42.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.2602, allocations: 307.8 kB / 0.5629 GB, free: 41.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002211/0.2604, allocations: 138.8 kB / 0.563 GB, free: 41.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.2606, allocations: 180.7 kB / 0.5632 GB, free: 41.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2606, allocations: 1.156 kB / 0.5632 GB, free: 41.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09915/0.3597, allocations: 17.51 MB / 0.5803 GB, free: 32.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.95/7.31, allocations: 16.86 kB / 0.5803 GB, free: 32.71 MB / 410.7 MB " [Timeout remaining time 653] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TEnoInput.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-cvode.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../PNlib_PNlib_Examples_DisTest_TEnoInput_OMSimulator-cs-euler.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv --output-variables P1.t T2.active T2.fire --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../PNlib_PNlib_Examples_DisTest_TEnoInput.fmu) > PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PNlib_PNlib.Examples.DisTest.TEnoInput_fmpy_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.TEnoInput.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.896529961377382]