Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.PCtoTDfunction.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.000839/0.000839, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008372/0.0008372, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9009/0.9009, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.04551/0.04551, allocations: 12.65 MB / 272.6 MB, free: 0.7266 MB / 250.7 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.PCtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTDfunction") translateModel(PNlib.Examples.HybTest.PCtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.HybTest.PCtoTDfunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.386e-06/3.386e-06, allocations: 0 / 403.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.681e-05/4.02e-05, allocations: 2.281 kB / 403.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.PCtoTDfunction): time 0.002665/0.002705, allocations: 1.818 MB / 405.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.005933, allocations: 1.52 MB / 406.8 MB, free: 6.824 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003257/0.006258, allocations: 11.94 kB / 406.8 MB, free: 6.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004035/0.006662, allocations: 134.9 kB / 407 MB, free: 6.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005328/0.007195, allocations: 150.9 kB / 407.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.008499, allocations: 0.6889 MB / 407.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.009677, allocations: 1.295 MB / 409.1 MB, free: 4.547 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.009887, allocations: 61.27 kB / 409.2 MB, free: 4.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006279/0.01051, allocations: 0.7291 MB / 409.9 MB, free: 3.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004937/0.01101, allocations: 322.9 kB / 410.2 MB, free: 3.434 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.01111, allocations: 84 kB / 410.3 MB, free: 3.352 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007283/0.01184, allocations: 0.5381 MB / 410.8 MB, free: 2.812 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.01206, allocations: 171.2 kB / 411 MB, free: 2.645 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.0123, allocations: 271.3 kB / 411.3 MB, free: 2.379 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.01363, allocations: 1.274 MB / 412.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.01364, allocations: 4 kB / 412.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.01365, allocations: 0 / 412.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.01366, allocations: 0 / 412.5 MB, free: 1.098 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001961/0.01562, allocations: 1.308 MB / 413.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.01568, allocations: 8.031 kB / 413.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004023/0.01608, allocations: 144.4 kB / 414 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.01651, allocations: 380.5 kB / 414.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.01665, allocations: 223.8 kB / 414.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-05/0.01674, allocations: 83.97 kB / 414.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.01828, allocations: 1.745 MB / 416.4 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.0183, allocations: 7.922 kB / 416.4 MB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.01837, allocations: 39.98 kB / 416.5 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.581e-05/0.01845, allocations: 61.27 kB / 416.5 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.01975, allocations: 1.238 MB / 417.8 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00301/0.02276, allocations: 2.582 MB / 420.3 MB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009799/0.02374, allocations: 1.023 MB / 421.4 MB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007388/0.02447, allocations: 0.8774 MB / 422.2 MB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006344/0.02511, allocations: 323.9 kB / 422.6 MB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.02612, allocations: 1.156 MB / 423.7 MB, free: 5.207 MB / 394.7 MB Notification: Performance of pre-optimization done (n=72): time 2.034e-06/0.02612, allocations: 3.938 kB / 423.7 MB, free: 5.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=72): time 0.002948/0.02907, allocations: 2.98 MB / 426.7 MB, free: 2.055 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000731/0.0298, allocations: 0.5983 MB / 427.3 MB, free: 1.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.03012, allocations: 384 kB / 427.7 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.03019, allocations: 65.69 kB / 427.7 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.03036, allocations: 276.8 kB / 428 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.0305, allocations: 202.6 kB / 428.2 MB, free: 424 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.0307, allocations: 222.6 kB / 428.4 MB, free: 192 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.03082, allocations: 366.8 kB / 428.8 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/0.03143, allocations: 0.7663 MB / 429.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007976/0.03223, allocations: 1.224 MB / 430.8 MB, free: 13.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.03418, allocations: 2.492 MB / 433.3 MB, free: 10.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.03419, allocations: 7.938 kB / 433.3 MB, free: 10.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002119/0.03631, allocations: 2.17 MB / 435.4 MB, free: 8.363 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.03645, allocations: 354.7 kB / 435.8 MB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007664/0.03722, allocations: 0.9521 MB / 436.7 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.03725, allocations: 23.94 kB / 436.8 MB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.03745, allocations: 131.7 kB / 436.9 MB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.03747, allocations: 23.92 kB / 436.9 MB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.03777, allocations: 127.3 kB / 437 MB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/0.03783, allocations: 55.98 kB / 437.1 MB, free: 6.594 MB / 410.7 MB Warning: Assuming fixed start value for the following 21 variables: 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.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.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.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.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.enableIn.Index:DISCRETE(fixed = true protected = true ) \"priority 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.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.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.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: 53 * Number of states: 0 () * Number of discrete variables: 115 ($PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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,P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.disMarksInOut,T1.inPlaces[1].tokenInOut,$PRE.T1.fireTime,$PRE.T1.ani,T1.fireTime,T1.ani,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksInOut,$whenCondition5,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$whenCondition1,P1.feeding.anytrue,P1.feeding.numtrue,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P1.enableOut.TEout[1],$PRE.T1.firingTime,T1.activation.arcWeightIntIn[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.TEout[1],P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,T1.active,T1.firingTime,T1.delayPassed,$PRE.T1.delayPassed,T1.activation.active,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 115 * 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.0005492/0.03838, allocations: 0.752 MB / 437.8 MB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.03848, allocations: 67.72 kB / 437.9 MB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.04016, allocations: 1.889 MB / 439.8 MB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.04017, allocations: 7.938 kB / 439.8 MB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.04017, allocations: 0 / 439.8 MB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.04018, allocations: 7.922 kB / 439.8 MB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/0.04278, allocations: 2.582 MB / 442.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1806/0.2233, allocations: 1.8 MB / 444.2 MB, free: 80.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.2235, allocations: 36.41 kB / 444.2 MB, free: 80.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.2235, allocations: 3.75 kB / 444.2 MB, free: 80.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.2236, allocations: 43.03 kB / 444.3 MB, free: 80.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.2236, allocations: 6.688 kB / 444.3 MB, free: 80.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2236, allocations: 0 / 444.3 MB, free: 80.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.2264, allocations: 3.57 MB / 447.9 MB, free: 78.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.2265, allocations: 56 kB / 447.9 MB, free: 78.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.2267, allocations: 68.52 kB / 448 MB, free: 78.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.2269, allocations: 63.34 kB / 448 MB, free: 78.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000377/0.2273, allocations: 305.5 kB / 448.3 MB, free: 78.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-05/0.2273, allocations: 45.38 kB / 448.4 MB, free: 78.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001671/0.2275, allocations: 210 kB / 448.6 MB, free: 78.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2275, allocations: 0 / 448.6 MB, free: 78.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008404/0.2283, allocations: 324.7 kB / 448.9 MB, free: 78.38 MB / 410.7 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.feeding.numtrue,P1.feeding.anytrue,$whenCondition1,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,T1.activation.active,T1.ani,T1.delayPassed,T1.fireTime,T1.firingTime,T1.inPlaces[1].tokenInOut,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],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.cumEnablingProb[1],P1.enableOut.remTAout[1],P1.enableOut.disTAout[1],P1.enableOut.TEout[1],P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue) * Number of discrete states: 49 (P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.disMarksIn.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.disMarksOut.numtrue,P1.disMarkChange,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$whenCondition1,P1.feeding.numtrue,P1.feeding.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.0004846/0.2288, allocations: 376 kB / 449.3 MB, free: 78.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.2303, allocations: 2.633 MB / 451.9 MB, free: 76.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2303, allocations: 3.562 kB / 451.9 MB, free: 76.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008473/0.2311, allocations: 1.615 MB / 453.5 MB, free: 75.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.2315, allocations: 81.84 kB / 453.6 MB, free: 75.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.2333, allocations: 1.87 MB / 455.5 MB, free: 74.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.2334, allocations: 330.3 kB / 455.8 MB, free: 73.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.2335, allocations: 44.02 kB / 455.8 MB, free: 73.97 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2335, allocations: 0 / 455.8 MB, free: 73.97 MB / 410.7 MB Notification: Performance of Templates: time 0.008879/0.2424, allocations: 11.59 MB / 467.4 MB, free: 72.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction.makefile [Timeout 660] make -j1 -f PNlib_PNlib.Examples.HybTest.PCtoTDfunction.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.o OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionInitialize.cpp:754:185: error: invalid argument type 'StatArrayDim1' to unary expression 754 | _functions->PNlib_Functions_decreasingFactor(0, 1, _P1_P_t__, _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, _P1_P_enableOut_P_arcWeight_, (tmp30 && (!tmp31)), (_P1_P_fireOut_ && (!tmp32)), tmp33); | ^~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionInitialize.cpp:754:215: error: invalid argument type 'StatArrayDim1' to unary expression 754 | _functions->PNlib_Functions_decreasingFactor(0, 1, _P1_P_t__, _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp25, tmp26, tmp27, tmp28, tmp29, _P1_P_enableOut_P_arcWeight_, (tmp30 && (!tmp31)), (_P1_P_fireOut_ && (!tmp32)), tmp33); | ^~~~~~ In file included from OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunction.cpp:786:81: error: invalid argument type 'StatArrayDim1' to unary expression 786 | _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp162),tmp163); | ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunction.cpp:1165:191: error: invalid argument type 'StatArrayDim1' to unary expression 1165 | _functions->PNlib_Functions_decreasingFactor(0, 1, _P1_P_t__, _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp208, tmp209, tmp210, tmp211, tmp212, _P1_P_enableOut_P_arcWeight_, (tmp213 && (!tmp214)), (_P1_P_disMarksOut_P_vec_ && (!tmp215)), tmp216); | ^~~~~~~ ./OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunction.cpp:1165:232: error: invalid argument type 'StatArrayDim1' to unary expression 1165 | _functions->PNlib_Functions_decreasingFactor(0, 1, _P1_P_t__, _P1_P_minMarks_, _P1_P_maxMarks_, 0.0, 0.0, tmp208, tmp209, tmp210, tmp211, tmp212, _P1_P_enableOut_P_arcWeight_, (tmp213 && (!tmp214)), (_P1_P_disMarksOut_P_vec_ && (!tmp215)), tmp216); | ^~~~~~~ 5 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.HybTest.PCtoTDfunctionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.8660782733932137] Failed to read output from testmodel.py, exit status != 0: 0.24822380766272545 0.258444789 0.24268555200000003 Calling exit ...