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.001699/0.001699, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002045/0.002045, allocations: 219.9 kB / 23.04 MB, free: 5.074 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.08506/0.08506, allocations: 16.93 MB / 330.2 MB, free: 2.293 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.002011/0.002011, allocations: 67.89 kB / 460.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1134, allocations: 57.63 MB / 0.506 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.003281/0.1166, allocations: 1.87 MB / 0.5079 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003543/0.1202, allocations: 1.944 MB / 0.5098 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.1204, allocations: 11.94 kB / 0.5098 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.1208, allocations: 115 kB / 0.5099 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.1211, allocations: 135.1 kB / 0.51 GB, free: 4.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.1231, allocations: 0.9592 MB / 0.511 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.1247, allocations: 1.357 MB / 0.5123 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.1249, allocations: 65.14 kB / 0.5123 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007049/0.1256, allocations: 0.5571 MB / 0.5129 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006139/0.1262, allocations: 390.2 kB / 0.5133 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.1263, allocations: 88 kB / 0.5133 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.1274, allocations: 0.6514 MB / 0.514 GB, free: 416 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.1276, allocations: 159.3 kB / 0.5141 GB, free: 256 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1912/0.3188, allocations: 386.7 kB / 0.5145 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.3205, allocations: 1.19 MB / 0.5157 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3205, allocations: 0 / 0.5157 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3205, allocations: 0 / 0.5157 GB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.3205, allocations: 1.219 kB / 0.5157 GB, free: 10.96 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.001598/0.3221, allocations: 1.223 MB / 0.5169 GB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3221, allocations: 9.156 kB / 0.5169 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.962e-05/0.3222, allocations: 16.66 kB / 0.5169 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.3223, allocations: 122.3 kB / 0.517 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003297/0.3226, allocations: 97.61 kB / 0.5171 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.3232, allocations: 369.2 kB / 0.5175 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.3233, allocations: 113.5 kB / 0.5176 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.3234, allocations: 80.39 kB / 0.5176 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.3251, allocations: 1.326 MB / 0.5189 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.3251, allocations: 1.344 kB / 0.5189 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.667e-05/0.3252, allocations: 43.06 kB / 0.519 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.983e-05/0.3253, allocations: 55.45 kB / 0.519 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.3268, allocations: 0.9112 MB / 0.5199 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/0.3301, allocations: 3.215 MB / 0.5231 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.3313, allocations: 0.7169 MB / 0.5238 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000872/0.3322, allocations: 0.5912 MB / 0.5243 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.3322, allocations: 7.438 kB / 0.5243 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001369/0.3336, allocations: 0.9202 MB / 0.5252 GB, free: 7.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=77): time 2.464e-06/0.3336, allocations: 1.547 kB / 0.5252 GB, free: 7.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=77): time 0.003772/0.3374, allocations: 2.634 MB / 0.5278 GB, free: 6.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002302/0.3376, allocations: 0.5333 MB / 0.5283 GB, free: 5.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.3381, allocations: 412.5 kB / 0.5287 GB, free: 5.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.459e-05/0.3382, allocations: 71.41 kB / 0.5288 GB, free: 5.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.3383, allocations: 263.7 kB / 0.529 GB, free: 5.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.3385, allocations: 201.8 kB / 0.5292 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/0.3388, allocations: 225.8 kB / 0.5295 GB, free: 4.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3389, allocations: 378 kB / 0.5298 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006631/0.3396, allocations: 448.4 kB / 0.5302 GB, free: 4.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008311/0.3404, allocations: 0.8005 MB / 0.531 GB, free: 3.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/0.3429, allocations: 2.549 MB / 0.5335 GB, free: 2.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/0.3429, allocations: 8.281 kB / 0.5335 GB, free: 2.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002525/0.3454, allocations: 1.831 MB / 0.5353 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.3456, allocations: 335.3 kB / 0.5356 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.3456, allocations: 15.47 kB / 0.5356 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.3456, allocations: 18.5 kB / 0.5357 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.346, allocations: 126.1 kB / 0.5358 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.734e-05/0.346, allocations: 26.89 kB / 0.5358 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.3465, allocations: 128.4 kB / 0.5359 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.323e-05/0.3466, allocations: 54.62 kB / 0.536 GB, free: 0.75 MB / 382.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.0008972/0.3475, allocations: 0.7557 MB / 0.5367 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.3477, allocations: 77.45 kB / 0.5368 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/0.3512, allocations: 2.048 MB / 0.5388 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.3512, allocations: 9.203 kB / 0.5388 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3512, allocations: 0 / 0.5388 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3512, allocations: 1.688 kB / 0.5388 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00464/0.3558, allocations: 3.022 MB / 0.5418 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.3559, allocations: 1.5 kB / 0.5418 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.356, allocations: 27.03 kB / 0.5418 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.356, allocations: 9.969 kB / 0.5418 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.3561, allocations: 43.72 kB / 0.5418 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3561, allocations: 1.312 kB / 0.5418 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3561, allocations: 5.625 kB / 0.5418 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003488/0.3596, allocations: 2.391 MB / 0.5442 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3597, allocations: 54.5 kB / 0.5442 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.3599, allocations: 76.17 kB / 0.5443 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000467/0.3604, allocations: 77.55 kB / 0.5444 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005382/0.3609, allocations: 339.9 kB / 0.5447 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.361, allocations: 49.33 kB / 0.5447 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002715/0.3613, allocations: 242.4 kB / 0.545 GB, free: 12.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3613, allocations: 0 / 0.545 GB, free: 12.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001241/0.3625, allocations: 341.5 kB / 0.5453 GB, free: 12.47 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.004627/0.3672, allocations: 3.207 MB / 0.5484 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002849/0.37, allocations: 1.956 MB / 0.5503 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.37, allocations: 1.25 kB / 0.5503 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.3716, allocations: 1.268 MB / 0.5516 GB, free: 8.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.3723, allocations: 115.2 kB / 0.5517 GB, free: 8.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.3842, allocations: 7.976 MB / 0.5595 GB, free: 2.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/0.3849, allocations: 0.9123 MB / 0.5604 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004687/0.3854, allocations: 152.1 kB / 0.5605 GB, free: 1.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.3857, allocations: 191.4 kB / 0.5607 GB, free: 1.211 MB / 398.1 MB Notification: Performance of SimCode: time 1.372e-06/0.3857, allocations: 0 / 0.5607 GB, free: 1.211 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0482/0.4339, allocations: 18.85 MB / 0.5791 GB, free: 14.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.09, allocations: 14.11 kB / 0.5791 GB, free: 14.48 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.810606761020608] Failed to read output from testmodel.py, exit status != 0: 12.26463444007095 12.280698507 11.956939567 Calling exit ...