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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 119.9 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.09001/0.09001, allocations: 16.97 MB / 320.3 MB, free: 13.14 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.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: 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 0.001958/0.001958, allocations: 62.72 kB / 447.2 MB, free: 44.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1719, allocations: 56.42 MB / 0.4919 GB, free: 18.47 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.004719/0.1767, allocations: 1.988 MB / 0.4938 GB, free: 16.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004704/0.1814, allocations: 1.567 MB / 0.4953 GB, free: 15.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000557/0.1819, allocations: 10.66 kB / 0.4953 GB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.1825, allocations: 140.4 kB / 0.4955 GB, free: 15.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007315/0.1832, allocations: 172.4 kB / 0.4956 GB, free: 15.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.1856, allocations: 0.6505 MB / 0.4963 GB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002264/0.1878, allocations: 1.36 MB / 0.4976 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005082/0.1883, allocations: 176.6 kB / 0.4978 GB, free: 13.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009073/0.1892, allocations: 0.5636 MB / 0.4983 GB, free: 13.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009421/0.1902, allocations: 0.5164 MB / 0.4988 GB, free: 13.22 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.1905, allocations: 132.1 kB / 0.4989 GB, free: 13.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.192, allocations: 0.5206 MB / 0.4995 GB, free: 12.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003613/0.1923, allocations: 248 kB / 0.4997 GB, free: 12.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007795/0.1931, allocations: 0.5583 MB / 0.5002 GB, free: 12.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.1957, allocations: 1.589 MB / 0.5018 GB, free: 11.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1957, allocations: 0 / 0.5018 GB, free: 11.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1957, allocations: 3.938 kB / 0.5018 GB, free: 11.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.1958, allocations: 0 / 0.5018 GB, free: 11.29 MB / 366.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.003092/0.1989, allocations: 1.597 MB / 0.5034 GB, free: 9.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.1989, allocations: 15.89 kB / 0.5034 GB, free: 9.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.2007, allocations: 236.1 kB / 0.5036 GB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.2018, allocations: 0.5417 MB / 0.5041 GB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.202, allocations: 256.2 kB / 0.5044 GB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/0.2023, allocations: 120 kB / 0.5045 GB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004548/0.2068, allocations: 1.959 MB / 0.5064 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.2069, allocations: 0 / 0.5064 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/0.2071, allocations: 59.97 kB / 0.5065 GB, free: 6.449 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002795/0.2074, allocations: 101.9 kB / 0.5065 GB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/0.2111, allocations: 1.425 MB / 0.5079 GB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007316/0.2184, allocations: 3.543 MB / 0.5114 GB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.2209, allocations: 0.9461 MB / 0.5123 GB, free: 328 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/0.2232, allocations: 0.8186 MB / 0.5131 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004043/0.2272, allocations: 3.05 MB / 0.5161 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003268/0.2305, allocations: 1.099 MB / 0.5172 GB, free: 10.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 4.83e-06/0.2305, allocations: 0 / 0.5172 GB, free: 10.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.01028/0.2408, allocations: 3.359 MB / 0.5205 GB, free: 7.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008189/0.2416, allocations: 0.6627 MB / 0.5211 GB, free: 6.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.2428, allocations: 0.5092 MB / 0.5216 GB, free: 5.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.2431, allocations: 73.94 kB / 0.5217 GB, free: 5.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005729/0.2436, allocations: 392.6 kB / 0.522 GB, free: 5.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/0.2441, allocations: 246.2 kB / 0.5223 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007242/0.2448, allocations: 302.8 kB / 0.5226 GB, free: 4.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003326/0.2451, allocations: 382.8 kB / 0.5229 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.2469, allocations: 0.5576 MB / 0.5235 GB, free: 3.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.2495, allocations: 1.034 MB / 0.5245 GB, free: 2.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007537/0.257, allocations: 3.119 MB / 0.5275 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-05/0.257, allocations: 7.938 kB / 0.5275 GB, free: 15.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.006604/0.2636, allocations: 2.25 MB / 0.5297 GB, free: 12.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000508/0.2641, allocations: 378.6 kB / 0.5301 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003423/0.2676, allocations: 1.241 MB / 0.5313 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.776e-05/0.2676, allocations: 20 kB / 0.5313 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.2686, allocations: 176 kB / 0.5315 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.103e-05/0.2687, allocations: 31.92 kB / 0.5315 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.2701, allocations: 167 kB / 0.5317 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.2703, allocations: 68 kB / 0.5318 GB, free: 10.69 MB / 398.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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.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.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.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.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.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.numtrue,P1.feeding.anytrue,P1.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],$PRE.P1.enableIn.TEin[1],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],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,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.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.fireOut[1],P1.fireIn[1],$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.002358/0.2727, allocations: 0.916 MB / 0.5326 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000477/0.2731, allocations: 91.62 kB / 0.5327 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008136/0.2813, allocations: 2.721 MB / 0.5354 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002751/0.2815, allocations: 4 kB / 0.5354 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.2816, allocations: 0 / 0.5354 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.2816, allocations: 4 kB / 0.5354 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008829/0.2904, allocations: 4.097 MB / 0.5394 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004501/0.2949, allocations: 2.648 MB / 0.542 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.2951, allocations: 39.91 kB / 0.542 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.2951, allocations: 4 kB / 0.542 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.2953, allocations: 55.95 kB / 0.5421 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.2953, allocations: 3.938 kB / 0.5421 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.2953, allocations: 4 kB / 0.5421 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007139/0.3024, allocations: 4.092 MB / 0.5461 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.3027, allocations: 140.6 kB / 0.5462 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.303, allocations: 83.97 kB / 0.5463 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000689/0.3036, allocations: 95.98 kB / 0.5464 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007125/0.3044, allocations: 363.6 kB / 0.5467 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/0.3045, allocations: 67.95 kB / 0.5468 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004903/0.305, allocations: 295.1 kB / 0.5471 GB, free: 10.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.305, allocations: 3.938 kB / 0.5471 GB, free: 10.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001772/0.3068, allocations: 407.2 kB / 0.5475 GB, free: 10.21 MB / 414.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.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.outPlaces[1].enabledByInPlaces,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 (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.001107/0.3079, allocations: 373.7 kB / 0.5478 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004298/0.3122, allocations: 2.403 MB / 0.5502 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3122, allocations: 0 / 0.5502 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002524/0.3147, allocations: 1.618 MB / 0.5518 GB, free: 5.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.3154, allocations: 124.2 kB / 0.5519 GB, free: 5.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.3199, allocations: 2.227 MB / 0.5541 GB, free: 3.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008989/0.3208, allocations: 1.045 MB / 0.5551 GB, free: 2.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.321, allocations: 55.42 kB / 0.5551 GB, free: 2.062 MB / 414.1 MB Notification: Performance of SimCode: time 2.194e-06/0.321, allocations: 0 / 0.5551 GB, free: 2.062 MB / 414.1 MB Notification: Performance of Templates: time 0.02905/0.3501, allocations: 15.86 MB / 0.5706 GB, free: 2.133 MB / 430.1 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 -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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:1102:167: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _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:1102:197: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _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 _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp198),tmp199); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:1375:80: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_TAein_,(!tmp242),tmp243); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:1833:184: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp293, tmp294, tmp295, tmp296, tmp297, tmp298, (_P1_P_disMarksOut_P_vec_ && (!tmp299)), (_P1_P_disMarksOut_P_vec_ && (!tmp300)), tmp301); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.cpp:1833:225: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp293, tmp294, tmp295, tmp296, tmp297, tmp298, (_P1_P_disMarksOut_P_vec_ && (!tmp299)), (_P1_P_disMarksOut_P_vec_ && (!tmp300)), tmp301); ^~~~~~~ 6 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.HybLoopAndArcweightCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.015698563074693] Failed to read output from testmodel.py, exit status != 0: 0.6306210779584944 0.373472675 0.174560086 Calling exit ...