Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_1_cpp_Modelica_StateGraph_Examples_ExecutionPaths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.118/1.118, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.444e-05, allocations: 0 / 154.4 MB, free: 13.12 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2133, allocations: 25.15 MB / 179.5 MB, free: 0.8086 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06767/0.281, allocations: 34.26 MB / 213.8 MB, free: 14.87 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.2813, allocations: 59.98 kB / 213.8 MB, free: 14.81 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05137/0.3327, allocations: 11.32 MB / 225.2 MB, free: 3.422 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3328, allocations: 0 / 225.2 MB, free: 3.422 MB / 186.7 MB Notification: Performance of Transformations before backend: time 7.257e-05/0.3329, allocations: 35.88 kB / 225.2 MB, free: 3.387 MB / 186.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.002591/0.3355, allocations: 0.8812 MB / 226.1 MB, free: 2.422 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.3356, allocations: 8.031 kB / 226.1 MB, free: 2.414 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004333/0.336, allocations: 147.7 kB / 226.2 MB, free: 2.262 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/0.3363, allocations: 90.97 kB / 226.3 MB, free: 2.172 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.3374, allocations: 434 kB / 226.7 MB, free: 1.707 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.3376, allocations: 85.98 kB / 226.8 MB, free: 1.625 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/0.3378, allocations: 100 kB / 226.9 MB, free: 1.527 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.3405, allocations: 0.9027 MB / 227.8 MB, free: 0.5977 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.3406, allocations: 3.938 kB / 227.8 MB, free: 0.5938 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.3408, allocations: 36 kB / 227.9 MB, free: 0.5586 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.3408, allocations: 27.95 kB / 227.9 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.3433, allocations: 0.7028 MB / 228.6 MB, free: 15.83 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005795/0.3491, allocations: 2.302 MB / 230.9 MB, free: 13.45 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.3509, allocations: 0.6521 MB / 231.5 MB, free: 12.78 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008471/0.3518, allocations: 327.8 kB / 231.9 MB, free: 12.46 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.3519, allocations: 16.78 kB / 231.9 MB, free: 12.44 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.3531, allocations: 430.2 kB / 232.3 MB, free: 12 MB / 202.7 MB Notification: Performance of pre-optimization done (n=99): time 5.55e-06/0.3531, allocations: 0 / 232.3 MB, free: 12 MB / 202.7 MB Notification: Performance of matching and sorting (n=99): time 0.001839/0.355, allocations: 0.5895 MB / 232.9 MB, free: 11.41 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.3552, allocations: 109.9 kB / 233 MB, free: 11.28 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.3557, allocations: 284.3 kB / 233.3 MB, free: 11 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002111/0.3559, allocations: 73.69 kB / 233.3 MB, free: 10.92 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.3563, allocations: 343.4 kB / 233.7 MB, free: 10.58 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/0.3567, allocations: 245 kB / 233.9 MB, free: 10.34 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.3567, allocations: 24 kB / 233.9 MB, free: 10.31 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.357, allocations: 358.7 kB / 234.3 MB, free: 9.953 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007781/0.3577, allocations: 246.6 kB / 234.5 MB, free: 9.711 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009835/0.3587, allocations: 471.5 kB / 235 MB, free: 9.176 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008616/0.3596, allocations: 269.1 kB / 235.3 MB, free: 8.914 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.3597, allocations: 4 kB / 235.3 MB, free: 8.91 MB / 202.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002381/0.3621, allocations: 0.8399 MB / 236.1 MB, free: 8.062 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.3621, allocations: 9.562 kB / 236.1 MB, free: 8.055 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.3622, allocations: 4 kB / 236.1 MB, free: 8.051 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.105e-05/0.3622, allocations: 16 kB / 236.1 MB, free: 8.035 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/0.363, allocations: 115.6 kB / 236.2 MB, free: 7.922 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.698e-05/0.3631, allocations: 8.594 kB / 236.3 MB, free: 7.914 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.3637, allocations: 75.72 kB / 236.3 MB, free: 7.84 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.3638, allocations: 51.92 kB / 236.4 MB, free: 7.789 MB / 202.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.0004662/0.3643, allocations: 246.5 kB / 236.6 MB, free: 7.539 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.3645, allocations: 47.44 kB / 236.7 MB, free: 7.492 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.3666, allocations: 0.7339 MB / 237.4 MB, free: 6.75 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.3667, allocations: 8 kB / 237.4 MB, free: 6.742 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.3667, allocations: 7.984 kB / 237.4 MB, free: 6.734 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.3667, allocations: 3.984 kB / 237.4 MB, free: 6.73 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004635/0.3714, allocations: 1.647 MB / 239.1 MB, free: 5.031 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.3714, allocations: 0 / 239.1 MB, free: 5.031 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.372, allocations: 71.83 kB / 239.1 MB, free: 4.961 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.717e-05/0.372, allocations: 4 kB / 239.1 MB, free: 4.957 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.541e-05/0.3721, allocations: 27.98 kB / 239.2 MB, free: 4.93 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.3722, allocations: 4 kB / 239.2 MB, free: 4.926 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3722, allocations: 3.938 kB / 239.2 MB, free: 4.922 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.374, allocations: 0.7833 MB / 240 MB, free: 4.109 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.3743, allocations: 124.4 kB / 240.1 MB, free: 3.969 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.3744, allocations: 27.98 kB / 240.1 MB, free: 3.941 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/0.3749, allocations: 39.97 kB / 240.1 MB, free: 3.902 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003448/0.3752, allocations: 100.8 kB / 240.2 MB, free: 3.805 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.586e-05/0.3754, allocations: 35.98 kB / 240.3 MB, free: 3.77 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002187/0.3756, allocations: 149.4 kB / 240.4 MB, free: 3.625 MB / 202.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3756, allocations: 4 kB / 240.4 MB, free: 3.621 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0009834/0.3766, allocations: 171.9 kB / 240.6 MB, free: 3.453 MB / 202.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.002474/0.3791, allocations: 1.456 MB / 242 MB, free: 1.965 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.00206/0.3812, allocations: 0.7342 MB / 242.8 MB, free: 1.238 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.3813, allocations: 0 / 242.8 MB, free: 1.238 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3823, allocations: 361.6 kB / 243.1 MB, free: 0.8828 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.383, allocations: 77.16 kB / 243.2 MB, free: 0.8086 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1518/0.5349, allocations: 1.05 MB / 244.3 MB, free: 51.21 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/0.5356, allocations: 0.9543 MB / 245.2 MB, free: 50.51 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007656/0.5364, allocations: 264.9 kB / 245.5 MB, free: 50.51 MB / 202.7 MB Notification: Performance of SimCode: time 1.793e-06/0.5364, allocations: 0 / 245.5 MB, free: 50.51 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.834/3.37, allocations: 11.26 MB / 256.7 MB, free: 47.31 MB / 202.7 MB