Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPCfunction.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.001557/0.001557, 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.001827/0.001827, allocations: 212.3 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.08035/0.08035, allocations: 16.94 MB / 330.1 MB, free: 2.293 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.ConTest.TCtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPCfunction") translateModel(PNlib.Examples.ConTest.TCtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPCfunction") [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.002109/0.002109, allocations: 75.89 kB / 461 MB, free: 1.824 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1117, allocations: 57.63 MB / 0.5065 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPCfunction): time 0.003617/0.1154, allocations: 2.014 MB / 0.5084 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003691/0.1191, allocations: 1.702 MB / 0.5101 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004124/0.1195, allocations: 15.88 kB / 0.5101 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000444/0.1199, allocations: 139 kB / 0.5103 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006262/0.1205, allocations: 147 kB / 0.5104 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.1225, allocations: 0.7474 MB / 0.5111 GB, free: 3.344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.1244, allocations: 1.358 MB / 0.5125 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.1246, allocations: 76.14 kB / 0.5125 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008616/0.1255, allocations: 0.5493 MB / 0.5131 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009599/0.1264, allocations: 378.2 kB / 0.5134 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.1266, allocations: 72 kB / 0.5135 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.1278, allocations: 0.6279 MB / 0.5141 GB, free: 292 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.1281, allocations: 171.3 kB / 0.5143 GB, free: 120 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2148/0.3429, allocations: 339.4 kB / 0.5146 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.3444, allocations: 1.088 MB / 0.5157 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3444, allocations: 2.625 kB / 0.5157 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3444, allocations: 0 / 0.5157 GB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.3444, allocations: 0 / 0.5157 GB, free: 11.08 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.00142/0.3458, allocations: 1.261 MB / 0.5169 GB, free: 10.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3459, allocations: 9.281 kB / 0.5169 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00061/0.3465, allocations: 139.1 kB / 0.517 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/0.347, allocations: 352 kB / 0.5174 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.3471, allocations: 216.6 kB / 0.5176 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.647e-05/0.3472, allocations: 77.92 kB / 0.5176 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.3486, allocations: 1.127 MB / 0.5187 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.3486, allocations: 1.188 kB / 0.5187 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.246e-05/0.3487, allocations: 35.39 kB / 0.5188 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.739e-05/0.3488, allocations: 54.58 kB / 0.5188 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.35, allocations: 0.7693 MB / 0.5196 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003034/0.3531, allocations: 2.685 MB / 0.5222 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009302/0.354, allocations: 0.5551 MB / 0.5227 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006472/0.3546, allocations: 466.3 kB / 0.5232 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009415/0.3556, allocations: 324.6 kB / 0.5235 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009264/0.3565, allocations: 0.6743 MB / 0.5242 GB, free: 8.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=68): time 2.274e-06/0.3565, allocations: 2.812 kB / 0.5242 GB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=68): time 0.003095/0.3596, allocations: 2.088 MB / 0.5262 GB, free: 7.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001827/0.3598, allocations: 0.5324 MB / 0.5267 GB, free: 6.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.3602, allocations: 369.4 kB / 0.5271 GB, free: 6.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.3602, allocations: 62.16 kB / 0.5271 GB, free: 6.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.3604, allocations: 252.6 kB / 0.5274 GB, free: 6.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.3605, allocations: 190.8 kB / 0.5276 GB, free: 6.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.3607, allocations: 204.6 kB / 0.5278 GB, free: 5.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.3608, allocations: 362.8 kB / 0.5281 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.3613, allocations: 338.1 kB / 0.5284 GB, free: 5.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.362, allocations: 0.6279 MB / 0.529 GB, free: 5.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.3634, allocations: 1.619 MB / 0.5306 GB, free: 3.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.3634, allocations: 8.609 kB / 0.5306 GB, free: 3.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001933/0.3653, allocations: 1.559 MB / 0.5321 GB, free: 2.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.3654, allocations: 356.8 kB / 0.5325 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001004/0.3665, allocations: 0.7337 MB / 0.5332 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003805/0.3668, allocations: 81.23 kB / 0.5333 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.3671, allocations: 105.3 kB / 0.5334 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000373/0.3675, allocations: 0.6206 MB / 0.534 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/0.3679, allocations: 110.9 kB / 0.5341 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-05/0.368, allocations: 50.97 kB / 0.5341 GB, free: 1.59 MB / 382.1 MB Warning: Assuming fixed start value for the following 18 variables: P1.enableOut.Index:DISCRETE(fixed = true protected = true ) 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.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.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.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 P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 101 ($PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.randNum,$PRE.P1.enableOut.randNum,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,$whenCondition3,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition2,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.fireIn[1],$PRE.P1.fireIn[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008155/0.3688, allocations: 0.7111 MB / 0.5348 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.369, allocations: 66.33 kB / 0.5349 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/0.3714, allocations: 1.702 MB / 0.5366 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3714, allocations: 8.672 kB / 0.5366 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3714, allocations: 0 / 0.5366 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.3714, allocations: 3.844 kB / 0.5366 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00382/0.3752, allocations: 2.522 MB / 0.539 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002296/0.3775, allocations: 1.597 MB / 0.5406 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.3777, allocations: 25.03 kB / 0.5406 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/0.3779, allocations: 64.64 kB / 0.5407 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.578e-05/0.378, allocations: 36.97 kB / 0.5407 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004895/0.3784, allocations: 0.6124 MB / 0.5413 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3784, allocations: 1.781 kB / 0.5413 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/0.3825, allocations: 2.616 MB / 0.5439 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.753e-05/0.3826, allocations: 50.83 kB / 0.5439 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.3827, allocations: 71.81 kB / 0.544 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.3831, allocations: 52.67 kB / 0.544 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.3832, allocations: 65.67 kB / 0.5441 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.762e-05/0.3833, allocations: 42.44 kB / 0.5441 GB, free: 12.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002498/0.3836, allocations: 224.1 kB / 0.5444 GB, free: 12.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3836, allocations: 4 kB / 0.5444 GB, free: 12.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001172/0.3848, allocations: 300.1 kB / 0.5446 GB, free: 12.22 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (P1.t_) * Number of discrete variables: 54 (P1.disMarksInOut,$whenCondition2,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,P1.enableIn.cumEnablingProb[1],P1.enableIn.remTAin[1],P1.enableIn.disTAin[1],P1.enableIn.TEin[1],P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition3,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1]) * Number of discrete states: 50 (P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$whenCondition3,P1.fireIn[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,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.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009664/0.3857, allocations: 364.2 kB / 0.545 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003103/0.3888, allocations: 1.728 MB / 0.5467 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3888, allocations: 0 / 0.5467 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.3903, allocations: 1.163 MB / 0.5478 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/0.391, allocations: 82.81 kB / 0.5479 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.3938, allocations: 1.434 MB / 0.5493 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.3944, allocations: 0.912 MB / 0.5502 GB, free: 8.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.3945, allocations: 50.88 kB / 0.5502 GB, free: 8.719 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3945, allocations: 0 / 0.5502 GB, free: 8.719 MB / 398.1 MB Notification: Performance of Templates: time 0.01978/0.4143, allocations: 13.03 MB / 0.563 GB, free: 15.01 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPCfunction.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.ConTest.TCtoPCfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop140.cpp:100:256: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp149, tmp150, tmp151, tmp152, _system->_P1_P_enableIn_P_arcWeight_, tmp153, (_system->_P1_P_fireIn_ && (!tmp154)), (tmp155 && (!tmp156)), tmp157); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop140.cpp:100:279: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp149, tmp150, tmp151, tmp152, _system->_P1_P_enableIn_P_arcWeight_, tmp153, (_system->_P1_P_fireIn_ && (!tmp154)), (tmp155 && (!tmp156)), tmp157); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop36.cpp:98:256: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp159, tmp160, tmp161, tmp162, _system->_P1_P_enableIn_P_arcWeight_, tmp163, (_system->_P1_P_fireIn_ && (!tmp164)), (tmp165 && (!tmp166)), tmp167); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionAlgloop36.cpp:98:279: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_P1_P_conMarkChange_, 0.0, tmp159, tmp160, tmp161, tmp162, _system->_P1_P_enableIn_P_arcWeight_, tmp163, (_system->_P1_P_fireIn_ && (!tmp164)), (tmp165 && (!tmp166)), tmp167); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunction.cpp:1033:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp202,(!tmp203),tmp204); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.TCtoPCfunctionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.315120319835842] Failed to read output from testmodel.py, exit status != 0: 0.4237071620300412 0.437619548 0.090106458 Calling exit ...