Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TDStriangular.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.001823/0.001823, allocations: 97.88 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.002621/0.002621, 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.604/1.604, 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.08228/0.08228, allocations: 16.94 MB / 330.2 MB, free: 2.074 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.ExtTest.TDStriangular,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TDStriangular",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TDStriangular,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TDStriangular",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.002026/0.002026, allocations: 71.89 kB / 460.5 MB, free: 2.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1284, allocations: 57.63 MB / 0.506 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TDStriangular): time 0.004014/0.1324, allocations: 2.286 MB / 0.5082 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008423/0.1409, allocations: 4.175 MB / 0.5123 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.142, allocations: 15.88 kB / 0.5123 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006944/0.1427, allocations: 186.5 kB / 0.5125 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007908/0.1435, allocations: 238.4 kB / 0.5127 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2465/0.39, allocations: 1.677 MB / 0.5143 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003365/0.3933, allocations: 2.562 MB / 0.5168 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.3936, allocations: 122.5 kB / 0.5169 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.3948, allocations: 1.012 MB / 0.5179 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009354/0.3957, allocations: 0.7055 MB / 0.5186 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002949/0.396, allocations: 160.9 kB / 0.5188 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.3978, allocations: 1.043 MB / 0.5198 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003646/0.3982, allocations: 284.4 kB / 0.5201 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000798/0.399, allocations: 0.5904 MB / 0.5206 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003558/0.4025, allocations: 2.134 MB / 0.5227 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4025, allocations: 0.9688 kB / 0.5227 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4025, allocations: 3.562 kB / 0.5227 GB, free: 8.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.724e-05/0.4026, allocations: 1.438 kB / 0.5227 GB, free: 8.84 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003148/0.4057, allocations: 2.126 MB / 0.5248 GB, free: 7.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.4058, allocations: 8.969 kB / 0.5248 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.628e-05/0.4058, allocations: 28.25 kB / 0.5248 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002497/0.4061, allocations: 206 kB / 0.525 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006505/0.4067, allocations: 180.5 kB / 0.5252 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.4077, allocations: 0.5882 MB / 0.5258 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.4079, allocations: 211 kB / 0.526 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.4081, allocations: 142.2 kB / 0.5261 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004492/0.4126, allocations: 3.343 MB / 0.5294 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.4126, allocations: 6.031 kB / 0.5294 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.4128, allocations: 69.55 kB / 0.5295 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002054/0.413, allocations: 101.7 kB / 0.5295 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003219/0.4162, allocations: 2.287 MB / 0.5318 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006146/0.4224, allocations: 4.942 MB / 0.5366 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002868/0.4252, allocations: 1.878 MB / 0.5384 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00256/0.4278, allocations: 1.728 MB / 0.5401 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.4279, allocations: 13.38 kB / 0.5401 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003377/0.4313, allocations: 2.431 MB / 0.5425 GB, free: 12.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 3.617e-06/0.4313, allocations: 1.125 kB / 0.5425 GB, free: 12.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.009434/0.4407, allocations: 6.355 MB / 0.5487 GB, free: 8.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008928/0.4416, allocations: 1.15 MB / 0.5498 GB, free: 6.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.4427, allocations: 0.6666 MB / 0.5505 GB, free: 6.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002599/0.443, allocations: 110.9 kB / 0.5506 GB, free: 6.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.4434, allocations: 418.2 kB / 0.551 GB, free: 5.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004303/0.4438, allocations: 385.3 kB / 0.5514 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006181/0.4444, allocations: 424.7 kB / 0.5518 GB, free: 5.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4446, allocations: 343.2 kB / 0.5521 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.4464, allocations: 1.433 MB / 0.5535 GB, free: 3.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002694/0.4491, allocations: 2.345 MB / 0.5558 GB, free: 1.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006644/0.4557, allocations: 4.797 MB / 0.5605 GB, free: 13.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.655e-05/0.4558, allocations: 4.219 kB / 0.5605 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.006199/0.462, allocations: 4.098 MB / 0.5645 GB, free: 10.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005406/0.4625, allocations: 0.6887 MB / 0.5652 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.521e-05/0.4626, allocations: 20 kB / 0.5652 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.521e-05/0.4626, allocations: 32 kB / 0.5652 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000857/0.4635, allocations: 219.9 kB / 0.5654 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.402e-05/0.4635, allocations: 46.66 kB / 0.5655 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.4648, allocations: 235.2 kB / 0.5657 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002553/0.4651, allocations: 112.1 kB / 0.5658 GB, free: 9.484 MB / 414.1 MB Warning: Assuming fixed start value for the following 47 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 P2.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P2.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" 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 P2.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P2.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P2.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P2.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" 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.fire:DISCRETE(fixed = true ) \"Does the transition fire?\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 249 ($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.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.reStart,$whenCondition8,$PRE.P1.reStart,$whenCondition5,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition3,$whenCondition4,$PRE.P2.firingSumOut.firingSum,$PRE.P2.firingSumIn.firingSum,P2.tokeninout,$whenCondition6,$whenCondition7,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.tokenChange.vec[1],$PRE.P1.tokeninout,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,$whenCondition2,$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.outPlaces[1].disTransition,P2.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P2.reStart,P1.reStart,P2.enableIn.disTransition[1],$PRE.T1.r128,$PRE.T1.state128[4],$PRE.T1.state128[3],$PRE.T1.state128[2],$PRE.T1.state128[1],$PRE.T1.fire,$PRE.T1.putDelay,$PRE.T1.putFireTime,$PRE.P2.enableIn.arcWeightSum,$PRE.P2.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P2.enableIn.arcWeight[1],T1.activation.disPlaceOut[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.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.r128,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.outPlaces[1].enabledByInPlaces,T1.fire,T1.active,T1.putDelay,T1.putFireTime,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.enableIn.TAein[1],P2.firingSumIn.firingSum,P2.firingSumIn.arcWeight[1],P2.firingSumIn.fire[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedIn.vec[1],P2.t,$PRE.P2.t,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[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,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,P2.inTransition[1].emptied,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 226 * Array equations: 1 * Algorithm blocks: 22 * 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.002216/0.4673, allocations: 1.375 MB / 0.5671 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000507/0.4678, allocations: 151.3 kB / 0.5673 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007331/0.4751, allocations: 4.349 MB / 0.5715 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.68e-05/0.4752, allocations: 17.06 kB / 0.5715 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.4752, allocations: 0 / 0.5715 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.4752, allocations: 7.984 kB / 0.5715 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009581/0.4848, allocations: 5.362 MB / 0.5768 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/0.4848, allocations: 0 / 0.5768 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.485, allocations: 47.72 kB / 0.5768 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.4851, allocations: 4 kB / 0.5768 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002661/0.4853, allocations: 78.73 kB / 0.5769 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/0.4853, allocations: 8.859 kB / 0.5769 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4853, allocations: 7.938 kB / 0.5769 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008764/0.4941, allocations: 5.259 MB / 0.5821 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.4944, allocations: 103.1 kB / 0.5822 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007026/0.4951, allocations: 152 kB / 0.5823 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.4962, allocations: 127.9 kB / 0.5824 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/0.4972, allocations: 408.1 kB / 0.5828 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003553/0.4975, allocations: 91.95 kB / 0.5829 GB, free: 7.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007119/0.4982, allocations: 390.8 kB / 0.5833 GB, free: 7.004 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4982, allocations: 0 / 0.5833 GB, free: 7.004 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003583/0.5018, allocations: 0.6007 MB / 0.5839 GB, free: 6.402 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 137 ($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,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,$whenCondition9,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,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.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,P2.t,P2.tokeninout,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,T1.putFireTime,T1.putDelay,T1.active,T1.fire,T1.outPlaces[1].enabledByInPlaces,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue) * Number of discrete states: 110 (P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.activeOut[1],P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.t,P2.t,P1.tokeninout,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activation.active,T1.delayPassed,T1.putFireTime,$whenCondition11,T1.putDelay,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition10,T1.fire,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,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,$whenCondition13,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,$whenCondition12,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P2.enableOut.benefitLimit,P2.enableOut.valid,P2.enableOut.benefitMax,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,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 (65): * Single equations (assignments): 43 * Array equations: 1 * Algorithm blocks: 17 * 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.01203/0.5138, allocations: 6.301 MB / 0.59 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007565/0.5214, allocations: 5.166 MB / 0.5951 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.5214, allocations: 0 / 0.5951 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004519/0.5259, allocations: 3.117 MB / 0.5981 GB, free: 6.797 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.5273, allocations: 212.1 kB / 0.5983 GB, free: 6.594 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02777/0.5551, allocations: 17.58 MB / 0.6155 GB, free: 3.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006515/0.5557, allocations: 0.544 MB / 0.616 GB, free: 2.945 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007779/0.5565, allocations: 263.5 kB / 0.6163 GB, free: 2.684 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/0.5571, allocations: 359.3 kB / 0.6166 GB, free: 2.332 MB / 462.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5571, allocations: 0 / 0.6166 GB, free: 2.332 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07161/0.6287, allocations: 33.79 MB / 0.6496 GB, free: 0.707 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.02, allocations: 17.91 kB / 0.6496 GB, free: 0.6953 MB / 494.1 MB " [Timeout remaining time 646] (rm -f PNlib_PNlib.Examples.ExtTest.TDStriangular.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TDStriangular.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TDStriangular.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TDStriangular.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.ExtTest.TDStriangular_res.mat --tempDir=temp_PNlib_PNlib_Examples_ExtTest_TDStriangular_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ExtTest_TDStriangular.fmu > PNlib_PNlib.Examples.ExtTest.TDStriangular.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.987975380034186] Failed to read output from testmodel.py, exit status != 0: 14.209897749009542 14.233383964 13.827047489 Calling exit ...