Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.001262/0.001262, allocations: 113.5 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.001404/0.001404, allocations: 218 kB / 23.04 MB, free: 5.078 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.08138/0.08138, allocations: 16.93 MB / 330.2 MB, free: 2.277 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.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",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.002865/0.002865, allocations: 63.91 kB / 460.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1338, allocations: 57.63 MB / 0.506 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.004726/0.1385, allocations: 1.889 MB / 0.5079 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005469/0.144, allocations: 1.937 MB / 0.5098 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004827/0.1445, allocations: 15.94 kB / 0.5098 GB, free: 4.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006073/0.1451, allocations: 130.9 kB / 0.5099 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008178/0.1459, allocations: 158.9 kB / 0.5101 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.1492, allocations: 0.9554 MB / 0.511 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002816/0.152, allocations: 1.427 MB / 0.5124 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004516/0.1524, allocations: 107.6 kB / 0.5125 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.1537, allocations: 0.5921 MB / 0.5131 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.155, allocations: 0.5564 MB / 0.5136 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003807/0.1553, allocations: 140 kB / 0.5138 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2785/0.4339, allocations: 0.9951 MB / 0.5147 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005503/0.4344, allocations: 214.6 kB / 0.5149 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.4356, allocations: 0.5699 MB / 0.5155 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003507/0.4391, allocations: 1.83 MB / 0.5173 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.4391, allocations: 0 / 0.5173 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4391, allocations: 0 / 0.5173 GB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.384e-05/0.4392, allocations: 1.719 kB / 0.5173 GB, free: 10.46 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.002946/0.4421, allocations: 1.511 MB / 0.5187 GB, free: 9.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.4422, allocations: 9.125 kB / 0.5188 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.763e-05/0.4422, allocations: 23.11 kB / 0.5188 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002874/0.4425, allocations: 173.3 kB / 0.5189 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006675/0.4431, allocations: 132.6 kB / 0.5191 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.4444, allocations: 494.8 kB / 0.5195 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.4446, allocations: 193.4 kB / 0.5197 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/0.4449, allocations: 118.7 kB / 0.5198 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005061/0.4499, allocations: 2.027 MB / 0.5218 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.45, allocations: 8.188 kB / 0.5218 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.4502, allocations: 58.55 kB / 0.5219 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002715/0.4505, allocations: 92.52 kB / 0.522 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003797/0.4543, allocations: 1.427 MB / 0.5234 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008105/0.4624, allocations: 4.208 MB / 0.5275 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.465, allocations: 1.016 MB / 0.5285 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.4672, allocations: 0.925 MB / 0.5294 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.4673, allocations: 8.312 kB / 0.5294 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003061/0.4704, allocations: 1.303 MB / 0.5307 GB, free: 4.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 5.17e-06/0.4704, allocations: 0 / 0.5307 GB, free: 4.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.009143/0.4795, allocations: 3.982 MB / 0.5345 GB, free: 3.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005934/0.4801, allocations: 0.6573 MB / 0.5352 GB, free: 2.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.4813, allocations: 0.5141 MB / 0.5357 GB, free: 2.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002008/0.4815, allocations: 80.86 kB / 0.5358 GB, free: 2.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.482, allocations: 358.9 kB / 0.5361 GB, free: 2.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/0.4823, allocations: 234.7 kB / 0.5363 GB, free: 1.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007745/0.4831, allocations: 300.3 kB / 0.5366 GB, free: 1.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4832, allocations: 327.3 kB / 0.5369 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.4846, allocations: 0.5556 MB / 0.5375 GB, free: 1.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.4861, allocations: 1.025 MB / 0.5385 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0061/0.4922, allocations: 3.196 MB / 0.5416 GB, free: 14.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.036e-05/0.4923, allocations: 3.375 kB / 0.5416 GB, free: 14.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005821/0.4981, allocations: 2.239 MB / 0.5438 GB, free: 13.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004424/0.4985, allocations: 351.6 kB / 0.5441 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.059e-05/0.4986, allocations: 19.33 kB / 0.5441 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.063e-05/0.4987, allocations: 20.59 kB / 0.5442 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/0.4995, allocations: 157.3 kB / 0.5443 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-05/0.4996, allocations: 32.42 kB / 0.5443 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.5007, allocations: 172.9 kB / 0.5445 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.5009, allocations: 68.72 kB / 0.5446 GB, free: 12.82 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 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 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: 62 * Number of states: 0 () * Number of discrete variables: 149 ($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.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,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.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.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],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.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[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,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * 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.001782/0.5027, allocations: 0.893 MB / 0.5454 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004043/0.5031, allocations: 96.69 kB / 0.5455 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005904/0.509, allocations: 3.362 MB / 0.5488 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/0.509, allocations: 6.719 kB / 0.5488 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.509, allocations: 3.984 kB / 0.5488 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.509, allocations: 3.938 kB / 0.5488 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008203/0.5172, allocations: 4.734 MB / 0.5535 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.5172, allocations: 4 kB / 0.5535 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.5174, allocations: 40.47 kB / 0.5535 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.5174, allocations: 3.812 kB / 0.5535 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.5176, allocations: 52.94 kB / 0.5535 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.5176, allocations: 6.531 kB / 0.5536 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.5176, allocations: 0 / 0.5536 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00609/0.5237, allocations: 3.482 MB / 0.557 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.5239, allocations: 67.44 kB / 0.557 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/0.5242, allocations: 91.97 kB / 0.5571 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007475/0.5249, allocations: 105.3 kB / 0.5572 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007228/0.5257, allocations: 382.1 kB / 0.5576 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/0.5258, allocations: 70.16 kB / 0.5576 GB, free: 4.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004604/0.5263, allocations: 299.1 kB / 0.5579 GB, free: 4.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5263, allocations: 0 / 0.5579 GB, free: 4.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002015/0.5283, allocations: 491.3 kB / 0.5584 GB, free: 3.934 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],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,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.outPlaces[1].enabledByInPlaces,T1.firingTime,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) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],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]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * 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.007459/0.5358, allocations: 4.399 MB / 0.5627 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004186/0.54, allocations: 2.456 MB / 0.5651 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.54, allocations: 7.938 kB / 0.5651 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002431/0.5424, allocations: 1.636 MB / 0.5667 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/0.5433, allocations: 144.2 kB / 0.5668 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/0.5615, allocations: 9.836 MB / 0.5764 GB, free: 0.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009438/0.5625, allocations: 1.033 MB / 0.5774 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006168/0.5631, allocations: 209.5 kB / 0.5776 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/0.5635, allocations: 251.4 kB / 0.5779 GB, free: 15.29 MB / 430.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5635, allocations: 0 / 0.5779 GB, free: 15.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06125/0.6248, allocations: 25.37 MB / 0.6027 GB, free: 5.977 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.27, allocations: 3.859 kB / 0.6027 GB, free: 5.973 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight.fmu > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.98140487598721] Failed to read output from testmodel.py, exit status != 0: 13.447263929061592 13.466422303 13.023776516 Calling exit ...