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.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.001185/0.001185, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00142/0.00142, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.928/0.928, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.04616/0.04616, allocations: 12.65 MB / 272.6 MB, free: 0.7227 MB / 250.7 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: translateModel(PNlib.Examples.HybTest.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") translateModel(PNlib.Examples.HybTest.HybLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 403.5 MB, free: 10.19 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.243e-05/3.435e-05, allocations: 6.219 kB / 403.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003288/0.003323, allocations: 1.821 MB / 405.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003434/0.006757, allocations: 1.524 MB / 406.8 MB, free: 6.824 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004209/0.007178, allocations: 11.94 kB / 406.8 MB, free: 6.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.007561, allocations: 142.8 kB / 407 MB, free: 6.672 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.008128, allocations: 178.8 kB / 407.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.009897, allocations: 0.6917 MB / 407.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.01148, allocations: 1.4 MB / 409.2 MB, free: 4.402 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.01175, allocations: 115.7 kB / 409.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009471/0.0127, allocations: 0.7954 MB / 410.2 MB, free: 3.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008028/0.0135, allocations: 478.6 kB / 410.6 MB, free: 3.012 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.01376, allocations: 136 kB / 410.8 MB, free: 2.879 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009506/0.01471, allocations: 0.5888 MB / 411.3 MB, free: 2.289 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.01492, allocations: 262.9 kB / 411.6 MB, free: 2.031 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.01526, allocations: 415.1 kB / 412 MB, free: 1.625 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.01723, allocations: 1.788 MB / 413.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01723, allocations: 4 kB / 413.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01723, allocations: 0 / 413.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.384e-05/0.01727, allocations: 0 / 413.8 MB, free: 15.83 MB / 394.7 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.002033/0.0193, allocations: 1.594 MB / 415.4 MB, free: 14.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.01934, allocations: 8.031 kB / 415.4 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000633/0.01997, allocations: 232.2 kB / 415.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007043/0.02068, allocations: 0.4924 MB / 416.1 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002862/0.02096, allocations: 418.9 kB / 416.5 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.02113, allocations: 123.9 kB / 416.7 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/0.02393, allocations: 2.59 MB / 419.2 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.02395, allocations: 0 / 419.2 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/0.02404, allocations: 59.97 kB / 419.3 MB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.02416, allocations: 101.9 kB / 419.4 MB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.02622, allocations: 1.826 MB / 421.2 MB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003849/0.03006, allocations: 3.01 MB / 424.2 MB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.03139, allocations: 1.362 MB / 425.6 MB, free: 3.434 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.03245, allocations: 1.228 MB / 426.8 MB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006472/0.03309, allocations: 339.7 kB / 427.2 MB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.03439, allocations: 1.501 MB / 428.7 MB, free: 228 kB / 394.7 MB Notification: Performance of pre-optimization done (n=88): time 2.976e-06/0.03439, allocations: 0 / 428.7 MB, free: 228 kB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.00441/0.0388, allocations: 4.205 MB / 432.9 MB, free: 11.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003086/0.03911, allocations: 0.6549 MB / 433.5 MB, free: 11.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.03954, allocations: 484.9 kB / 434 MB, free: 10.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.794e-05/0.03962, allocations: 73.69 kB / 434.1 MB, free: 10.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.03986, allocations: 396.6 kB / 434.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.04003, allocations: 242.2 kB / 434.7 MB, free: 9.875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.0403, allocations: 302.8 kB / 435 MB, free: 9.574 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.04043, allocations: 378.8 kB / 435.4 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007634/0.04119, allocations: 0.9156 MB / 436.3 MB, free: 8.211 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009559/0.04215, allocations: 1.53 MB / 437.8 MB, free: 6.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/0.0446, allocations: 3.156 MB / 441 MB, free: 2.809 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-05/0.04462, allocations: 4 kB / 441 MB, free: 2.805 MB / 410.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003219/0.04784, allocations: 2.63 MB / 443.6 MB, free: 32 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1828/0.2306, allocations: 375.7 kB / 444 MB, free: 79.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001297/0.2319, allocations: 1.489 MB / 445.4 MB, free: 78.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.702e-05/0.2319, allocations: 19.86 kB / 445.5 MB, free: 78.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.2323, allocations: 168.6 kB / 445.6 MB, free: 78.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.2323, allocations: 33.62 kB / 445.7 MB, free: 78.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/0.2328, allocations: 161.2 kB / 445.8 MB, free: 78.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/0.2329, allocations: 70.88 kB / 445.9 MB, free: 78.93 MB / 410.7 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.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean 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,P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.randNum,$PRE.P1.enableOut.randNum,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.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.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,P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.randNum,$PRE.P1.enableIn.randNum,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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition5,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.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.TEout[1],$PRE.T1.firingTime,T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P1.fireIn[1],P1.fireOut[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],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,T1.outPlaces[1].enabledByInPlaces,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * 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.0009383/0.2338, allocations: 0.8938 MB / 446.8 MB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.234, allocations: 91.61 kB / 446.9 MB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.2363, allocations: 3.089 MB / 450 MB, free: 77.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.2363, allocations: 6.156 kB / 450 MB, free: 77.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2364, allocations: 0 / 450 MB, free: 77.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2364, allocations: 6.25 kB / 450 MB, free: 77.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.2396, allocations: 4.094 MB / 454.1 MB, free: 75.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002214/0.2418, allocations: 3.017 MB / 457.1 MB, free: 73.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.242, allocations: 42.03 kB / 457.1 MB, free: 73.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.242, allocations: 10.16 kB / 457.1 MB, free: 73.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.251e-05/0.2421, allocations: 52.39 kB / 457.2 MB, free: 73.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.196e-06/0.2421, allocations: 6.375 kB / 457.2 MB, free: 73.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2421, allocations: 3.203 kB / 457.2 MB, free: 73.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/0.2458, allocations: 4.971 MB / 462.2 MB, free: 71.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.2459, allocations: 56.62 kB / 462.2 MB, free: 71.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.2461, allocations: 88.69 kB / 462.3 MB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.2463, allocations: 96.86 kB / 462.4 MB, free: 71.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003778/0.2467, allocations: 371 kB / 462.8 MB, free: 70.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/0.2468, allocations: 54.03 kB / 462.8 MB, free: 70.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001719/0.247, allocations: 257.2 kB / 463.1 MB, free: 70.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.247, allocations: 3.406 kB / 463.1 MB, free: 70.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001025/0.248, allocations: 406.6 kB / 463.5 MB, free: 70.79 MB / 410.7 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,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,P1.enableOut.cumEnablingProb[1],P1.enableOut.remTAout[1],P1.enableOut.disTAout[1],P1.enableOut.TEout[1],P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,P1.enableIn.cumEnablingProb[1],P1.enableIn.remTAin[1],P1.enableIn.disTAin[1],P1.enableIn.TEin[1],P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.disMarksInOut,P1.outTransition[1].tokenInOut,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue) * 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 (47): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * 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.0005223/0.2485, allocations: 413.6 kB / 463.9 MB, free: 70.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.2506, allocations: 3.191 MB / 467.1 MB, free: 68.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.2507, allocations: 1.438 kB / 467.1 MB, free: 68.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.2519, allocations: 2.038 MB / 469.1 MB, free: 67.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.2523, allocations: 102 kB / 469.2 MB, free: 67.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.2553, allocations: 2.58 MB / 471.8 MB, free: 65.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2556, allocations: 451.5 kB / 472.2 MB, free: 65.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.2557, allocations: 51.92 kB / 472.3 MB, free: 65.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.2557, allocations: 0 / 472.3 MB, free: 65.66 MB / 410.7 MB Notification: Performance of Templates: time 0.01909/0.2748, allocations: 15.51 MB / 487.8 MB, free: 63.42 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightInitialize.cpp:1092:170: error: invalid argument type 'StatArrayDim1' to unary expression 1092 | _functions->PNlib_Functions_decreasingFactor(1, 1, _P1_P_t__, _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp43, tmp44, tmp45, tmp46, tmp47, tmp48, (_P1_P_fireIn_ && (!tmp49)), (_P1_P_fireOut_ && (!tmp50)), tmp51); | ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightInitialize.cpp:1092:200: error: invalid argument type 'StatArrayDim1' to unary expression 1092 | _functions->PNlib_Functions_decreasingFactor(1, 1, _P1_P_t__, _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp43, tmp44, tmp45, tmp46, tmp47, tmp48, (_P1_P_fireIn_ && (!tmp49)), (_P1_P_fireOut_ && (!tmp50)), tmp51); | ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:934:81: error: invalid argument type 'StatArrayDim1' to unary expression 934 | _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp196),tmp197); | ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:1375:80: error: invalid argument type 'StatArrayDim1' to unary expression 1375 | _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_TAein_,(!tmp240),tmp241); | ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:1833:187: error: invalid argument type 'StatArrayDim1' to unary expression 1833 | _functions->PNlib_Functions_decreasingFactor(1, 1, _P1_P_t__, _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp291, tmp292, tmp293, tmp294, tmp295, tmp296, (_P1_P_disMarksOut_P_vec_ && (!tmp297)), (_P1_P_disMarksOut_P_vec_ && (!tmp298)), tmp299); | ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:1833:228: error: invalid argument type 'StatArrayDim1' to unary expression 1833 | _functions->PNlib_Functions_decreasingFactor(1, 1, _P1_P_t__, _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp291, tmp292, tmp293, tmp294, tmp295, tmp296, (_P1_P_disMarksOut_P_vec_ && (!tmp297)), (_P1_P_disMarksOut_P_vec_ && (!tmp298)), tmp299); | ^~~~~~~ 6 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.876205270178616] Failed to read output from testmodel.py, exit status != 0: 0.2826453931629658 0.28915091499999995 0.27039369199999996 Calling exit ...