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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.111/1.111, allocations: 111.1 MB / 126.7 MB, free: 6.125 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002659, allocations: 8 kB / 158.3 MB, free: 15.16 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04598/0.04628, allocations: 25.16 MB / 183.5 MB, free: 5.965 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2298/0.2761, allocations: 34.35 MB / 217.8 MB, free: 6.609 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001823/0.2764, allocations: 61.59 kB / 217.9 MB, free: 6.602 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03654/0.3129, allocations: 11.35 MB / 229.3 MB, free: 1.883 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.779e-06/0.313, allocations: 0 / 229.3 MB, free: 1.883 MB / 170.7 MB Notification: Performance of Transformations before backend: time 4.952e-05/0.313, allocations: 26.94 kB / 229.3 MB, free: 1.875 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.001507/0.3145, allocations: 0.9068 MB / 230.2 MB, free: 1.141 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3146, allocations: 8.031 kB / 230.2 MB, free: 1.133 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.3148, allocations: 90.92 kB / 230.3 MB, free: 1.043 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.3155, allocations: 436 kB / 230.7 MB, free: 0.6523 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.082e-05/0.3156, allocations: 80.62 kB / 230.8 MB, free: 0.6094 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.3157, allocations: 102.7 kB / 230.9 MB, free: 0.5391 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.3178, allocations: 0.9411 MB / 231.8 MB, free: 15.91 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.3178, allocations: 3.938 kB / 231.8 MB, free: 15.91 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.3179, allocations: 41.38 kB / 231.9 MB, free: 15.89 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.318, allocations: 23.95 kB / 231.9 MB, free: 15.87 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.3198, allocations: 0.7257 MB / 232.6 MB, free: 15.38 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004379/0.3242, allocations: 2.299 MB / 234.9 MB, free: 13.55 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.3256, allocations: 0.6613 MB / 235.6 MB, free: 13.11 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.281e-05/0.3257, allocations: 16.52 kB / 235.6 MB, free: 13.1 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009185/0.3267, allocations: 435.6 kB / 236 MB, free: 12.77 MB / 186.7 MB Notification: Performance of pre-optimization done (n=99): time 4.419e-06/0.3267, allocations: 0 / 236 MB, free: 12.77 MB / 186.7 MB Notification: Performance of matching and sorting (n=99): time 0.002021/0.3287, allocations: 0.8362 MB / 236.9 MB, free: 12.15 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.3289, allocations: 101.6 kB / 237 MB, free: 12.04 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.3293, allocations: 296.8 kB / 237.3 MB, free: 11.8 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.3295, allocations: 72.25 kB / 237.3 MB, free: 11.75 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.3298, allocations: 346.8 kB / 237.7 MB, free: 11.46 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.3301, allocations: 243.2 kB / 237.9 MB, free: 11.28 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.3301, allocations: 19.31 kB / 237.9 MB, free: 11.28 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.3304, allocations: 354 kB / 238.3 MB, free: 10.94 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006823/0.3311, allocations: 258.8 kB / 238.5 MB, free: 10.77 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008414/0.3319, allocations: 470 kB / 239 MB, free: 10.35 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000716/0.3327, allocations: 287.3 kB / 239.3 MB, free: 10.17 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/0.3327, allocations: 4 kB / 239.3 MB, free: 10.16 MB / 186.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001932/0.3346, allocations: 0.8552 MB / 240.1 MB, free: 9.531 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.3347, allocations: 8 kB / 240.1 MB, free: 9.523 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.3347, allocations: 4 kB / 240.1 MB, free: 9.52 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/0.3348, allocations: 12.75 kB / 240.1 MB, free: 9.508 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/0.3353, allocations: 118.3 kB / 240.3 MB, free: 9.402 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/0.3353, allocations: 15.94 kB / 240.3 MB, free: 9.387 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.3358, allocations: 72.72 kB / 240.3 MB, free: 9.332 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.3359, allocations: 49.17 kB / 240.4 MB, free: 9.293 MB / 186.7 MB Warning: Assuming fixed start value for the following 8 variables: transition6a.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4a.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition6.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition5.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition3.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition2.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition1.t_start:DISCRETE(unit = "s" fixed = true 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 () * Number of clocked 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.0007081/0.3366, allocations: 337.9 kB / 240.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.3368, allocations: 43.44 kB / 240.8 MB, free: 8.906 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.3386, allocations: 0.7494 MB / 241.5 MB, free: 8.152 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.3386, allocations: 12 kB / 241.5 MB, free: 8.141 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.319e-06/0.3386, allocations: 0 / 241.5 MB, free: 8.141 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.3387, allocations: 7.984 kB / 241.5 MB, free: 8.133 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003818/0.3425, allocations: 1.677 MB / 243.2 MB, free: 6.43 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/0.3425, allocations: 3.953 kB / 243.2 MB, free: 6.426 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.3429, allocations: 63.84 kB / 243.3 MB, free: 6.363 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.539e-05/0.3429, allocations: 7.984 kB / 243.3 MB, free: 6.355 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/0.343, allocations: 24 kB / 243.3 MB, free: 6.332 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.577e-06/0.343, allocations: 4 kB / 243.3 MB, free: 6.328 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.343, allocations: 3.984 kB / 243.3 MB, free: 6.324 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.3446, allocations: 0.7986 MB / 244.1 MB, free: 5.504 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.3448, allocations: 128.3 kB / 244.2 MB, free: 5.359 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.549e-05/0.3449, allocations: 20 kB / 244.3 MB, free: 5.34 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.3453, allocations: 47.97 kB / 244.3 MB, free: 5.293 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/0.3455, allocations: 100.8 kB / 244.4 MB, free: 5.195 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.347e-05/0.3456, allocations: 32 kB / 244.4 MB, free: 5.164 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001952/0.3459, allocations: 152.5 kB / 244.6 MB, free: 5.02 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.3459, allocations: 0 / 244.6 MB, free: 5.02 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0008381/0.3467, allocations: 168 kB / 244.7 MB, free: 4.855 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) * Number of clocked states: 0 () * 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.0002876/0.347, allocations: 179 kB / 244.9 MB, free: 4.672 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.3487, allocations: 0.7417 MB / 245.7 MB, free: 3.938 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.405e-06/0.3488, allocations: 0 / 245.7 MB, free: 3.938 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008007/0.3496, allocations: 373.3 kB / 246 MB, free: 3.574 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.3501, allocations: 80.52 kB / 246.1 MB, free: 3.496 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.3529, allocations: 1.409 MB / 247.5 MB, free: 2.055 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007611/0.3537, allocations: 0.951 MB / 248.5 MB, free: 1.07 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/0.3541, allocations: 71.42 kB / 248.5 MB, free: 1 MB / 186.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3541, allocations: 0 / 248.5 MB, free: 1 MB / 186.7 MB Notification: Performance of Templates: time 0.01801/0.3721, allocations: 8.703 MB / 257.2 MB, free: 8.277 MB / 202.7 MB