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.001564/0.001564, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001383/0.001383, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.08256/0.08256, allocations: 16.95 MB / 330.2 MB, free: 2.102 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="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.001919/0.001919, allocations: 63.89 kB / 460.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1196, allocations: 57.64 MB / 0.506 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.003383/0.123, allocations: 1.718 MB / 0.5076 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003645/0.1266, allocations: 1.849 MB / 0.5094 GB, free: 4.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.1269, allocations: 11.94 kB / 0.5095 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.1272, allocations: 119.1 kB / 0.5096 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.1276, allocations: 135 kB / 0.5097 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.1296, allocations: 0.958 MB / 0.5106 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.1312, allocations: 1.365 MB / 0.512 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.1314, allocations: 68.12 kB / 0.512 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006775/0.1321, allocations: 0.5571 MB / 0.5126 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005809/0.1327, allocations: 382.3 kB / 0.5129 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.1328, allocations: 88 kB / 0.513 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.1339, allocations: 0.6553 MB / 0.5137 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.1341, allocations: 147.3 kB / 0.5138 GB, free: 384 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004422/0.1345, allocations: 334.6 kB / 0.5141 GB, free: 48 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2391/0.3736, allocations: 1.19 MB / 0.5153 GB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3736, allocations: 1.031 kB / 0.5153 GB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3736, allocations: 0 / 0.5153 GB, free: 11.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.3737, allocations: 0 / 0.5153 GB, free: 11.15 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.001613/0.3753, allocations: 1.213 MB / 0.5165 GB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3753, allocations: 9.531 kB / 0.5165 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.578e-05/0.3753, allocations: 20.44 kB / 0.5165 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.3755, allocations: 118.4 kB / 0.5166 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003118/0.3758, allocations: 95.81 kB / 0.5167 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.3763, allocations: 377.4 kB / 0.5171 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.3764, allocations: 111 kB / 0.5172 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.3766, allocations: 78.61 kB / 0.5172 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.3786, allocations: 1.793 MB / 0.519 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.3786, allocations: 7.25 kB / 0.519 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.743e-05/0.3787, allocations: 36.66 kB / 0.519 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.3788, allocations: 58.33 kB / 0.5191 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.3806, allocations: 1.254 MB / 0.5203 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003447/0.3841, allocations: 3.021 MB / 0.5233 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.3855, allocations: 1.061 MB / 0.5243 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.3867, allocations: 0.9364 MB / 0.5252 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/0.3868, allocations: 11.42 kB / 0.5252 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001779/0.3885, allocations: 1.316 MB / 0.5265 GB, free: 5.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.936e-06/0.3885, allocations: 0 / 0.5265 GB, free: 5.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.004658/0.3932, allocations: 3.432 MB / 0.5299 GB, free: 4.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000277/0.3935, allocations: 0.5308 MB / 0.5304 GB, free: 3.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006478/0.3941, allocations: 412.8 kB / 0.5308 GB, free: 3.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.963e-05/0.3942, allocations: 73.22 kB / 0.5309 GB, free: 3.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.3944, allocations: 268.1 kB / 0.5311 GB, free: 2.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.3946, allocations: 202.6 kB / 0.5313 GB, free: 2.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003038/0.3949, allocations: 228.9 kB / 0.5315 GB, free: 2.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.395, allocations: 379.5 kB / 0.5319 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007706/0.3957, allocations: 0.7481 MB / 0.5326 GB, free: 1.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009639/0.3967, allocations: 1.195 MB / 0.5338 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003204/0.3999, allocations: 2.561 MB / 0.5363 GB, free: 15.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.05e-05/0.3999, allocations: 3.938 kB / 0.5363 GB, free: 15.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003349/0.4033, allocations: 2.172 MB / 0.5384 GB, free: 13.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.4035, allocations: 330.8 kB / 0.5387 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.4036, allocations: 15.83 kB / 0.5387 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.763e-05/0.4036, allocations: 17.72 kB / 0.5388 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.404, allocations: 123.4 kB / 0.5389 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.179e-05/0.4041, allocations: 24.48 kB / 0.5389 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006201/0.4047, allocations: 135 kB / 0.539 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.4048, allocations: 58.95 kB / 0.5391 GB, free: 13.45 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.00126/0.406, allocations: 0.7418 MB / 0.5398 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.4063, allocations: 77.42 kB / 0.5399 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003801/0.4101, allocations: 2.398 MB / 0.5422 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/0.4101, allocations: 6.578 kB / 0.5422 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4101, allocations: 1.375 kB / 0.5422 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4101, allocations: 1.922 kB / 0.5422 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005035/0.4151, allocations: 3.24 MB / 0.5454 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.4151, allocations: 6 kB / 0.5454 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.4153, allocations: 27.42 kB / 0.5454 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.4153, allocations: 3.984 kB / 0.5454 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.4154, allocations: 47.95 kB / 0.5455 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.4154, allocations: 1.125 kB / 0.5455 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4154, allocations: 8.344 kB / 0.5455 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004241/0.4197, allocations: 2.852 MB / 0.5483 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.4198, allocations: 54.8 kB / 0.5483 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.42, allocations: 80.81 kB / 0.5484 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/0.4205, allocations: 78.14 kB / 0.5485 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000583/0.4211, allocations: 329.8 kB / 0.5488 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.4212, allocations: 47.17 kB / 0.5488 GB, free: 8.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003487/0.4216, allocations: 244 kB / 0.5491 GB, free: 8.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4216, allocations: 0 / 0.5491 GB, free: 8.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001439/0.423, allocations: 344.7 kB / 0.5494 GB, free: 8.215 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.005646/0.4287, allocations: 3.671 MB / 0.553 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003707/0.4324, allocations: 2.645 MB / 0.5556 GB, free: 4.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.4324, allocations: 2.75 kB / 0.5556 GB, free: 4.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.4344, allocations: 1.607 MB / 0.5571 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007486/0.4352, allocations: 112.2 kB / 0.5572 GB, free: 2.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/0.4509, allocations: 9.658 MB / 0.5667 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.4514, allocations: 324 kB / 0.567 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004478/0.4518, allocations: 152.2 kB / 0.5671 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.4521, allocations: 183.4 kB / 0.5673 GB, free: 9.051 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4521, allocations: 2.625 kB / 0.5673 GB, free: 9.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04847/0.5006, allocations: 19.25 MB / 0.5861 GB, free: 5.996 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.51, allocations: 0 / 0.5861 GB, free: 5.996 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.290155490045436] Failed to read output from testmodel.py, exit status != 0: 12.682314118021168 12.708527893 12.329793462 Calling exit ...