Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",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.0009751/0.0009751, allocations: 99.7 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.0009697/0.0009698, 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.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2172/0.2172, allocations: 16.87 MB / 307.8 MB, free: 15.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.000336, allocations: 12 kB / 373 MB, free: 3.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3171, allocations: 54.51 MB / 427.5 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.001763/0.3189, allocations: 1.655 MB / 429.1 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.3212, allocations: 1.538 MB / 430.7 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.3215, allocations: 8.156 kB / 430.7 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.3217, allocations: 97.09 kB / 430.8 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.3221, allocations: 127.1 kB / 430.9 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.3232, allocations: 456.3 kB / 431.3 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009191/0.3241, allocations: 0.7165 MB / 432 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003294/0.3245, allocations: 221.3 kB / 432.3 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004234/0.3249, allocations: 412.4 kB / 432.7 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004056/0.3253, allocations: 406.2 kB / 433.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.3254, allocations: 52.89 kB / 433.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004985/0.3259, allocations: 304.2 kB / 433.4 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.3261, allocations: 192.2 kB / 433.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.3264, allocations: 230.7 kB / 433.8 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008835/0.3273, allocations: 1.087 MB / 434.9 MB, free: 36.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3273, allocations: 4 kB / 434.9 MB, free: 36.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3273, allocations: 0 / 434.9 MB, free: 36.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.3273, allocations: 0 / 434.9 MB, free: 36.51 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001427/0.3287, allocations: 1.357 MB / 436.3 MB, free: 35.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3288, allocations: 12.56 kB / 436.3 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002234/0.329, allocations: 181.2 kB / 436.5 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009931/0.33, allocations: 229.4 kB / 436.7 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007615/0.3308, allocations: 0.5344 MB / 437.2 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.331, allocations: 257.8 kB / 437.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.3312, allocations: 125.2 kB / 437.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/0.3338, allocations: 1.985 MB / 439.6 MB, free: 33.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3338, allocations: 3.906 kB / 439.6 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.334, allocations: 60.12 kB / 439.6 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/0.3341, allocations: 102.2 kB / 439.7 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.3363, allocations: 1.457 MB / 441.2 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004565/0.3408, allocations: 3.566 MB / 444.8 MB, free: 31.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.3428, allocations: 1.873 MB / 446.6 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.343, allocations: 94.75 kB / 446.7 MB, free: 30.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/0.3444, allocations: 1.128 MB / 447.9 MB, free: 29.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 2.274e-06/0.3444, allocations: 0 / 447.9 MB, free: 29.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.004774/0.3492, allocations: 4.18 MB / 452 MB, free: 27.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002897/0.3495, allocations: 0.6535 MB / 452.7 MB, free: 26.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006436/0.3501, allocations: 0.5066 MB / 453.2 MB, free: 26.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.811e-05/0.3502, allocations: 74.61 kB / 453.3 MB, free: 26.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.3505, allocations: 380.9 kB / 453.6 MB, free: 26.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.3507, allocations: 233.9 kB / 453.9 MB, free: 26.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.3507, allocations: 31.69 kB / 453.9 MB, free: 26.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3509, allocations: 384 kB / 454.3 MB, free: 25.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000756/0.3516, allocations: 0.5528 MB / 454.8 MB, free: 25.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.3526, allocations: 1.032 MB / 455.9 MB, free: 24.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009342/0.3536, allocations: 0.9383 MB / 456.8 MB, free: 24.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.3536, allocations: 3.094 kB / 456.8 MB, free: 24.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002972/0.3566, allocations: 2.239 MB / 459 MB, free: 23.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000204/0.3568, allocations: 375.1 kB / 459.4 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/0.3568, allocations: 23.39 kB / 459.4 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.556e-05/0.3569, allocations: 22.81 kB / 459.5 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.3574, allocations: 163.7 kB / 459.6 MB, free: 22.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.24e-05/0.3575, allocations: 32.77 kB / 459.6 MB, free: 22.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.3582, allocations: 176.1 kB / 459.8 MB, free: 22.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.3583, allocations: 73.83 kB / 459.9 MB, free: 22.57 MB / 350.1 MB Warning: Assuming fixed start value for the following 21 variables: 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 ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real 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.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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: 64 * Number of states: 0 () * Number of discrete variables: 138 ($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,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.disTAout[1],P1.enableOut.disTAout[1],$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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition5,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.feeding.anytrue,P1.feeding.numtrue,P1.feeding.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P1.emptying.vec[1],$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.fireIn[1],P1.fireOut[1],P1.enabledByInPlaces[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.active,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.active,T1.activation.tIntIn[1],T1.activation.minTokensInt[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * 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.001429/0.3597, allocations: 0.8855 MB / 460.8 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.3601, allocations: 94.12 kB / 460.9 MB, free: 21.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004505/0.3646, allocations: 2.785 MB / 463.7 MB, free: 20.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.3646, allocations: 13.73 kB / 463.7 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3646, allocations: 1.031 kB / 463.7 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.3647, allocations: 7.469 kB / 463.7 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007664/0.3723, allocations: 4.151 MB / 467.8 MB, free: 18.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-05/0.3724, allocations: 8.422 kB / 467.8 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.3727, allocations: 44.98 kB / 467.9 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/0.3727, allocations: 1.75 kB / 467.9 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/0.3729, allocations: 50.73 kB / 467.9 MB, free: 18.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-05/0.3729, allocations: 6.188 kB / 467.9 MB, free: 18.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/0.3729, allocations: 2 kB / 467.9 MB, free: 18.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007215/0.3801, allocations: 4.182 MB / 472.1 MB, free: 17.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.3805, allocations: 143.4 kB / 472.3 MB, free: 16.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/0.3808, allocations: 86.92 kB / 472.3 MB, free: 16.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007099/0.3815, allocations: 108.4 kB / 472.4 MB, free: 16.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000892/0.3824, allocations: 375.4 kB / 472.8 MB, free: 16.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/0.3826, allocations: 61.19 kB / 472.9 MB, free: 16.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004236/0.3831, allocations: 296 kB / 473.2 MB, free: 16.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3831, allocations: 3.938 kB / 473.2 MB, free: 16.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001851/0.3849, allocations: 395.2 kB / 473.6 MB, free: 16.55 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 71 (P1.fireIn[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.enabledByInPlaces[1],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.disTAin[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.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.disTAout[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.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 54 (P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],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,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],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,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P1.disMarksOut.numtrue,P1.disMarksIn.numtrue,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * 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.008542/0.3935, allocations: 5.149 MB / 478.7 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004092/0.3976, allocations: 2.606 MB / 481.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.3976, allocations: 0 / 481.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003013/0.4007, allocations: 3.474 MB / 484.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.4012, allocations: 78.5 kB / 484.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.4152, allocations: 15.65 MB / 0.4888 GB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007846/0.416, allocations: 1.064 MB / 0.4898 GB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005287/0.4166, allocations: 189.5 kB / 0.49 GB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.4169, allocations: 259.2 kB / 0.4902 GB, free: 7.859 MB / 366.1 MB Notification: Performance of SimCode: time 1.893e-06/0.4169, allocations: 0 / 0.4902 GB, free: 7.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04193/0.4589, allocations: 21.32 MB / 0.5111 GB, free: 2.52 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003029/0.4593, allocations: 200 kB / 0.5113 GB, free: 2.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.275/2.735, allocations: 3.938 kB / 0.5113 GB, free: 2.277 MB / 382.1 MB (rm -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight.fmu > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat does not exist to compare? outputFormat=mat