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.0018/0.0018, 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.002372/0.002372, allocations: 209.9 kB / 23.02 MB, free: 4.926 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.08175/0.08175, allocations: 16.94 MB / 330.2 MB, free: 2.07 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.001923/0.001923, allocations: 63.91 kB / 460.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1118, allocations: 57.63 MB / 0.506 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.00309/0.1149, allocations: 1.732 MB / 0.5077 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.1183, allocations: 1.859 MB / 0.5095 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/0.1186, allocations: 11.94 kB / 0.5095 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.1189, allocations: 119 kB / 0.5096 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004381/0.1194, allocations: 166.9 kB / 0.5098 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.1213, allocations: 0.9515 MB / 0.5107 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00169/0.123, allocations: 1.431 MB / 0.5121 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.1232, allocations: 111.6 kB / 0.5122 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006594/0.1239, allocations: 0.5844 MB / 0.5128 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000706/0.1246, allocations: 0.5642 MB / 0.5133 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.1248, allocations: 140 kB / 0.5134 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2102/0.3349, allocations: 0.9895 MB / 0.5144 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003696/0.3353, allocations: 214.6 kB / 0.5146 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007297/0.336, allocations: 498.3 kB / 0.5151 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.3381, allocations: 1.835 MB / 0.5169 GB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3381, allocations: 0.5 kB / 0.5169 GB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3381, allocations: 0.7188 kB / 0.5169 GB, free: 10.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.3381, allocations: 0.875 kB / 0.5169 GB, free: 10.57 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.00181/0.3399, allocations: 1.491 MB / 0.5183 GB, free: 9.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.34, allocations: 10.75 kB / 0.5183 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.463e-05/0.34, allocations: 25.72 kB / 0.5184 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001942/0.3402, allocations: 168 kB / 0.5185 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004159/0.3406, allocations: 133.4 kB / 0.5187 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007466/0.3413, allocations: 497.3 kB / 0.5191 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.3415, allocations: 194.1 kB / 0.5193 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.3417, allocations: 116.5 kB / 0.5194 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/0.3451, allocations: 2.659 MB / 0.522 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.3451, allocations: 4.156 kB / 0.522 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.3453, allocations: 59.55 kB / 0.5221 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001741/0.3454, allocations: 93 kB / 0.5222 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.348, allocations: 1.831 MB / 0.524 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004745/0.3527, allocations: 3.898 MB / 0.5278 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.3548, allocations: 1.422 MB / 0.5292 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/0.3565, allocations: 1.326 MB / 0.5305 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.3566, allocations: 8.062 kB / 0.5305 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002534/0.3591, allocations: 1.746 MB / 0.5322 GB, free: 3.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.387e-06/0.3591, allocations: 0 / 0.5322 GB, free: 3.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.007228/0.3663, allocations: 4.935 MB / 0.537 GB, free: 0.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004045/0.3667, allocations: 0.6494 MB / 0.5376 GB, free: 180 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007112/0.3675, allocations: 0.5114 MB / 0.5381 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.3676, allocations: 76.06 kB / 0.5382 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.3679, allocations: 357.9 kB / 0.5385 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.3681, allocations: 239.1 kB / 0.5388 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004566/0.3686, allocations: 300.3 kB / 0.539 GB, free: 15.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3687, allocations: 325.6 kB / 0.5394 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.3699, allocations: 0.8831 MB / 0.5402 GB, free: 14.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.3715, allocations: 1.54 MB / 0.5417 GB, free: 13.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004056/0.3756, allocations: 3.211 MB / 0.5449 GB, free: 10.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-05/0.3756, allocations: 4.125 kB / 0.5449 GB, free: 10.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003852/0.3794, allocations: 2.599 MB / 0.5474 GB, free: 9.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003395/0.3798, allocations: 345.5 kB / 0.5477 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.3798, allocations: 17.16 kB / 0.5477 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.824e-05/0.3799, allocations: 21.25 kB / 0.5478 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.3803, allocations: 160.7 kB / 0.5479 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.74e-05/0.3804, allocations: 27.42 kB / 0.5479 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007077/0.3811, allocations: 165.3 kB / 0.5481 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.3812, allocations: 71.7 kB / 0.5482 GB, free: 9.074 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.001461/0.3826, allocations: 0.8866 MB / 0.549 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.3829, allocations: 101 kB / 0.5491 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005812/0.3887, allocations: 3.903 MB / 0.5529 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.3887, allocations: 6.219 kB / 0.553 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.3887, allocations: 0 / 0.553 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.3887, allocations: 5.391 kB / 0.553 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007426/0.3962, allocations: 5.061 MB / 0.5579 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.3962, allocations: 3.984 kB / 0.5579 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.3963, allocations: 42.95 kB / 0.5579 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3963, allocations: 1.938 kB / 0.5579 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.3965, allocations: 54.19 kB / 0.558 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3965, allocations: 1.75 kB / 0.558 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3965, allocations: 0 / 0.558 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006116/0.4026, allocations: 4.044 MB / 0.5619 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.4027, allocations: 67.38 kB / 0.562 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003273/0.4031, allocations: 91.97 kB / 0.5621 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/0.4038, allocations: 107.9 kB / 0.5622 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006921/0.4045, allocations: 376.1 kB / 0.5626 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.4046, allocations: 62.62 kB / 0.5626 GB, free: 14.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000403/0.405, allocations: 303.1 kB / 0.5629 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.405, allocations: 0 / 0.5629 GB, free: 14.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001667/0.4067, allocations: 491.3 kB / 0.5634 GB, free: 14.02 MB / 414.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.007815/0.4145, allocations: 4.954 MB / 0.5682 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004596/0.4191, allocations: 3.209 MB / 0.5713 GB, free: 5.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.4191, allocations: 4 kB / 0.5714 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002824/0.4219, allocations: 2.026 MB / 0.5733 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008345/0.4228, allocations: 133.5 kB / 0.5735 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01687/0.4396, allocations: 11.62 MB / 0.5848 GB, free: 6.883 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.4401, allocations: 436.4 kB / 0.5852 GB, free: 6.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005411/0.4407, allocations: 211.3 kB / 0.5854 GB, free: 6.227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.441, allocations: 255.3 kB / 0.5857 GB, free: 5.977 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.441, allocations: 0 / 0.5857 GB, free: 5.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05954/0.5005, allocations: 25.9 MB / 0.611 GB, free: 12.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.16, allocations: 10.55 kB / 0.611 GB, free: 12.19 MB / 462.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.908655993989669] Failed to read output from testmodel.py, exit status != 0: 13.339236013009213 13.368228315 13.024375188 Calling exit ...