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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007978/0.0007978, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008272/0.0008273, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2314/0.2314, allocations: 16.89 MB / 308 MB, free: 15.63 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003197, allocations: 8 kB / 373.1 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3377, allocations: 54.5 MB / 427.6 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.001768/0.3395, allocations: 1.52 MB / 429.1 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.3424, allocations: 1.873 MB / 431 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.3426, allocations: 6.844 kB / 431 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.3429, allocations: 84.45 kB / 431.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.3432, allocations: 101.2 kB / 431.2 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.3448, allocations: 0.6358 MB / 431.8 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.3459, allocations: 1.129 MB / 432.9 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.3463, allocations: 226.7 kB / 433.1 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004436/0.3467, allocations: 446.8 kB / 433.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.3471, allocations: 407 kB / 434 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.3472, allocations: 50.19 kB / 434 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009344/0.3482, allocations: 0.6479 MB / 434.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.3483, allocations: 161.5 kB / 434.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.3486, allocations: 241.5 kB / 435.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.3497, allocations: 1.264 MB / 436.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3497, allocations: 0 / 436.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3497, allocations: 0 / 436.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.3497, allocations: 0 / 436.3 MB, free: 36.14 MB / 350.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.001511/0.3513, allocations: 1.337 MB / 437.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3513, allocations: 9.375 kB / 437.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001974/0.3515, allocations: 171 kB / 437.8 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003611/0.3519, allocations: 130.9 kB / 438 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006422/0.3525, allocations: 0.5357 MB / 438.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.3527, allocations: 140 kB / 438.6 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.3528, allocations: 120.6 kB / 438.8 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/0.3556, allocations: 2.065 MB / 440.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.3556, allocations: 0 / 440.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.3557, allocations: 56.97 kB / 440.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.3559, allocations: 92.97 kB / 441 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.3581, allocations: 1.465 MB / 442.4 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004924/0.363, allocations: 4.245 MB / 446.7 MB, free: 30.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.3656, allocations: 2.44 MB / 449.1 MB, free: 28.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.3677, allocations: 2.35 MB / 451.5 MB, free: 27.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.3679, allocations: 82.33 kB / 451.6 MB, free: 27.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001747/0.3696, allocations: 1.336 MB / 452.9 MB, free: 26.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.765e-06/0.3697, allocations: 3.094 kB / 452.9 MB, free: 26.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.005257/0.3749, allocations: 4.069 MB / 457 MB, free: 25.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002991/0.3752, allocations: 0.6487 MB / 457.6 MB, free: 24.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006228/0.3759, allocations: 0.5118 MB / 458.1 MB, free: 24.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.376, allocations: 72.22 kB / 458.2 MB, free: 24.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.3762, allocations: 346.2 kB / 458.5 MB, free: 23.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.3764, allocations: 236.9 kB / 458.8 MB, free: 23.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.3765, allocations: 26.66 kB / 458.8 MB, free: 23.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3766, allocations: 394.5 kB / 459.2 MB, free: 23.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/0.3775, allocations: 0.5513 MB / 459.7 MB, free: 23.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.3786, allocations: 1.02 MB / 460.7 MB, free: 22.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.3797, allocations: 0.9064 MB / 461.6 MB, free: 21.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.3797, allocations: 7.969 kB / 461.7 MB, free: 21.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003235/0.383, allocations: 2.206 MB / 463.9 MB, free: 20.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.3832, allocations: 347.6 kB / 464.2 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.3832, allocations: 16.95 kB / 464.2 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.35e-05/0.3833, allocations: 24.91 kB / 464.2 MB, free: 20.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.3838, allocations: 158 kB / 464.4 MB, free: 20.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-05/0.3838, allocations: 31.05 kB / 464.4 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000629/0.3844, allocations: 176.3 kB / 464.6 MB, free: 20.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.3846, allocations: 67.75 kB / 464.7 MB, free: 20.3 MB / 350.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.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.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,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.cumEnablingProb[1],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,$PRE.P1.enableIn.remTAin[1],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,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],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,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition7,$PRE.P1.reStart,P1.outTransition[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition6,$whenCondition5,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,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],$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.P1.t,P1.t,$PRE.P1.activeOut[1],P1.activeOut[1],P1.enabledByInPlaces[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],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.active,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,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.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001316/0.3859, allocations: 0.8879 MB / 465.6 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.3861, allocations: 100.1 kB / 465.7 MB, free: 19.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005717/0.3918, allocations: 3.41 MB / 469.1 MB, free: 18.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/0.3919, allocations: 10.11 kB / 469.1 MB, free: 18.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3919, allocations: 0 / 469.1 MB, free: 18.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3919, allocations: 3.688 kB / 469.1 MB, free: 18.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007083/0.399, allocations: 4.822 MB / 473.9 MB, free: 16.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.399, allocations: 2.562 kB / 473.9 MB, free: 16.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.3992, allocations: 35.59 kB / 473.9 MB, free: 16.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.3992, allocations: 5.984 kB / 473.9 MB, free: 16.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.3994, allocations: 54.61 kB / 474 MB, free: 16.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.3994, allocations: 2 kB / 474 MB, free: 16.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3994, allocations: 1.25 kB / 474 MB, free: 16.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005217/0.4046, allocations: 3.536 MB / 477.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.4048, allocations: 140.2 kB / 477.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/0.405, allocations: 94.36 kB / 477.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/0.4056, allocations: 98.33 kB / 477.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006897/0.4063, allocations: 395.8 kB / 478.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.4065, allocations: 64.44 kB / 478.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003596/0.4069, allocations: 301.9 kB / 478.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4069, allocations: 0 / 478.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001656/0.4085, allocations: 484 kB / 479.1 MB, free: 14.04 MB / 350.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.enabledByInPlaces[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.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005864/0.4144, allocations: 4.453 MB / 483.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003739/0.4182, allocations: 2.687 MB / 486.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.4182, allocations: 0 / 486.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00315/0.4213, allocations: 4.528 MB / 490.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007395/0.4221, allocations: 136.4 kB / 490.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009013/0.4311, allocations: 6.329 MB / 497.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/0.4317, allocations: 1.026 MB / 498.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004923/0.4322, allocations: 217.7 kB / 498.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.4325, allocations: 251.3 kB / 498.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4325, allocations: 0 / 498.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04019/0.4727, allocations: 23.55 MB / 0.51 GB, free: 4.035 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.4729, allocations: 202.2 kB / 0.5102 GB, free: 3.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/2.878, allocations: 0 / 0.5102 GB, free: 3.797 MB / 382.1 MB (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/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight.fmu > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat does not exist to compare? outputFormat=mat