Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.TDtoPC.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.001286/0.001286, 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.001441/0.001441, allocations: 223.6 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.08124/0.08124, allocations: 16.95 MB / 330.1 MB, free: 2.277 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.TDtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPC") translateModel(PNlib.Examples.HybTest.TDtoPC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.TDtoPC") [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.002218/0.002218, allocations: 71.89 kB / 461 MB, free: 1.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1351, allocations: 57.63 MB / 0.5065 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPC): time 0.003917/0.139, allocations: 1.984 MB / 0.5084 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00352/0.1425, allocations: 1.579 MB / 0.51 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004048/0.1429, allocations: 11.94 kB / 0.51 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.1434, allocations: 131 kB / 0.5101 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005826/0.144, allocations: 135 kB / 0.5102 GB, free: 4.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.1459, allocations: 0.709 MB / 0.5109 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.1478, allocations: 1.276 MB / 0.5122 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.148, allocations: 72.23 kB / 0.5122 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008945/0.1489, allocations: 0.5219 MB / 0.5127 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007268/0.1496, allocations: 358.3 kB / 0.5131 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.1498, allocations: 72 kB / 0.5132 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.1509, allocations: 0.5694 MB / 0.5137 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.1512, allocations: 163.3 kB / 0.5139 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005239/0.1517, allocations: 338.4 kB / 0.5142 GB, free: 168 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2472/0.3989, allocations: 1.028 MB / 0.5152 GB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3989, allocations: 1.312 kB / 0.5152 GB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3989, allocations: 0.875 kB / 0.5152 GB, free: 11.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.3989, allocations: 0 / 0.5152 GB, free: 11.46 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.00157/0.4005, allocations: 1.26 MB / 0.5164 GB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.4005, allocations: 11.03 kB / 0.5164 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006067/0.4011, allocations: 142.9 kB / 0.5166 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.4016, allocations: 346.6 kB / 0.5169 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.4018, allocations: 222.5 kB / 0.5171 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.4019, allocations: 71.28 kB / 0.5172 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.4034, allocations: 1.109 MB / 0.5183 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.4034, allocations: 3.469 kB / 0.5183 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.462e-05/0.4035, allocations: 37.47 kB / 0.5183 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-05/0.4036, allocations: 53.66 kB / 0.5184 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.4048, allocations: 0.7586 MB / 0.5191 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/0.408, allocations: 2.624 MB / 0.5217 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009531/0.4089, allocations: 0.556 MB / 0.5222 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006635/0.4096, allocations: 447.1 kB / 0.5226 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009618/0.4105, allocations: 333.8 kB / 0.523 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009672/0.4115, allocations: 0.6808 MB / 0.5236 GB, free: 8.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=71): time 2.715e-06/0.4115, allocations: 2.484 kB / 0.5236 GB, free: 8.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=71): time 0.002865/0.4144, allocations: 1.941 MB / 0.5255 GB, free: 7.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002238/0.4146, allocations: 0.5811 MB / 0.5261 GB, free: 7.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.415, allocations: 375.3 kB / 0.5264 GB, free: 6.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.755e-05/0.4151, allocations: 66.06 kB / 0.5265 GB, free: 6.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.4152, allocations: 266.3 kB / 0.5268 GB, free: 6.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.4154, allocations: 192.5 kB / 0.5269 GB, free: 6.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.4156, allocations: 206 kB / 0.5271 GB, free: 6.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4158, allocations: 367.2 kB / 0.5275 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.4163, allocations: 320.9 kB / 0.5278 GB, free: 5.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/0.4169, allocations: 0.6635 MB / 0.5284 GB, free: 5.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.4189, allocations: 2.111 MB / 0.5305 GB, free: 3.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.419, allocations: 11.84 kB / 0.5305 GB, free: 3.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.001875/0.4208, allocations: 1.524 MB / 0.532 GB, free: 2.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.421, allocations: 344.7 kB / 0.5323 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007966/0.4218, allocations: 0.5798 MB / 0.5329 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/0.4218, allocations: 16.5 kB / 0.5329 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.4221, allocations: 119.8 kB / 0.533 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.783e-05/0.4222, allocations: 22.52 kB / 0.533 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.4226, allocations: 109.9 kB / 0.5332 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.096e-05/0.4227, allocations: 59.44 kB / 0.5332 GB, free: 2.234 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: 48 * 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 (119): * Single equations (assignments): 107 * 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.000841/0.4235, allocations: 0.7173 MB / 0.5339 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.4237, allocations: 66.62 kB / 0.534 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.4258, allocations: 1.442 MB / 0.5354 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.4258, allocations: 5.062 kB / 0.5354 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.4258, allocations: 5.062 kB / 0.5354 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4258, allocations: 2.844 kB / 0.5354 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0035/0.4293, allocations: 2.311 MB / 0.5377 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002097/0.4314, allocations: 1.365 MB / 0.539 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.4316, allocations: 34.44 kB / 0.539 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.4316, allocations: 6.375 kB / 0.539 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.547e-05/0.4317, allocations: 34.59 kB / 0.5391 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.4317, allocations: 7.234 kB / 0.5391 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4317, allocations: 1.281 kB / 0.5391 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/0.4354, allocations: 2.492 MB / 0.5415 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.4355, allocations: 54.81 kB / 0.5416 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.4357, allocations: 67.5 kB / 0.5416 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.4361, allocations: 55.27 kB / 0.5417 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.4363, allocations: 97.02 kB / 0.5418 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.033e-05/0.4364, allocations: 39.28 kB / 0.5418 GB, free: 14.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000275/0.4367, allocations: 228.4 kB / 0.542 GB, free: 13.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4367, allocations: 4.062 kB / 0.542 GB, free: 13.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001184/0.4379, allocations: 285.4 kB / 0.5423 GB, free: 13.89 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 (35): * Single equations (assignments): 22 * 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.0007282/0.4386, allocations: 345.6 kB / 0.5426 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002341/0.4409, allocations: 1.69 MB / 0.5443 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4409, allocations: 0.75 kB / 0.5443 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.4422, allocations: 1.14 MB / 0.5454 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.4428, allocations: 88.67 kB / 0.5455 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.4455, allocations: 1.459 MB / 0.5469 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.446, allocations: 0.9094 MB / 0.5478 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.4462, allocations: 46.94 kB / 0.5478 GB, free: 10.42 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4462, allocations: 0 / 0.5478 GB, free: 10.42 MB / 398.1 MB Notification: Performance of Templates: time 0.01601/0.4622, allocations: 10.62 MB / 0.5582 GB, free: 4.055 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPC.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.HybTest.TDtoPC.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.TDtoPCCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCInitialize.cpp:673:167: 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, tmp29, tmp30, (_P1_P_fireIn_ && (!tmp31)), (tmp32 && (!tmp33)), tmp34); ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPCInitialize.cpp:673:188: 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, tmp29, tmp30, (_P1_P_fireIn_ && (!tmp31)), (tmp32 && (!tmp33)), tmp34); ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:721:80: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableIn_P_TAein_,(!tmp165),tmp166); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:1102:183: 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, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (_P1_P_disMarksIn_P_vec_ && (!tmp217)), (tmp218 && (!tmp219)), tmp220); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.TDtoPC.cpp:1102:206: 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, tmp211, tmp212, tmp213, tmp214, tmp215, tmp216, (_P1_P_disMarksIn_P_vec_ && (!tmp217)), (tmp218 && (!tmp219)), tmp220); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.TDtoPCCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.372240400873125] Failed to read output from testmodel.py, exit status != 0: 0.4710894860327244 0.484402556 0.082504609 Calling exit ...