Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPCfunction.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.001224/0.001224, 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.001492/0.001492, allocations: 223.7 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.08119/0.08119, allocations: 16.94 MB / 330.1 MB, free: 2.336 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.HybTest.TDtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPCfunction") translateModel(PNlib.Examples.HybTest.TDtoPCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPCfunction") [Timeout 660] "Notification: PNlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 461 MB, free: 1.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1258, allocations: 57.62 MB / 0.5065 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.004142/0.1299, allocations: 1.991 MB / 0.5084 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003628/0.1335, allocations: 1.575 MB / 0.51 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000449/0.134, allocations: 7.938 kB / 0.51 GB, free: 4.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.1345, allocations: 139 kB / 0.5101 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006311/0.1351, allocations: 143 kB / 0.5102 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.1369, allocations: 0.6933 MB / 0.5109 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00202/0.1389, allocations: 1.287 MB / 0.5122 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.1392, allocations: 68.23 kB / 0.5122 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000912/0.1401, allocations: 0.5219 MB / 0.5128 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007071/0.1408, allocations: 362.3 kB / 0.5131 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.141, allocations: 75.94 kB / 0.5132 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.1421, allocations: 0.5617 MB / 0.5137 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.1424, allocations: 163.3 kB / 0.5139 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005782/0.143, allocations: 342.4 kB / 0.5142 GB, free: 204 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2288/0.3718, allocations: 1.028 MB / 0.5152 GB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3718, allocations: 0.8438 kB / 0.5152 GB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3718, allocations: 0.5312 kB / 0.5152 GB, free: 11.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.3718, allocations: 0.9062 kB / 0.5152 GB, free: 11.47 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001562/0.3734, allocations: 1.263 MB / 0.5164 GB, free: 10.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3734, allocations: 9.344 kB / 0.5164 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006232/0.374, allocations: 138.9 kB / 0.5166 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/0.3745, allocations: 345.1 kB / 0.5169 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.3747, allocations: 221 kB / 0.5171 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.3748, allocations: 72.28 kB / 0.5172 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.3763, allocations: 1.112 MB / 0.5183 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.3764, allocations: 6.188 kB / 0.5183 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.057e-05/0.3764, allocations: 31.72 kB / 0.5183 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.199e-05/0.3765, allocations: 60.72 kB / 0.5184 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.3778, allocations: 0.7551 MB / 0.5191 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00322/0.381, allocations: 2.648 MB / 0.5217 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009979/0.382, allocations: 0.6018 MB / 0.5223 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/0.3828, allocations: 471.3 kB / 0.5227 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000972/0.3837, allocations: 333.9 kB / 0.523 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.3848, allocations: 0.7024 MB / 0.5237 GB, free: 8.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 2.584e-06/0.3848, allocations: 0 / 0.5237 GB, free: 8.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=72): time 0.003044/0.3878, allocations: 2.019 MB / 0.5257 GB, free: 7.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002187/0.388, allocations: 0.5783 MB / 0.5263 GB, free: 6.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.3885, allocations: 367.2 kB / 0.5266 GB, free: 6.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.3885, allocations: 63.56 kB / 0.5267 GB, free: 6.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.3887, allocations: 258.9 kB / 0.5269 GB, free: 6.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.3888, allocations: 191.1 kB / 0.5271 GB, free: 6.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.3891, allocations: 207.3 kB / 0.5273 GB, free: 6.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.3892, allocations: 368.7 kB / 0.5277 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/0.3897, allocations: 327.1 kB / 0.528 GB, free: 5.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006681/0.3904, allocations: 0.6539 MB / 0.5286 GB, free: 5.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/0.3924, allocations: 2.117 MB / 0.5307 GB, free: 3.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.3924, allocations: 3.719 kB / 0.5307 GB, free: 3.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001973/0.3944, allocations: 1.53 MB / 0.5322 GB, free: 2.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.3946, allocations: 353.2 kB / 0.5325 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008168/0.3954, allocations: 0.576 MB / 0.5331 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-05/0.3954, allocations: 17.09 kB / 0.5331 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.3958, allocations: 115.8 kB / 0.5332 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-05/0.3958, allocations: 21.91 kB / 0.5332 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.3962, allocations: 108.7 kB / 0.5333 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.542e-05/0.3963, allocations: 51.19 kB / 0.5334 GB, free: 2.238 MB / 382.1 MB Warning: Assuming fixed start value for the following 21 variables: 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.fireTime:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Real T1.ani:DISCRETE(fixed = true protected = true ) \"for transition animation\" type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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 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: 46 * Number of states: 0 () * Number of discrete variables: 108 ($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.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,$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,$whenCondition1,P1.emptying.anytrue,P1.emptying.numtrue,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,$PRE.P1.enableIn.TEin[1],$PRE.T1.firingTime,T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.fireIn[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.TEin[1],P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.active,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 105 * 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.0007875/0.3971, allocations: 0.7226 MB / 0.5341 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.3972, allocations: 66.81 kB / 0.5341 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.3994, allocations: 1.503 MB / 0.5356 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.3994, allocations: 6.906 kB / 0.5356 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3994, allocations: 6.125 kB / 0.5356 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3994, allocations: 3.203 kB / 0.5356 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/0.4033, allocations: 2.387 MB / 0.538 GB, free: 16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002178/0.4054, allocations: 1.416 MB / 0.5393 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.4056, allocations: 41.16 kB / 0.5394 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.4056, allocations: 2.75 kB / 0.5394 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-05/0.4057, allocations: 39.53 kB / 0.5394 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4057, allocations: 1.375 kB / 0.5394 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4057, allocations: 1.938 kB / 0.5394 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/0.4098, allocations: 2.559 MB / 0.5419 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.4099, allocations: 51.58 kB / 0.542 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.4101, allocations: 67.88 kB / 0.542 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.4105, allocations: 54.69 kB / 0.5421 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.4107, allocations: 94.77 kB / 0.5422 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.909e-05/0.4108, allocations: 44.05 kB / 0.5422 GB, free: 14.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003133/0.4111, allocations: 222.5 kB / 0.5424 GB, free: 13.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4111, allocations: 0 / 0.5424 GB, free: 13.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001688/0.4128, allocations: 286.8 kB / 0.5427 GB, free: 13.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (P1.t_) * Number of discrete variables: 60 (P1.emptying.numtrue,P1.emptying.anytrue,$whenCondition1,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],P1.fireIn[1],T1.active,P1.disMarksInOut,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],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.enableIn.TAein[1],P1.feeding.numtrue,P1.feeding.anytrue) * Number of discrete states: 48 (P1.feeding.numtrue,P1.feeding.anytrue,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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],$whenCondition2,P1.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarkChange,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,$whenCondition1,P1.emptying.numtrue,P1.emptying.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * 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.001016/0.4138, allocations: 357.1 kB / 0.543 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003521/0.4173, allocations: 1.715 MB / 0.5447 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.4174, allocations: 2.125 kB / 0.5447 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.4195, allocations: 1.165 MB / 0.5459 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008835/0.4203, allocations: 86.56 kB / 0.5459 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.4244, allocations: 1.523 MB / 0.5474 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007262/0.4251, allocations: 0.9106 MB / 0.5483 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.4253, allocations: 45.06 kB / 0.5484 GB, free: 10.34 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4253, allocations: 0 / 0.5484 GB, free: 10.34 MB / 398.1 MB Notification: Performance of Templates: time 0.02388/0.4492, allocations: 10.61 MB / 0.5587 GB, free: 3.594 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPCfunction.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.TDtoPCfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionInitialize.cpp:671:189: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, _P1_P_enableIn_P_arcWeight_, tmp29, (_P1_P_fireIn_ && (!tmp30)), (tmp31 && (!tmp32)), tmp33); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionInitialize.cpp:671:210: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, _P1_P_enableIn_P_arcWeight_, tmp29, (_P1_P_fireIn_ && (!tmp30)), (tmp31 && (!tmp32)), tmp33); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:730:80: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_TAein_,(!tmp164),tmp165); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:1109:204: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp210, tmp211, tmp212, tmp213, _P1_P_enableIn_P_arcWeight_, tmp214, (_P1_P_disMarksIn_P_vec_ && (!tmp215)), (tmp216 && (!tmp217)), tmp218); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunction.cpp:1109:227: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[0], _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp210, tmp211, tmp212, tmp213, _P1_P_enableIn_P_arcWeight_, tmp214, (_P1_P_disMarksIn_P_vec_ && (!tmp215)), (tmp216 && (!tmp217)), tmp218); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.3340536470059305] Failed to read output from testmodel.py, exit status != 0: 0.4586346580181271 0.47422539700000005 0.09902701900000001 Calling exit ...