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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 102.3 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002184/0.002184, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07998/0.07998, allocations: 16.97 MB / 322 MB, free: 8.363 MB / 254.1 MB [Timeout remaining time 90] 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=538,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=538,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 67.89 kB / 449.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1266, allocations: 56.41 MB / 0.4943 GB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.003645/0.1302, allocations: 1.989 MB / 0.4963 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.1335, allocations: 1.564 MB / 0.4978 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.1338, allocations: 7.938 kB / 0.4978 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004045/0.1342, allocations: 138.9 kB / 0.498 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005081/0.1347, allocations: 178.8 kB / 0.4981 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.1363, allocations: 0.654 MB / 0.4988 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.1378, allocations: 1.365 MB / 0.5001 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003354/0.1381, allocations: 175.2 kB / 0.5003 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007334/0.1388, allocations: 0.5569 MB / 0.5008 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006851/0.1395, allocations: 0.5173 MB / 0.5013 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.1397, allocations: 132 kB / 0.5014 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000857/0.1406, allocations: 0.5189 MB / 0.5019 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002971/0.1409, allocations: 255 kB / 0.5022 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005997/0.1415, allocations: 0.5523 MB / 0.5027 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.1435, allocations: 1.6 MB / 0.5043 GB, free: 6.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1435, allocations: 0 / 0.5043 GB, free: 6.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1435, allocations: 0 / 0.5043 GB, free: 6.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1435, allocations: 0 / 0.5043 GB, free: 6.934 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.002511/0.146, allocations: 1.598 MB / 0.5059 GB, free: 5.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.146, allocations: 11.89 kB / 0.5059 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.1471, allocations: 228.2 kB / 0.5061 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009016/0.148, allocations: 0.5455 MB / 0.5066 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000311/0.1484, allocations: 264.2 kB / 0.5069 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.1486, allocations: 128 kB / 0.507 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003468/0.152, allocations: 1.955 MB / 0.5089 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.1521, allocations: 0 / 0.5089 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.1522, allocations: 59.97 kB / 0.509 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000183/0.1524, allocations: 101.9 kB / 0.509 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002739/0.1551, allocations: 1.413 MB / 0.5104 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2743/0.4294, allocations: 3.534 MB / 0.5139 GB, free: 20.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.431, allocations: 0.9477 MB / 0.5148 GB, free: 20.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.4322, allocations: 0.8102 MB / 0.5156 GB, free: 20.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/0.4338, allocations: 3.047 MB / 0.5186 GB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001599/0.4354, allocations: 1.097 MB / 0.5196 GB, free: 17.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=88): time 2.384e-06/0.4354, allocations: 0 / 0.5196 GB, free: 17.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.005459/0.4408, allocations: 3.365 MB / 0.5229 GB, free: 15.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004134/0.4412, allocations: 0.6656 MB / 0.5236 GB, free: 15.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008551/0.4421, allocations: 0.5086 MB / 0.5241 GB, free: 14.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.4422, allocations: 72.47 kB / 0.5241 GB, free: 14.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.4425, allocations: 384.6 kB / 0.5245 GB, free: 14.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.4427, allocations: 254.8 kB / 0.5248 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004392/0.4432, allocations: 301.4 kB / 0.525 GB, free: 14.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4433, allocations: 385.5 kB / 0.5254 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009196/0.4442, allocations: 0.56 MB / 0.526 GB, free: 13.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.4454, allocations: 1.03 MB / 0.527 GB, free: 13.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003181/0.4486, allocations: 3.131 MB / 0.53 GB, free: 10.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.065e-05/0.4486, allocations: 5.969 kB / 0.53 GB, free: 10.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00316/0.4517, allocations: 2.256 MB / 0.5322 GB, free: 9.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001829/0.4519, allocations: 379.4 kB / 0.5326 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001974/0.4539, allocations: 1.231 MB / 0.5338 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.014e-05/0.4539, allocations: 21.34 kB / 0.5338 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.4545, allocations: 168.5 kB / 0.534 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.401e-05/0.4545, allocations: 30.27 kB / 0.534 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006745/0.4552, allocations: 174 kB / 0.5342 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.4553, allocations: 72.44 kB / 0.5342 GB, free: 8.699 MB / 382.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.001209/0.4565, allocations: 0.8955 MB / 0.5351 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.4567, allocations: 98.56 kB / 0.5352 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/0.4607, allocations: 2.714 MB / 0.5379 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4607, allocations: 5.531 kB / 0.5379 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.4607, allocations: 6.891 kB / 0.5379 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.4607, allocations: 6.859 kB / 0.5379 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005706/0.4664, allocations: 4.095 MB / 0.5419 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003387/0.4698, allocations: 2.655 MB / 0.5445 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.47, allocations: 44.78 kB / 0.5445 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.47, allocations: 6.688 kB / 0.5445 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.4701, allocations: 51.59 kB / 0.5446 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.4701, allocations: 3.953 kB / 0.5446 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4701, allocations: 5.312 kB / 0.5446 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005057/0.4752, allocations: 4.091 MB / 0.5486 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.4753, allocations: 136.5 kB / 0.5487 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.4755, allocations: 91.91 kB / 0.5488 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/0.4761, allocations: 99.97 kB / 0.5489 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004861/0.4766, allocations: 362.4 kB / 0.5492 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.4767, allocations: 59.95 kB / 0.5493 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000258/0.477, allocations: 295.1 kB / 0.5496 GB, free: 220 kB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.477, allocations: 2.625 kB / 0.5496 GB, free: 220 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001375/0.4783, allocations: 403.4 kB / 0.55 GB, free: 15.82 MB / 398.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.000801/0.4791, allocations: 387.3 kB / 0.5503 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00373/0.4829, allocations: 2.402 MB / 0.5527 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4829, allocations: 0 / 0.5527 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002169/0.485, allocations: 1.62 MB / 0.5543 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006593/0.4857, allocations: 121.6 kB / 0.5544 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.4897, allocations: 2.232 MB / 0.5565 GB, free: 8.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007455/0.4904, allocations: 1.041 MB / 0.5576 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.4906, allocations: 51.44 kB / 0.5576 GB, free: 7.707 MB / 398.1 MB Notification: Performance of SimCode: time 1.193e-06/0.4906, allocations: 4 kB / 0.5576 GB, free: 7.703 MB / 398.1 MB Notification: Performance of Templates: time 0.02439/0.515, allocations: 15.85 MB / 0.5731 GB, free: 7.793 MB / 414.1 MB [Timeout remaining time 659] 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/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.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