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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 114.4 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 194.1 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07813/0.07813, allocations: 16.96 MB / 320.3 MB, free: 13.14 MB / 254.1 MB " [Timeout remaining time 180] 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.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: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 65.31 kB / 447.2 MB, free: 45.35 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1064, allocations: 56.41 MB / 0.4918 GB, free: 18.7 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.TCtoPC): time 0.00288/0.1093, allocations: 2.017 MB / 0.4938 GB, free: 17.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.1123, allocations: 1.687 MB / 0.4955 GB, free: 15.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004042/0.1127, allocations: 10.84 kB / 0.4955 GB, free: 15.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.1131, allocations: 137.8 kB / 0.4956 GB, free: 15.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004768/0.1136, allocations: 146.2 kB / 0.4957 GB, free: 15.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.1151, allocations: 0.6957 MB / 0.4964 GB, free: 15.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.1163, allocations: 1.307 MB / 0.4977 GB, free: 14.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.1165, allocations: 94.98 kB / 0.4978 GB, free: 14.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/0.117, allocations: 0.5386 MB / 0.4983 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004458/0.1174, allocations: 362.6 kB / 0.4987 GB, free: 13.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.1175, allocations: 78.84 kB / 0.4987 GB, free: 13.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008053/0.1183, allocations: 0.5093 MB / 0.4992 GB, free: 13.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.1185, allocations: 168.8 kB / 0.4994 GB, free: 13.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.1188, allocations: 341.9 kB / 0.4997 GB, free: 12.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.1199, allocations: 1.08 MB / 0.5008 GB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1199, allocations: 0 / 0.5008 GB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1199, allocations: 1.375 kB / 0.5008 GB, free: 12.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.1199, allocations: 0 / 0.5008 GB, free: 12.18 MB / 366.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.001457/0.1214, allocations: 1.279 MB / 0.502 GB, free: 11.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1214, allocations: 13.2 kB / 0.502 GB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007181/0.1222, allocations: 139 kB / 0.5022 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.1226, allocations: 413.7 kB / 0.5026 GB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.1228, allocations: 151.2 kB / 0.5027 GB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/0.1229, allocations: 64 kB / 0.5028 GB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.1242, allocations: 1.126 MB / 0.5039 GB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.1243, allocations: 0 / 0.5039 GB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.458e-05/0.1243, allocations: 35.98 kB / 0.5039 GB, free: 9.191 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.189e-05/0.1244, allocations: 52.95 kB / 0.504 GB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.1256, allocations: 0.7731 MB / 0.5047 GB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.1282, allocations: 2.785 MB / 0.5074 GB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.129, allocations: 0.5327 MB / 0.508 GB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.1296, allocations: 434.4 kB / 0.5084 GB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.1309, allocations: 2.884 MB / 0.5112 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007882/0.1317, allocations: 0.6606 MB / 0.5118 GB, free: 272 kB / 366.1 MB Notification: Performance of pre-optimization done (n=68): time 2.404e-06/0.1317, allocations: 7.984 kB / 0.5118 GB, free: 264 kB / 366.1 MB Notification: Performance of matching and sorting (n=68): time 0.003753/0.1354, allocations: 2.094 MB / 0.5139 GB, free: 14.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004084/0.1358, allocations: 0.5359 MB / 0.5144 GB, free: 13.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004911/0.1363, allocations: 376.2 kB / 0.5148 GB, free: 13.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/0.1364, allocations: 65.64 kB / 0.5148 GB, free: 12.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.1367, allocations: 257 kB / 0.5151 GB, free: 12.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.1369, allocations: 194.6 kB / 0.5153 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.1372, allocations: 198.6 kB / 0.5154 GB, free: 12.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1374, allocations: 370.7 kB / 0.5158 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005928/0.1379, allocations: 330.1 kB / 0.5161 GB, free: 11.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009146/0.1389, allocations: 0.6462 MB / 0.5167 GB, free: 10.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.141, allocations: 1.62 MB / 0.5183 GB, free: 8.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/0.141, allocations: 8 kB / 0.5183 GB, free: 8.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002527/0.1435, allocations: 1.551 MB / 0.5199 GB, free: 7.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002788/0.1438, allocations: 354.7 kB / 0.5202 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001342/0.1451, allocations: 0.7397 MB / 0.5209 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003694/0.1455, allocations: 80.78 kB / 0.521 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.1459, allocations: 107.7 kB / 0.5211 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005596/0.1464, allocations: 0.6108 MB / 0.5217 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.1469, allocations: 107.3 kB / 0.5218 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.444e-05/0.147, allocations: 52.06 kB / 0.5218 GB, free: 5.168 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.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.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],$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.numtrue,P1.delayPassedOut.anytrue,$whenCondition3,$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.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition2,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,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.numtrue,P1.disMarksIn.anytrue,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$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.001048/0.1481, allocations: 0.7233 MB / 0.5225 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.1483, allocations: 71.66 kB / 0.5226 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/0.1511, allocations: 1.616 MB / 0.5242 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.1511, allocations: 4 kB / 0.5242 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1511, allocations: 0 / 0.5242 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1511, allocations: 0 / 0.5242 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.1551, allocations: 2.506 MB / 0.5266 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002511/0.1576, allocations: 1.522 MB / 0.5281 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.1578, allocations: 35.91 kB / 0.5282 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/0.158, allocations: 52.81 kB / 0.5282 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.595e-05/0.1581, allocations: 35.98 kB / 0.5282 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005138/0.1586, allocations: 0.603 MB / 0.5288 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1586, allocations: 4.031 kB / 0.5288 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004158/0.1628, allocations: 2.542 MB / 0.5313 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.1629, allocations: 128.7 kB / 0.5314 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.1631, allocations: 71.97 kB / 0.5315 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.1635, allocations: 47.97 kB / 0.5316 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.1637, allocations: 67.92 kB / 0.5316 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.185e-05/0.1638, allocations: 44.03 kB / 0.5317 GB, free: 10.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000266/0.164, allocations: 223 kB / 0.5319 GB, free: 10.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.164, allocations: 0 / 0.5319 GB, free: 10.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001114/0.1651, allocations: 295.6 kB / 0.5322 GB, free: 10.19 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,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.fireIn[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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.anytrue,P1.emptying.numtrue,$whenCondition3,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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.anytrue,P1.delayPassedOut.numtrue) * 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.0008709/0.166, allocations: 371.3 kB / 0.5325 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002765/0.1688, allocations: 1.701 MB / 0.5342 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.1688, allocations: 4 kB / 0.5342 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.1702, allocations: 1.135 MB / 0.5353 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.1708, allocations: 93.31 kB / 0.5354 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.1735, allocations: 1.397 MB / 0.5367 GB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/0.1741, allocations: 0.9065 MB / 0.5376 GB, free: 4.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.1743, allocations: 51.41 kB / 0.5377 GB, free: 4.227 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1743, allocations: 0 / 0.5377 GB, free: 4.227 MB / 398.1 MB Notification: Performance of Templates: time 0.01978/0.1941, allocations: 13.02 MB / 0.5504 GB, free: 7.184 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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.TCtoPCAlgloop141.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.TCtoPCAlgloop141.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.TCtoPCAlgloop36.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.TCtoPCAlgloop36.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.4711623911280185] Failed to read output from testmodel.py, exit status != 0: 0.4527809270657599 0.21599451799999994 0.09320588399999995 Calling exit ...