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.001816/0.001816, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002185/0.002185, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.07955/0.07955, allocations: 16.95 MB / 330.2 MB, free: 2.059 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.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.TDtoPDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TDtoPDfunction",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.002034/0.002034, allocations: 68.17 kB / 460.5 MB, free: 2.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1079, allocations: 57.63 MB / 0.506 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.003236/0.1111, allocations: 1.736 MB / 0.5076 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003471/0.1146, allocations: 1.855 MB / 0.5095 GB, free: 4.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.1148, allocations: 11.94 kB / 0.5095 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.1152, allocations: 111.1 kB / 0.5096 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.1156, allocations: 131.1 kB / 0.5097 GB, free: 4.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.1175, allocations: 0.9554 MB / 0.5106 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00162/0.1191, allocations: 1.35 MB / 0.512 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1193, allocations: 60.31 kB / 0.512 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006379/0.12, allocations: 0.5455 MB / 0.5125 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.1205, allocations: 350.4 kB / 0.5129 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.1206, allocations: 72 kB / 0.5129 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009966/0.1216, allocations: 0.6357 MB / 0.5136 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.1218, allocations: 139.3 kB / 0.5137 GB, free: 444 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.1221, allocations: 274.8 kB / 0.514 GB, free: 168 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2162/0.3383, allocations: 1.057 MB / 0.515 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3384, allocations: 0.8125 kB / 0.515 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3384, allocations: 0 / 0.515 GB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.3384, allocations: 1.312 kB / 0.515 GB, free: 11.08 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.001713/0.3401, allocations: 1.142 MB / 0.5161 GB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3401, allocations: 9.906 kB / 0.5161 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.072e-05/0.3402, allocations: 13.19 kB / 0.5161 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.3403, allocations: 111.4 kB / 0.5162 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/0.3406, allocations: 89.75 kB / 0.5163 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.3412, allocations: 348.4 kB / 0.5167 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.3413, allocations: 111.4 kB / 0.5168 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.3414, allocations: 64.17 kB / 0.5168 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.3433, allocations: 1.55 MB / 0.5183 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.3434, allocations: 5.125 kB / 0.5183 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.3434, allocations: 37.78 kB / 0.5184 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.779e-05/0.3435, allocations: 43.61 kB / 0.5184 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.3449, allocations: 1.057 MB / 0.5195 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.3483, allocations: 2.721 MB / 0.5221 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.3496, allocations: 0.9282 MB / 0.523 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009341/0.3505, allocations: 0.7926 MB / 0.5238 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.639e-05/0.3506, allocations: 8.719 kB / 0.5238 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001494/0.3521, allocations: 1.149 MB / 0.5249 GB, free: 6.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 3.707e-06/0.3521, allocations: 1.312 kB / 0.5249 GB, free: 6.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=75): time 0.003878/0.356, allocations: 2.962 MB / 0.5278 GB, free: 4.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002317/0.3562, allocations: 0.5157 MB / 0.5283 GB, free: 4.148 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.3567, allocations: 377.5 kB / 0.5287 GB, free: 3.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.531e-05/0.3567, allocations: 64.02 kB / 0.5287 GB, free: 3.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3569, allocations: 237 kB / 0.529 GB, free: 3.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.357, allocations: 192.8 kB / 0.5292 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.3573, allocations: 201.4 kB / 0.5293 GB, free: 3.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3574, allocations: 373.3 kB / 0.5297 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/0.358, allocations: 0.5929 MB / 0.5303 GB, free: 2.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007667/0.3587, allocations: 1.011 MB / 0.5313 GB, free: 1.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/0.361, allocations: 2.059 MB / 0.5333 GB, free: 184 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/0.361, allocations: 2.125 kB / 0.5333 GB, free: 184 kB / 382.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002529/0.3636, allocations: 1.783 MB / 0.535 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002382/0.3638, allocations: 312.4 kB / 0.5353 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.3638, allocations: 10.25 kB / 0.5353 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.495e-05/0.3638, allocations: 16.92 kB / 0.5353 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.3642, allocations: 115.4 kB / 0.5355 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.011e-05/0.3643, allocations: 29.67 kB / 0.5355 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004516/0.3647, allocations: 99.98 kB / 0.5356 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-05/0.3648, allocations: 49.45 kB / 0.5356 GB, free: 14.71 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 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.001164/0.366, allocations: 0.705 MB / 0.5363 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.3661, allocations: 71 kB / 0.5364 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/0.3692, allocations: 1.971 MB / 0.5383 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.3692, allocations: 6.625 kB / 0.5383 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3692, allocations: 5.25 kB / 0.5383 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3692, allocations: 3.406 kB / 0.5383 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/0.3737, allocations: 2.74 MB / 0.541 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3737, allocations: 1.25 kB / 0.541 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.3739, allocations: 31.03 kB / 0.541 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.3739, allocations: 7.062 kB / 0.541 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.374, allocations: 36.64 kB / 0.5411 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.374, allocations: 2.219 kB / 0.5411 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.374, allocations: 0.5156 kB / 0.5411 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003501/0.3775, allocations: 2.497 MB / 0.5435 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3776, allocations: 48.38 kB / 0.5436 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.3778, allocations: 81.5 kB / 0.5436 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.3782, allocations: 50.39 kB / 0.5437 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/0.3785, allocations: 82.69 kB / 0.5438 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.3786, allocations: 51.17 kB / 0.5438 GB, free: 10.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003022/0.3789, allocations: 217.9 kB / 0.544 GB, free: 10.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3789, allocations: 1.156 kB / 0.544 GB, free: 10.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001314/0.3802, allocations: 311.5 kB / 0.5443 GB, free: 10.12 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: 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.004842/0.385, allocations: 3.317 MB / 0.5476 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002961/0.388, allocations: 2.302 MB / 0.5498 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.388, allocations: 0 / 0.5498 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001685/0.3897, allocations: 1.429 MB / 0.5512 GB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/0.3904, allocations: 98.48 kB / 0.5513 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.4019, allocations: 8.559 MB / 0.5597 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.4022, allocations: 302.4 kB / 0.5599 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003318/0.4025, allocations: 131.5 kB / 0.5601 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.4028, allocations: 174.3 kB / 0.5602 GB, free: 15.3 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4028, allocations: 0 / 0.5602 GB, free: 15.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04286/0.4456, allocations: 16.44 MB / 0.5763 GB, free: 15.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.31, allocations: 7.5 kB / 0.5763 GB, free: 15.91 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.TDtoPDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_TDtoPDfunction_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_TDtoPDfunction.fmu > PNlib_PNlib.Examples.DisTest.TDtoPDfunction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.107451874995604] Failed to read output from testmodel.py, exit status != 0: 12.483787882025354 12.512553493 12.168722588 Calling exit ...