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.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.001077/0.001077, allocations: 76.5 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.001187/0.001187, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.8705/0.8705, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.04444/0.04444, allocations: 12.64 MB / 272.6 MB, free: 0.7344 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.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 403.5 MB, free: 8.969 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.882e-05, allocations: 9.031 kB / 403.5 MB, free: 8.961 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002079/0.002108, allocations: 1.727 MB / 405.2 MB, free: 7.227 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.004563, allocations: 1.851 MB / 407.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.004711, allocations: 11.94 kB / 407.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.005019, allocations: 126.8 kB / 407.2 MB, free: 5.234 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.00534, allocations: 170.8 kB / 407.4 MB, free: 5.066 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.006356, allocations: 0.9431 MB / 408.3 MB, free: 4.121 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009222/0.007278, allocations: 1.427 MB / 409.8 MB, free: 2.691 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.007474, allocations: 119.5 kB / 409.9 MB, free: 2.566 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005759/0.00805, allocations: 0.8189 MB / 410.7 MB, free: 1.746 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004336/0.008483, allocations: 482.6 kB / 411.2 MB, free: 1.273 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.00861, allocations: 140 kB / 411.3 MB, free: 1.137 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009152/0.009525, allocations: 0.9281 MB / 412.2 MB, free: 212 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1641/0.1737, allocations: 213.6 kB / 412.4 MB, free: 17.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009158/0.1746, allocations: 439.6 kB / 412.9 MB, free: 17.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002639/0.1772, allocations: 2.094 MB / 415 MB, free: 17.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1772, allocations: 0 / 415 MB, free: 17.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1772, allocations: 0 / 415 MB, free: 17.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.1772, allocations: 2.531 kB / 415 MB, free: 17.27 MB / 330.7 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.001643/0.1789, allocations: 1.471 MB / 416.4 MB, free: 16.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1789, allocations: 11.22 kB / 416.4 MB, free: 16.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/0.1792, allocations: 139.5 kB / 416.6 MB, free: 16.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/0.1798, allocations: 0.4885 MB / 417.1 MB, free: 16.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.18, allocations: 192 kB / 417.3 MB, free: 16.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.1801, allocations: 118.3 kB / 417.4 MB, free: 16.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.1827, allocations: 2.669 MB / 420 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.1827, allocations: 2.078 kB / 420 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.1829, allocations: 55.38 kB / 420.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.183, allocations: 93.56 kB / 420.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.1849, allocations: 1.831 MB / 422 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003308/0.1882, allocations: 3.731 MB / 425.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.1897, allocations: 1.416 MB / 427.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.191, allocations: 1.326 MB / 428.5 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.958e-05/0.1911, allocations: 12.97 kB / 428.5 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/0.1927, allocations: 1.746 MB / 430.3 MB, free: 8.965 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 1.984e-06/0.1927, allocations: 5.125 kB / 430.3 MB, free: 8.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=91): time 0.004522/0.1972, allocations: 4.911 MB / 435.2 MB, free: 6.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001981/0.1974, allocations: 0.6492 MB / 435.8 MB, free: 6.031 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.1977, allocations: 477.2 kB / 436.3 MB, free: 5.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.168e-05/0.1978, allocations: 75.52 kB / 436.4 MB, free: 5.719 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.1979, allocations: 372.6 kB / 436.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1981, allocations: 243.7 kB / 437 MB, free: 5.266 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.1983, allocations: 304.6 kB / 437.3 MB, free: 5.137 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.1984, allocations: 324.3 kB / 437.6 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006865/0.199, allocations: 0.8936 MB / 438.5 MB, free: 4.285 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008154/0.1999, allocations: 1.533 MB / 440 MB, free: 2.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.2018, allocations: 3.211 MB / 443.2 MB, free: 264 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.2018, allocations: 2.281 kB / 443.2 MB, free: 264 kB / 330.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002169/0.204, allocations: 2.584 MB / 445.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.2042, allocations: 348.9 kB / 446.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.2042, allocations: 12.84 kB / 446.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.2042, allocations: 20 kB / 446.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.2045, allocations: 161.2 kB / 446.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/0.2045, allocations: 30.73 kB / 446.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.2049, allocations: 158.1 kB / 446.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/0.2049, allocations: 71.94 kB / 446.6 MB, free: 13.45 MB / 346.7 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.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) \"firing sum\" type: Integer P1.firingSumIn.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,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.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,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.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,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],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.outPlaces[1].enabledByInPlaces,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007809/0.2057, allocations: 0.8841 MB / 447.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.2058, allocations: 91.67 kB / 447.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/0.2093, allocations: 3.891 MB / 451.4 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.2093, allocations: 8 kB / 451.5 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2093, allocations: 10.3 kB / 451.5 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2093, allocations: 0 / 451.5 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004532/0.2139, allocations: 4.927 MB / 456.4 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2139, allocations: 4 kB / 456.4 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.976e-05/0.214, allocations: 39.3 kB / 456.4 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.214, allocations: 4 kB / 456.4 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.547e-05/0.2141, allocations: 54.55 kB / 456.5 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.2141, allocations: 4 kB / 456.5 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2141, allocations: 3.938 kB / 456.5 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003471/0.2175, allocations: 4.026 MB / 460.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.2176, allocations: 63.44 kB / 460.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.2178, allocations: 87.97 kB / 460.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.2181, allocations: 112.4 kB / 460.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004358/0.2185, allocations: 384.1 kB / 461.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.2186, allocations: 66.62 kB / 461.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.2188, allocations: 247.2 kB / 461.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2188, allocations: 0 / 461.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001305/0.2201, allocations: 499.2 kB / 462 MB, free: 13.74 MB / 362.7 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.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.outPlaces[1].enabledByInPlaces,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 (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.0007666/0.2209, allocations: 0.5149 MB / 462.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002524/0.2234, allocations: 3.215 MB / 465.7 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2234, allocations: 448 / 465.7 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.225, allocations: 2.022 MB / 467.7 MB, free: 7.676 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.2254, allocations: 109.4 kB / 467.8 MB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.2281, allocations: 2.659 MB / 470.5 MB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.2284, allocations: 412.4 kB / 470.9 MB, free: 4.406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/0.2285, allocations: 60.48 kB / 470.9 MB, free: 4.344 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2285, allocations: 0 / 470.9 MB, free: 4.344 MB / 362.7 MB Notification: Performance of Templates: time 0.01344/0.2419, allocations: 16.58 MB / 487.5 MB, free: 3.707 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisTest.DisLoopAndArcweightCalcHelperMain.o OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweightCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweightCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweightInitialize.cpp:737:62: error: invalid argument type 'StatArrayDim1' to unary expression 737 | _P1_P_activeConOut_P_vec_.assign((_P1_P_activeOut__pre && (!_functions->_OMC_LIT1))); | ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweightInitialize.cpp:772:113: error: no matching function for call to object of type 'WrapArray' 772 | _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:722:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument 722 | virtual const T& operator()(const vector& idx) const | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:731:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument 731 | virtual T& operator()(const vector& idx) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweightCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweightInitialize.cpp:772:205: error: no matching function for call to object of type 'WrapArray' 772 | _P1_P_activeConOut_P_anychange_ = (_P1_P_activeConOut_P_anychange_ || ((!_P1_P_activeConOut_P_vec_(i_) && _discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)) || (_P1_P_activeConOut_P_vec_(i_) && !_discrete_events->pre(_P1_P_activeConOut_P_vec_)(i_)))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:722:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument 722 | virtual const T& operator()(const vector& idx) const | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:731:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument 731 | virtual T& operator()(const vector& idx) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweightCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.cpp:146:81: error: invalid argument type 'StatArrayDim1' to unary expression 146 | _P1_P_activeConOut_P_vec_.assign((_discrete_events->pre(_P1_P_activeOut_) && (!_functions->_OMC_LIT1))); | ^~~~~~~~~~~~~~~~~~~~~~ 4 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.DisTest.DisLoopAndArcweightCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.658975419588387] Failed to read output from testmodel.py, exit status != 0: 0.24730452336370945 0.2590321629999999 0.080116326 Calling exit ...