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.00136/0.00136, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001416/0.001416, allocations: 217.6 kB / 22.99 MB, free: 4.945 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.07819/0.07819, allocations: 16.96 MB / 330.1 MB, free: 2.168 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.001988/0.001988, allocations: 63.91 kB / 460.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1059, allocations: 57.63 MB / 0.5064 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.TDtoPCfunction): time 0.003097/0.109, allocations: 1.812 MB / 0.5082 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.1119, allocations: 1.517 MB / 0.5097 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.1121, allocations: 11.94 kB / 0.5097 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.1124, allocations: 127 kB / 0.5098 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.1128, allocations: 143 kB / 0.5099 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.1141, allocations: 0.6895 MB / 0.5106 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.1155, allocations: 1.272 MB / 0.5118 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.1157, allocations: 76.22 kB / 0.5119 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005315/0.1162, allocations: 0.5025 MB / 0.5124 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000473/0.1167, allocations: 346.2 kB / 0.5127 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.1168, allocations: 72 kB / 0.5128 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008227/0.1176, allocations: 0.5304 MB / 0.5133 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.1178, allocations: 163.3 kB / 0.5135 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.1181, allocations: 286.6 kB / 0.5138 GB, free: 396 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1916/0.3097, allocations: 1.031 MB / 0.5148 GB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3097, allocations: 0.625 kB / 0.5148 GB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3097, allocations: 0 / 0.5148 GB, free: 11.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.3097, allocations: 0 / 0.5148 GB, free: 11.57 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.001646/0.3114, allocations: 1.254 MB / 0.516 GB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3114, allocations: 9.812 kB / 0.516 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005831/0.312, allocations: 138.4 kB / 0.5161 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.3125, allocations: 345.3 kB / 0.5165 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.3126, allocations: 220.7 kB / 0.5167 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.3127, allocations: 72.42 kB / 0.5167 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.3144, allocations: 1.579 MB / 0.5183 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.3144, allocations: 7.312 kB / 0.5183 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.095e-05/0.3145, allocations: 37.16 kB / 0.5183 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.599e-05/0.3146, allocations: 53.66 kB / 0.5184 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.3159, allocations: 1.099 MB / 0.5194 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.3188, allocations: 2.37 MB / 0.5218 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.3199, allocations: 0.9323 MB / 0.5227 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008228/0.3207, allocations: 0.8038 MB / 0.5235 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009175/0.3216, allocations: 324.1 kB / 0.5238 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.3227, allocations: 1.076 MB / 0.5248 GB, free: 6.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 2.445e-06/0.3227, allocations: 1.344 kB / 0.5248 GB, free: 6.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=72): time 0.003158/0.3259, allocations: 2.723 MB / 0.5275 GB, free: 5.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/0.3261, allocations: 0.5762 MB / 0.528 GB, free: 4.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.3264, allocations: 336.1 kB / 0.5284 GB, free: 4.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.3264, allocations: 58 kB / 0.5284 GB, free: 4.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3266, allocations: 269.1 kB / 0.5287 GB, free: 4.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.3267, allocations: 195.1 kB / 0.5289 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.327, allocations: 208.8 kB / 0.5291 GB, free: 4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.3271, allocations: 361.5 kB / 0.5294 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006367/0.3277, allocations: 0.6541 MB / 0.53 GB, free: 3.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007432/0.3285, allocations: 1.058 MB / 0.5311 GB, free: 2.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.3305, allocations: 2.143 MB / 0.5332 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.3305, allocations: 2.469 kB / 0.5332 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002265/0.3328, allocations: 1.874 MB / 0.535 GB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002716/0.3331, allocations: 346.3 kB / 0.5353 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001063/0.3341, allocations: 0.7143 MB / 0.536 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/0.3342, allocations: 16.56 kB / 0.536 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.3345, allocations: 121.1 kB / 0.5362 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.557e-05/0.3345, allocations: 20.17 kB / 0.5362 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.335, allocations: 102.1 kB / 0.5363 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/0.335, allocations: 53.03 kB / 0.5363 GB, free: 14.6 MB / 398.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.001149/0.3362, allocations: 0.7204 MB / 0.537 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.3364, allocations: 69.45 kB / 0.5371 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/0.3391, allocations: 1.716 MB / 0.5388 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3391, allocations: 7.938 kB / 0.5388 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3391, allocations: 1.375 kB / 0.5388 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3391, allocations: 3.328 kB / 0.5388 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003957/0.343, allocations: 2.381 MB / 0.5411 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002354/0.3454, allocations: 1.648 MB / 0.5427 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.3456, allocations: 34.67 kB / 0.5427 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.3456, allocations: 2.75 kB / 0.5427 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.824e-05/0.3456, allocations: 35.95 kB / 0.5428 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.3457, allocations: 6.125 kB / 0.5428 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3457, allocations: 1.375 kB / 0.5428 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004596/0.3503, allocations: 3.3 MB / 0.546 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.3504, allocations: 45.58 kB / 0.5461 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.3505, allocations: 69.47 kB / 0.5461 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.3509, allocations: 51.08 kB / 0.5462 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.3511, allocations: 93.25 kB / 0.5463 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.3513, allocations: 49.28 kB / 0.5463 GB, free: 9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002237/0.3515, allocations: 187.7 kB / 0.5465 GB, free: 8.891 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3515, allocations: 0 / 0.5465 GB, free: 8.891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001224/0.3527, allocations: 302.2 kB / 0.5468 GB, free: 8.828 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.0007476/0.3534, allocations: 364.3 kB / 0.5471 GB, free: 8.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002896/0.3563, allocations: 2.401 MB / 0.5495 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3563, allocations: 1.375 kB / 0.5495 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.358, allocations: 1.501 MB / 0.5509 GB, free: 5.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.3585, allocations: 75 kB / 0.551 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.3617, allocations: 1.872 MB / 0.5528 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.3621, allocations: 312 kB / 0.5531 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.3622, allocations: 39.31 kB / 0.5532 GB, free: 4.531 MB / 398.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3622, allocations: 0 / 0.5532 GB, free: 4.531 MB / 398.1 MB Notification: Performance of Templates: time 0.01625/0.3785, allocations: 10.48 MB / 0.5634 GB, free: 13.54 MB / 414.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 -DOMC_BUILD -DUSE_THREAD -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_,(!tmp162),tmp163); ^~~~~~~ ./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, tmp208, tmp209, tmp210, tmp211, _P1_P_enableIn_P_arcWeight_, tmp212, (_P1_P_disMarksIn_P_vec_ && (!tmp213)), (tmp214 && (!tmp215)), tmp216); ^~~~~~~ ./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, tmp208, tmp209, tmp210, tmp211, _P1_P_enableIn_P_arcWeight_, tmp212, (_P1_P_disMarksIn_P_vec_ && (!tmp213)), (tmp214 && (!tmp215)), tmp216); ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.TDtoPCfunctionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.1145516550168395] Failed to read output from testmodel.py, exit status != 0: 0.38706341898068786 0.400839079 0.08820693900000001 Calling exit ...