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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.012/1.012, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.919e-05, allocations: 0 / 148.2 MB, free: 6.137 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05625/0.05633, allocations: 25.19 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2113/0.2677, allocations: 33.59 MB / 207 MB, free: 4.637 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.268, allocations: 63.06 kB / 207 MB, free: 4.637 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0451/0.3131, allocations: 11.03 MB / 218.1 MB, free: 2.031 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3132, allocations: 0 / 218.1 MB, free: 2.031 MB / 170.7 MB Notification: Performance of Transformations before backend: time 5.083e-05/0.3133, allocations: 26.28 kB / 218.1 MB, free: 2.023 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.001912/0.3152, allocations: 0.8792 MB / 219 MB, free: 1.352 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.3153, allocations: 9.156 kB / 219 MB, free: 1.352 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.3155, allocations: 92.73 kB / 219.1 MB, free: 1.305 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007829/0.3163, allocations: 436.8 kB / 219.5 MB, free: 1 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.3164, allocations: 29.75 kB / 219.5 MB, free: 1 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.3166, allocations: 68.66 kB / 219.6 MB, free: 0.9961 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001667/0.3182, allocations: 0.6495 MB / 220.2 MB, free: 0.9297 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.32, allocations: 0.7834 MB / 221 MB, free: 0.6992 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.3201, allocations: 0 / 221 MB, free: 0.6992 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.841e-05/0.3202, allocations: 7.891 kB / 221 MB, free: 0.6953 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.3202, allocations: 22.78 kB / 221.1 MB, free: 0.6953 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004073/0.3243, allocations: 2.141 MB / 223.2 MB, free: 15.46 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.3255, allocations: 0.6148 MB / 223.8 MB, free: 15.35 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005711/0.3261, allocations: 305.1 kB / 224.1 MB, free: 15.32 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.3262, allocations: 16.27 kB / 224.1 MB, free: 15.32 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007791/0.327, allocations: 399.6 kB / 224.5 MB, free: 15.17 MB / 186.7 MB Notification: Performance of pre-optimization done (n=99): time 3.727e-06/0.327, allocations: 0 / 224.5 MB, free: 15.17 MB / 186.7 MB Notification: Performance of matching and sorting (n=99): time 0.001378/0.3284, allocations: 0.5383 MB / 225.1 MB, free: 15.05 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.3285, allocations: 96.98 kB / 225.1 MB, free: 14.95 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.3289, allocations: 283.9 kB / 225.4 MB, free: 14.79 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.329, allocations: 47.5 kB / 225.5 MB, free: 14.75 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.3293, allocations: 345.3 kB / 225.8 MB, free: 14.51 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.3296, allocations: 235.2 kB / 226 MB, free: 14.36 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.3296, allocations: 0 / 226 MB, free: 14.36 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3298, allocations: 358 kB / 226.4 MB, free: 14.03 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/0.3304, allocations: 218.9 kB / 226.6 MB, free: 14.02 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006972/0.3312, allocations: 433.9 kB / 227 MB, free: 13.79 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.3318, allocations: 254.8 kB / 227.3 MB, free: 13.72 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.3319, allocations: 0 / 227.3 MB, free: 13.72 MB / 186.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001717/0.3336, allocations: 0.7439 MB / 228 MB, free: 13.54 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.3336, allocations: 7.75 kB / 228 MB, free: 13.54 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.3337, allocations: 7.75 kB / 228 MB, free: 13.54 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/0.3337, allocations: 11.66 kB / 228 MB, free: 13.54 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/0.3344, allocations: 113.2 kB / 228.2 MB, free: 13.5 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.157e-05/0.3344, allocations: 19.55 kB / 228.2 MB, free: 13.5 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005319/0.335, allocations: 43.36 kB / 228.2 MB, free: 13.48 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.3351, allocations: 53.98 kB / 228.3 MB, free: 13.47 MB / 186.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.0003791/0.3355, allocations: 203.7 kB / 228.5 MB, free: 13.31 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001271/0.3368, allocations: 0.5438 MB / 229 MB, free: 13.18 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.905e-05/0.3369, allocations: 46.31 kB / 229.1 MB, free: 13.16 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.3387, allocations: 0.6725 MB / 229.7 MB, free: 12.98 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.3387, allocations: 11.72 kB / 229.7 MB, free: 12.98 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3388, allocations: 0 / 229.7 MB, free: 12.98 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.3388, allocations: 3.984 kB / 229.7 MB, free: 12.97 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.3424, allocations: 1.467 MB / 231.2 MB, free: 12.36 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.3425, allocations: 7.938 kB / 231.2 MB, free: 12.36 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.343, allocations: 69.92 kB / 231.3 MB, free: 12.34 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/0.343, allocations: 3.844 kB / 231.3 MB, free: 12.34 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.3431, allocations: 11.39 kB / 231.3 MB, free: 12.33 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.3431, allocations: 3.875 kB / 231.3 MB, free: 12.33 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.3431, allocations: 3.984 kB / 231.3 MB, free: 12.33 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.3447, allocations: 0.7389 MB / 232.1 MB, free: 12.05 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3448, allocations: 127.2 kB / 232.2 MB, free: 11.92 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.3449, allocations: 3.875 kB / 232.2 MB, free: 11.92 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.3453, allocations: 30.91 kB / 232.2 MB, free: 11.91 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.3456, allocations: 102.6 kB / 232.3 MB, free: 11.86 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.397e-05/0.3457, allocations: 38.23 kB / 232.3 MB, free: 11.86 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.3459, allocations: 140.8 kB / 232.5 MB, free: 11.77 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3459, allocations: 0 / 232.5 MB, free: 11.77 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0008033/0.3467, allocations: 138.1 kB / 232.6 MB, free: 11.76 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.002019/0.3488, allocations: 1.398 MB / 234 MB, free: 10.86 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.3503, allocations: 0.6703 MB / 234.7 MB, free: 10.8 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3504, allocations: 3.938 kB / 234.7 MB, free: 10.79 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006832/0.3511, allocations: 338.1 kB / 235 MB, free: 10.76 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006312/0.3517, allocations: 71 kB / 235.1 MB, free: 10.73 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.3545, allocations: 0.9657 MB / 236.1 MB, free: 10.3 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.3552, allocations: 0.9498 MB / 237 MB, free: 9.324 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006886/0.3559, allocations: 267.1 kB / 237.3 MB, free: 9.086 MB / 186.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3559, allocations: 0 / 237.3 MB, free: 9.086 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.652/3.007, allocations: 11.22 MB / 248.5 MB, free: 13.84 MB / 202.7 MB