Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.StateGraph.Examples.ExecutionPaths.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.049/1.049, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.547e-05, allocations: 4 kB / 148.1 MB, free: 6.234 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.08895, allocations: 25.19 MB / 173.3 MB, free: 13 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.2607, allocations: 33.59 MB / 206.9 MB, free: 6.969 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/0.261, allocations: 61.89 kB / 206.9 MB, free: 6.969 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03827/0.2992, allocations: 11.04 MB / 218 MB, free: 4.652 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.081e-06/0.2993, allocations: 0 / 218 MB, free: 4.652 MB / 170.7 MB Notification: Performance of Transformations before backend: time 4.071e-05/0.2993, allocations: 23.22 kB / 218 MB, free: 4.645 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.00138/0.3007, allocations: 0.875 MB / 218.9 MB, free: 3.977 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3008, allocations: 7.625 kB / 218.9 MB, free: 3.977 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.301, allocations: 100.5 kB / 219 MB, free: 3.926 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006862/0.3017, allocations: 421.6 kB / 219.4 MB, free: 3.629 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.3018, allocations: 37.97 kB / 219.4 MB, free: 3.629 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.3019, allocations: 65.27 kB / 219.5 MB, free: 3.625 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001469/0.3034, allocations: 0.6484 MB / 220.1 MB, free: 3.562 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.305, allocations: 0.785 MB / 220.9 MB, free: 3.328 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.3051, allocations: 0 / 220.9 MB, free: 3.328 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.539e-05/0.3052, allocations: 3.953 kB / 220.9 MB, free: 3.324 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.3052, allocations: 23.22 kB / 221 MB, free: 3.324 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/0.3086, allocations: 2.142 MB / 223.1 MB, free: 2.086 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.3097, allocations: 0.6099 MB / 223.7 MB, free: 1.984 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/0.3102, allocations: 304.2 kB / 224 MB, free: 1.953 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.985e-05/0.3103, allocations: 15.3 kB / 224 MB, free: 1.953 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006898/0.311, allocations: 397.7 kB / 224.4 MB, free: 1.805 MB / 170.7 MB Notification: Performance of pre-optimization done (n=99): time 4.504e-06/0.311, allocations: 3.938 kB / 224.4 MB, free: 1.805 MB / 170.7 MB Notification: Performance of matching and sorting (n=99): time 0.00121/0.3123, allocations: 0.5373 MB / 225 MB, free: 1.684 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.3123, allocations: 101.8 kB / 225.1 MB, free: 1.578 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.3126, allocations: 284.8 kB / 225.3 MB, free: 1.418 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 9.312e-05/0.3128, allocations: 48.72 kB / 225.4 MB, free: 1.379 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.3129, allocations: 343.7 kB / 225.7 MB, free: 1.133 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.3132, allocations: 237.4 kB / 225.9 MB, free: 0.9844 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.3132, allocations: 0 / 225.9 MB, free: 0.9844 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3133, allocations: 353.3 kB / 226.3 MB, free: 0.6562 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/0.3139, allocations: 222.2 kB / 226.5 MB, free: 0.6484 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.3145, allocations: 432.8 kB / 226.9 MB, free: 424 kB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006162/0.3151, allocations: 259.3 kB / 227.2 MB, free: 356 kB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.3151, allocations: 0 / 227.2 MB, free: 356 kB / 170.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001551/0.3167, allocations: 0.7389 MB / 227.9 MB, free: 172 kB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3168, allocations: 7.688 kB / 227.9 MB, free: 172 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3168, allocations: 7.969 kB / 227.9 MB, free: 168 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.3168, allocations: 11.62 kB / 227.9 MB, free: 168 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.3173, allocations: 116.2 kB / 228.1 MB, free: 132 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.3174, allocations: 15.47 kB / 228.1 MB, free: 128 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.3178, allocations: 42.75 kB / 228.1 MB, free: 108 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.3179, allocations: 45.53 kB / 228.2 MB, free: 108 kB / 170.7 MB Warning: Assuming fixed start value for the following 8 variables: transition6a.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4a.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition6.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition5.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition3.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition2.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition1.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.transition6.enableFire,$PRE.transition7.enableFire,$PRE.transition4a.enableFire,$PRE.transition6a.enableFire,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,step0.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,step1.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step6.active,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,step2.active,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step3.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,step4.active,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,step4a.active,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition6a.condition,transition4a.condition,transition6.condition,transition5.condition,transition4.condition,transition3.condition,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003427/0.3183, allocations: 213.8 kB / 228.4 MB, free: 15.93 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.3184, allocations: 50.55 kB / 228.4 MB, free: 15.91 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.32, allocations: 0.6675 MB / 229.1 MB, free: 15.73 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.32, allocations: 11.62 kB / 229.1 MB, free: 15.73 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3201, allocations: 3.938 kB / 229.1 MB, free: 15.73 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.3201, allocations: 3.984 kB / 229.1 MB, free: 15.72 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.3233, allocations: 1.466 MB / 230.6 MB, free: 15.12 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.3234, allocations: 3.984 kB / 230.6 MB, free: 15.12 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.3237, allocations: 61.56 kB / 230.6 MB, free: 15.1 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.3237, allocations: 7.875 kB / 230.6 MB, free: 15.1 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/0.3238, allocations: 15.09 kB / 230.7 MB, free: 15.09 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.3238, allocations: 7.812 kB / 230.7 MB, free: 15.09 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3238, allocations: 4 kB / 230.7 MB, free: 15.09 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.3253, allocations: 0.7334 MB / 231.4 MB, free: 14.81 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.3255, allocations: 131.5 kB / 231.5 MB, free: 14.68 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/0.3256, allocations: 7.562 kB / 231.5 MB, free: 14.68 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.3259, allocations: 27.06 kB / 231.6 MB, free: 14.66 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/0.3262, allocations: 105 kB / 231.7 MB, free: 14.62 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/0.3263, allocations: 30.28 kB / 231.7 MB, free: 14.62 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.3265, allocations: 144.1 kB / 231.8 MB, free: 14.53 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.43e-07/0.3265, allocations: 0 / 231.8 MB, free: 14.53 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007694/0.3273, allocations: 128.8 kB / 232 MB, free: 14.52 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 84 (transition4a.enableFire,transition4.enableFire,transition6a.enableFire,step4a.localActive,transition2.enableFire,step5.localActive,transition5.enableFire,transition6.enableFire,step4.localActive,step3.localActive,transition3.enableFire,transition1.enableFire,step2.localActive,step6.localActive,step1.localActive,step0.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,step0.newActive,step0.oldActive,step0.active,transition1.fire,transition1.t_start,step1.newActive,step1.oldActive,step1.active,transition2.fire,transition2.t_start,step6.newActive,step6.oldActive,step6.active,step2.outPort[1].reset,step2.newActive,step2.oldActive,step2.active,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.newActive,step3.oldActive,step3.active,step4.newActive,step4.oldActive,step4.active,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.inPort[1].set,step5.newActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.fire,transition4a.t_start,step4a.newActive,step4a.oldActive,step4a.active,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps) * Number of discrete states: 8 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002692/0.3275, allocations: 164.9 kB / 232.1 MB, free: 14.4 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.3288, allocations: 0.668 MB / 232.8 MB, free: 14.34 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.102e-06/0.3289, allocations: 0 / 232.8 MB, free: 14.34 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006159/0.3295, allocations: 340.4 kB / 233.1 MB, free: 14.31 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.33, allocations: 59.7 kB / 233.2 MB, free: 14.29 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.332, allocations: 0.8743 MB / 234.1 MB, free: 13.92 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007078/0.3327, allocations: 0.9552 MB / 235 MB, free: 13.11 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.3331, allocations: 75.91 kB / 235.1 MB, free: 13.09 MB / 186.7 MB Notification: Performance of SimCode: time 1.838e-06/0.3331, allocations: 0 / 235.1 MB, free: 13.09 MB / 186.7 MB Notification: Performance of Templates: time 0.01695/0.35, allocations: 8.655 MB / 243.7 MB, free: 5.297 MB / 186.7 MB