Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.TCtoPC.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.001316/0.001316, allocations: 102.1 kB / 19.7 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.001434/0.001434, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 8.074 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.07992/0.07992, allocations: 16.93 MB / 330.1 MB, free: 2.352 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.TCtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPC") translateModel(PNlib.Examples.ConTest.TCtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.TCtoPC") [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.00204/0.00204, allocations: 67.89 kB / 461 MB, free: 1.867 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1152, allocations: 57.63 MB / 0.5065 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPC): time 0.003689/0.1188, allocations: 2.026 MB / 0.5085 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.1223, allocations: 1.702 MB / 0.5101 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004482/0.1228, allocations: 11.94 kB / 0.5101 GB, free: 4.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.1232, allocations: 139 kB / 0.5103 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006334/0.1239, allocations: 143 kB / 0.5104 GB, free: 4.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.1258, allocations: 0.7554 MB / 0.5111 GB, free: 3.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.1277, allocations: 1.35 MB / 0.5124 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.128, allocations: 84.12 kB / 0.5125 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008444/0.1288, allocations: 0.5493 MB / 0.5131 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007498/0.1296, allocations: 382.1 kB / 0.5134 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002079/0.1298, allocations: 72 kB / 0.5135 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.1309, allocations: 0.6162 MB / 0.5141 GB, free: 336 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.1312, allocations: 179.2 kB / 0.5143 GB, free: 156 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2282/0.3593, allocations: 335.2 kB / 0.5146 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.3612, allocations: 1.086 MB / 0.5157 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3612, allocations: 1.156 kB / 0.5157 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3612, allocations: 2.625 kB / 0.5157 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.3612, allocations: 0 / 0.5157 GB, free: 11.11 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.001635/0.3628, allocations: 1.264 MB / 0.5169 GB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3629, allocations: 13.47 kB / 0.5169 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006292/0.3635, allocations: 139.6 kB / 0.517 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.364, allocations: 346 kB / 0.5174 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.3642, allocations: 215.8 kB / 0.5176 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3643, allocations: 80.97 kB / 0.5176 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.3657, allocations: 1.118 MB / 0.5187 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.3658, allocations: 4.734 kB / 0.5187 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.3658, allocations: 33.8 kB / 0.5188 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.884e-05/0.3659, allocations: 58.08 kB / 0.5188 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.3672, allocations: 0.7668 MB / 0.5196 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.3704, allocations: 2.666 MB / 0.5222 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009331/0.3713, allocations: 0.5352 MB / 0.5227 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006495/0.3719, allocations: 438.6 kB / 0.5231 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/0.373, allocations: 331.3 kB / 0.5234 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009506/0.3739, allocations: 0.6538 MB / 0.5241 GB, free: 8.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=68): time 2.495e-06/0.3739, allocations: 0 / 0.5241 GB, free: 8.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=68): time 0.003094/0.377, allocations: 2 MB / 0.526 GB, free: 7.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000216/0.3772, allocations: 0.5272 MB / 0.5265 GB, free: 6.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.3776, allocations: 377.2 kB / 0.5269 GB, free: 6.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.92e-05/0.3777, allocations: 58.48 kB / 0.527 GB, free: 6.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.3779, allocations: 263.3 kB / 0.5272 GB, free: 6.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.378, allocations: 185.8 kB / 0.5274 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.3783, allocations: 204.9 kB / 0.5276 GB, free: 6.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.3783, allocations: 369.1 kB / 0.5279 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.3788, allocations: 327 kB / 0.5282 GB, free: 5.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.3795, allocations: 0.6434 MB / 0.5289 GB, free: 5.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.3809, allocations: 1.629 MB / 0.5305 GB, free: 3.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.3809, allocations: 6.344 kB / 0.5305 GB, free: 3.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001863/0.3828, allocations: 1.563 MB / 0.532 GB, free: 3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.3829, allocations: 353.4 kB / 0.5323 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001002/0.3839, allocations: 0.7181 MB / 0.533 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003674/0.3843, allocations: 80.88 kB / 0.5331 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.3847, allocations: 106 kB / 0.5332 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003673/0.385, allocations: 0.6072 MB / 0.5338 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.3855, allocations: 112.9 kB / 0.5339 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-05/0.3856, allocations: 53.12 kB / 0.534 GB, free: 1.652 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: 44 * 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 (107): * Single equations (assignments): 95 * 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.0008495/0.3864, allocations: 0.7008 MB / 0.5347 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.3866, allocations: 67.25 kB / 0.5347 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.389, allocations: 1.646 MB / 0.5363 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.389, allocations: 9.391 kB / 0.5363 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.389, allocations: 3.453 kB / 0.5363 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.389, allocations: 2.172 kB / 0.5363 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004005/0.393, allocations: 2.471 MB / 0.5388 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002319/0.3953, allocations: 1.551 MB / 0.5403 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.3955, allocations: 35.92 kB / 0.5403 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/0.3957, allocations: 53.03 kB / 0.5404 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.462e-05/0.3958, allocations: 41.61 kB / 0.5404 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005222/0.3963, allocations: 0.59 MB / 0.541 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3963, allocations: 0 / 0.541 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004236/0.4005, allocations: 2.554 MB / 0.5435 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.4007, allocations: 48.89 kB / 0.5435 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.4009, allocations: 74.19 kB / 0.5436 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.4013, allocations: 50.45 kB / 0.5436 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.4015, allocations: 60.22 kB / 0.5437 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.4016, allocations: 48.14 kB / 0.5437 GB, free: 12.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003121/0.4019, allocations: 226.9 kB / 0.5439 GB, free: 12.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4019, allocations: 0 / 0.5439 GB, free: 12.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001377/0.4033, allocations: 301.8 kB / 0.5442 GB, free: 12.39 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.001058/0.4044, allocations: 357.4 kB / 0.5446 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002617/0.407, allocations: 1.704 MB / 0.5462 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.407, allocations: 1.812 kB / 0.5462 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.4084, allocations: 1.142 MB / 0.5474 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/0.409, allocations: 93.09 kB / 0.5474 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.4119, allocations: 1.394 MB / 0.5488 GB, free: 9.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006551/0.4126, allocations: 0.9092 MB / 0.5497 GB, free: 8.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.4127, allocations: 50.72 kB / 0.5497 GB, free: 8.938 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4127, allocations: 3.938 kB / 0.5497 GB, free: 8.934 MB / 398.1 MB Notification: Performance of Templates: time 0.02189/0.4346, allocations: 13.05 MB / 0.5625 GB, free: 15.55 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPC.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.ConTest.TCtoPC.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.TCtoPCCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop142.cpp:102:226: 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, tmp153, tmp154, (_system->_P1_P_fireIn_ && (!tmp155)), (tmp156 && (!tmp157)), tmp158); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop142.cpp:102:249: 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, tmp153, tmp154, (_system->_P1_P_fireIn_ && (!tmp155)), (tmp156 && (!tmp157)), tmp158); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop37.cpp:100:226: 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, tmp160, tmp161, tmp162, tmp163, tmp164, tmp165, (_system->_P1_P_fireIn_ && (!tmp166)), (tmp167 && (!tmp168)), tmp169); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPCAlgloop37.cpp:100:249: 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, tmp160, tmp161, tmp162, tmp163, tmp164, tmp165, (_system->_P1_P_fireIn_ && (!tmp166)), (tmp167 && (!tmp168)), tmp169); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.TCtoPC.cpp:1033:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp204,(!tmp205),tmp206); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.TCtoPCCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.30454131308943] Failed to read output from testmodel.py, exit status != 0: 0.4440520138014108 0.459171181 0.09462920000000001 Calling exit ...