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.001621/0.001621, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002116/0.002116, allocations: 214.5 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.07977/0.07977, allocations: 16.94 MB / 330.1 MB, free: 2.301 MB / 254.1 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: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 63.91 kB / 461 MB, free: 1.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1132, allocations: 57.64 MB / 0.5065 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.003528/0.1167, allocations: 1.881 MB / 0.5083 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003924/0.1206, allocations: 1.937 MB / 0.5102 GB, free: 4.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.121, allocations: 11.88 kB / 0.5102 GB, free: 4.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.1215, allocations: 127 kB / 0.5104 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005297/0.122, allocations: 158.9 kB / 0.5105 GB, free: 3.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.1242, allocations: 0.959 MB / 0.5115 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002055/0.1262, allocations: 1.427 MB / 0.5128 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.1265, allocations: 107.6 kB / 0.5129 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008966/0.1274, allocations: 0.5921 MB / 0.5135 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000886/0.1283, allocations: 0.5526 MB / 0.5141 GB, free: 312 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003077/0.1286, allocations: 140 kB / 0.5142 GB, free: 172 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2306/0.3592, allocations: 0.9967 MB / 0.5152 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003432/0.3596, allocations: 218.7 kB / 0.5154 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006993/0.3603, allocations: 0.5659 MB / 0.5159 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.3622, allocations: 1.834 MB / 0.5177 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3622, allocations: 0 / 0.5177 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3622, allocations: 1.25 kB / 0.5177 GB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.3622, allocations: 3.047 kB / 0.5177 GB, free: 10.91 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001878/0.3641, allocations: 1.508 MB / 0.5192 GB, free: 10.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3642, allocations: 11 kB / 0.5192 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004012/0.3646, allocations: 134.7 kB / 0.5193 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007823/0.3653, allocations: 497.5 kB / 0.5198 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.3655, allocations: 193 kB / 0.52 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.3656, allocations: 117.9 kB / 0.5201 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.3686, allocations: 2.032 MB / 0.5221 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.3687, allocations: 2.188 kB / 0.5221 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.3688, allocations: 55.64 kB / 0.5222 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/0.369, allocations: 94.75 kB / 0.5222 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.3712, allocations: 1.428 MB / 0.5236 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004907/0.3761, allocations: 4.203 MB / 0.5277 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.3777, allocations: 1.03 MB / 0.5287 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.3791, allocations: 0.9195 MB / 0.5296 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.103e-05/0.3792, allocations: 7.359 kB / 0.5297 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001838/0.3811, allocations: 1.299 MB / 0.5309 GB, free: 5.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.545e-06/0.3811, allocations: 0 / 0.5309 GB, free: 5.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.005533/0.3866, allocations: 3.987 MB / 0.5348 GB, free: 3.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002756/0.3869, allocations: 0.6612 MB / 0.5355 GB, free: 2.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005417/0.3874, allocations: 0.5145 MB / 0.536 GB, free: 2.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-05/0.3875, allocations: 74.02 kB / 0.536 GB, free: 2.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.3877, allocations: 350.5 kB / 0.5364 GB, free: 2.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.3879, allocations: 246.2 kB / 0.5366 GB, free: 2.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003889/0.3883, allocations: 298.2 kB / 0.5369 GB, free: 2.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.3884, allocations: 331.5 kB / 0.5372 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/0.3891, allocations: 0.552 MB / 0.5377 GB, free: 1.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009415/0.3901, allocations: 1.023 MB / 0.5387 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/0.3935, allocations: 3.193 MB / 0.5419 GB, free: 14.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/0.3935, allocations: 7.625 kB / 0.5419 GB, free: 14.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003242/0.3967, allocations: 2.237 MB / 0.5441 GB, free: 13.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002635/0.397, allocations: 350.6 kB / 0.5444 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.397, allocations: 14.72 kB / 0.5444 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.604e-05/0.397, allocations: 24.91 kB / 0.5444 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.3975, allocations: 157.9 kB / 0.5446 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.019e-05/0.3975, allocations: 34.11 kB / 0.5446 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000665/0.3982, allocations: 169.8 kB / 0.5448 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.3983, allocations: 72.02 kB / 0.5448 GB, free: 13.08 MB / 398.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active input transitions\" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) \"number ofactive input transitions\" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) \"number of remaining active input transitions\" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer P1.enableOut.valid:DISCRETE(fixed = true protected = true ) \"valid solution\" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) \"best valid benefit\" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) \"theoretical benefit\" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) \"possible enabled transition\" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) \"iteration index\" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) \"sum of the enabling probabilities of the active output transitions\" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) \"number of active output transitions\" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) \"number of remaining active output transitions\" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) \"priority Index\" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real P1.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.001314/0.3996, allocations: 0.8965 MB / 0.5457 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.3998, allocations: 96.16 kB / 0.5458 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00503/0.4048, allocations: 3.351 MB / 0.5491 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.4049, allocations: 14.58 kB / 0.5491 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4049, allocations: 4 kB / 0.5491 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4049, allocations: 1.094 kB / 0.5491 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006782/0.4117, allocations: 4.729 MB / 0.5537 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.4117, allocations: 7.812 kB / 0.5537 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.4118, allocations: 35.72 kB / 0.5538 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.4118, allocations: 1.531 kB / 0.5538 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.4119, allocations: 57.56 kB / 0.5538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.412, allocations: 3.625 kB / 0.5538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.412, allocations: 4 kB / 0.5538 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/0.417, allocations: 3.482 MB / 0.5572 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.4171, allocations: 71.3 kB / 0.5573 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002627/0.4174, allocations: 96.67 kB / 0.5574 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00064/0.418, allocations: 103.9 kB / 0.5575 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006468/0.4187, allocations: 381.5 kB / 0.5578 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.4188, allocations: 62.62 kB / 0.5579 GB, free: 4.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003673/0.4192, allocations: 299.1 kB / 0.5582 GB, free: 4.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4192, allocations: 0 / 0.5582 GB, free: 4.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001452/0.4207, allocations: 495.3 kB / 0.5587 GB, free: 3.773 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.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.0009377/0.4216, allocations: 486.2 kB / 0.5591 GB, free: 3.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003573/0.4252, allocations: 2.458 MB / 0.5615 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4252, allocations: 0 / 0.5615 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002212/0.4274, allocations: 1.635 MB / 0.5631 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.4281, allocations: 135 kB / 0.5632 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.432, allocations: 2.289 MB / 0.5655 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007263/0.4327, allocations: 1.014 MB / 0.5665 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.4329, allocations: 59.42 kB / 0.5665 GB, free: 11.55 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4329, allocations: 4 kB / 0.5665 GB, free: 11.54 MB / 414.1 MB Notification: Performance of Templates: time 0.02628/0.4592, allocations: 17.08 MB / 0.5832 GB, free: 10.44 MB / 430.1 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 -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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/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 _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' _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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ 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' _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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ 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 _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: 4.375389878870919] Failed to read output from testmodel.py, exit status != 0: 0.4684757059440017 0.48337598 0.11792880200000001 Calling exit ...