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.001167/0.001167, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001107/0.001107, allocations: 177.3 kB / 15.94 MB, free: 228 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.376/1.376, allocations: 223.2 MB / 239.9 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.2/0.2, allocations: 16.87 MB / 307.8 MB, free: 15.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 8 kB / 373 MB, free: 3.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3277, allocations: 54.51 MB / 427.5 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002057/0.3298, allocations: 1.554 MB / 429 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002961/0.3328, allocations: 1.88 MB / 430.9 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.3331, allocations: 6.844 kB / 430.9 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.3333, allocations: 95.48 kB / 431 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.3337, allocations: 118.1 kB / 431.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.3353, allocations: 0.6202 MB / 431.7 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007977/0.3361, allocations: 0.6981 MB / 432.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002909/0.3364, allocations: 215.9 kB / 432.6 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004429/0.3369, allocations: 423.8 kB / 433.1 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.3372, allocations: 404.4 kB / 433.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.3374, allocations: 52.38 kB / 433.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009125/0.3383, allocations: 0.5916 MB / 434.1 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.3384, allocations: 156.1 kB / 434.2 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.3387, allocations: 236.3 kB / 434.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.3398, allocations: 1.254 MB / 435.7 MB, free: 36.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.3398, allocations: 0 / 435.7 MB, free: 36.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3398, allocations: 6.469 kB / 435.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3398, allocations: 0 / 435.7 MB, free: 36.18 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.00137/0.3412, allocations: 1.341 MB / 437.1 MB, free: 35.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3412, allocations: 9.25 kB / 437.1 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002279/0.3415, allocations: 169.5 kB / 437.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/0.3419, allocations: 130.9 kB / 437.4 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007361/0.3426, allocations: 0.5373 MB / 437.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.3427, allocations: 137.4 kB / 438.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.3429, allocations: 125.7 kB / 438.2 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.3454, allocations: 2.057 MB / 440.2 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.3454, allocations: 0 / 440.2 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.3456, allocations: 59.67 kB / 440.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.3457, allocations: 90.95 kB / 440.4 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.3477, allocations: 1.46 MB / 441.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004578/0.3523, allocations: 4.251 MB / 446.1 MB, free: 30.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.3544, allocations: 2.442 MB / 448.5 MB, free: 28.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.3545, allocations: 86.98 kB / 448.6 MB, free: 28.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001589/0.3561, allocations: 1.342 MB / 450 MB, free: 28.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.324e-06/0.3561, allocations: 0 / 450 MB, free: 28.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.005279/0.3614, allocations: 4.406 MB / 454.4 MB, free: 26.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003168/0.3617, allocations: 0.66 MB / 455 MB, free: 25.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/0.3624, allocations: 0.5006 MB / 455.5 MB, free: 25.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.3625, allocations: 77.69 kB / 455.6 MB, free: 25.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.3628, allocations: 355.3 kB / 455.9 MB, free: 24.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.363, allocations: 228.3 kB / 456.2 MB, free: 24.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.3631, allocations: 28.12 kB / 456.2 MB, free: 24.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3632, allocations: 385.1 kB / 456.6 MB, free: 24.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007965/0.3641, allocations: 0.5492 MB / 457.1 MB, free: 24.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.3651, allocations: 1.016 MB / 458.1 MB, free: 23.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.3662, allocations: 0.8986 MB / 459 MB, free: 22.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/0.3662, allocations: 4.406 kB / 459 MB, free: 22.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003734/0.3699, allocations: 2.222 MB / 461.3 MB, free: 21.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002205/0.3702, allocations: 346.9 kB / 461.6 MB, free: 21.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/0.3702, allocations: 13.53 kB / 461.6 MB, free: 21.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.619e-05/0.3703, allocations: 26.83 kB / 461.6 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.3708, allocations: 157.5 kB / 461.8 MB, free: 21.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.294e-05/0.3709, allocations: 32.23 kB / 461.8 MB, free: 21.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007771/0.3716, allocations: 170.7 kB / 462 MB, free: 21.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.3718, allocations: 69.23 kB / 462.1 MB, free: 21.39 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.001456/0.3732, allocations: 0.8926 MB / 463 MB, free: 20.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.3735, allocations: 96.38 kB / 463.1 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005458/0.3789, allocations: 3.409 MB / 466.5 MB, free: 19.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/0.379, allocations: 11.08 kB / 466.5 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.379, allocations: 4 kB / 466.5 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.379, allocations: 7.594 kB / 466.5 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007864/0.3869, allocations: 4.82 MB / 471.3 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.3869, allocations: 0 / 471.3 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.3871, allocations: 44.48 kB / 471.3 MB, free: 17.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.778e-05/0.3872, allocations: 7.234 kB / 471.4 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.3873, allocations: 54.86 kB / 471.4 MB, free: 17.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.3874, allocations: 6.812 kB / 471.4 MB, free: 17.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3874, allocations: 0 / 471.4 MB, free: 17.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00699/0.3944, allocations: 3.527 MB / 474.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.3945, allocations: 145 kB / 475.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/0.3949, allocations: 102.3 kB / 475.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000689/0.3956, allocations: 99.66 kB / 475.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000978/0.3965, allocations: 391.2 kB / 475.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/0.3967, allocations: 63.73 kB / 475.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005421/0.3973, allocations: 297.3 kB / 476 MB, free: 15.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.3973, allocations: 0 / 476 MB, free: 15.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002031/0.3993, allocations: 493.2 kB / 476.5 MB, free: 15.11 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.007247/0.4066, allocations: 4.425 MB / 480.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003508/0.4101, allocations: 2.696 MB / 483.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.4102, allocations: 8.125 kB / 483.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003043/0.4132, allocations: 4.521 MB / 488.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.4138, allocations: 101.4 kB / 488.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.4263, allocations: 15.48 MB / 0.4919 GB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.427, allocations: 1.038 MB / 0.4929 GB, free: 5.355 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005173/0.4275, allocations: 205.2 kB / 0.4931 GB, free: 5.152 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.4278, allocations: 255.3 kB / 0.4934 GB, free: 4.902 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4279, allocations: 0 / 0.4934 GB, free: 4.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04051/0.4684, allocations: 23.52 MB / 0.5163 GB, free: 13.41 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.4686, allocations: 200.6 kB / 0.5165 GB, free: 13.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/2.853, allocations: 4 kB / 0.5165 GB, free: 13.17 MB / 398.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