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.022/1.022, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002683, allocations: 4 kB / 158.4 MB, free: 15.09 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05551/0.05581, allocations: 25.18 MB / 183.6 MB, free: 5.867 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2138/0.2697, allocations: 34.35 MB / 217.9 MB, free: 6.23 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.27, allocations: 59.14 kB / 218 MB, free: 6.227 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04224/0.3122, allocations: 11.34 MB / 229.3 MB, free: 1.52 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3123, allocations: 1.25 kB / 229.3 MB, free: 1.52 MB / 170.7 MB Notification: Performance of Transformations before backend: time 6.666e-05/0.3124, allocations: 28.23 kB / 229.4 MB, free: 1.512 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.00192/0.3143, allocations: 0.9093 MB / 230.3 MB, free: 0.6992 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.3144, allocations: 12.03 kB / 230.3 MB, free: 0.6875 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002555/0.3146, allocations: 143.3 kB / 230.4 MB, free: 0.5938 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.3148, allocations: 92.84 kB / 230.5 MB, free: 0.5039 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000735/0.3156, allocations: 428.5 kB / 230.9 MB, free: 120 kB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/0.3157, allocations: 89.62 kB / 231 MB, free: 68 kB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.3159, allocations: 106.2 kB / 231.1 MB, free: 15.99 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.3183, allocations: 0.9294 MB / 232.1 MB, free: 15.32 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.3183, allocations: 0 / 232.1 MB, free: 15.32 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.3184, allocations: 34.75 kB / 232.1 MB, free: 15.32 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.3185, allocations: 27.95 kB / 232.1 MB, free: 15.29 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.3206, allocations: 0.7315 MB / 232.9 MB, free: 14.79 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004819/0.3255, allocations: 2.294 MB / 235.1 MB, free: 12.97 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.327, allocations: 0.672 MB / 235.8 MB, free: 12.52 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.595e-05/0.3272, allocations: 13 kB / 235.8 MB, free: 12.51 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009809/0.3282, allocations: 428.9 kB / 236.2 MB, free: 12.19 MB / 186.7 MB Notification: Performance of pre-optimization done (n=99): time 4.068e-06/0.3282, allocations: 0 / 236.2 MB, free: 12.19 MB / 186.7 MB Notification: Performance of matching and sorting (n=99): time 0.002302/0.3305, allocations: 0.8319 MB / 237.1 MB, free: 11.57 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/0.3306, allocations: 101.4 kB / 237.2 MB, free: 11.46 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.3311, allocations: 300.3 kB / 237.5 MB, free: 11.21 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.3313, allocations: 69.5 kB / 237.5 MB, free: 11.16 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.3316, allocations: 345.6 kB / 237.9 MB, free: 10.89 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.3319, allocations: 242.1 kB / 238.1 MB, free: 10.71 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.332, allocations: 22 kB / 238.1 MB, free: 10.7 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002468/0.3322, allocations: 360.5 kB / 238.5 MB, free: 10.36 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000788/0.333, allocations: 258.9 kB / 238.7 MB, free: 10.19 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.334, allocations: 471 kB / 239.2 MB, free: 9.766 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00081/0.3349, allocations: 281.5 kB / 239.5 MB, free: 9.59 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.3349, allocations: 3.938 kB / 239.5 MB, free: 9.586 MB / 186.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002158/0.3371, allocations: 0.8564 MB / 240.3 MB, free: 8.953 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.3371, allocations: 8 kB / 240.3 MB, free: 8.945 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.3372, allocations: 4 kB / 240.3 MB, free: 8.941 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.315e-05/0.3372, allocations: 19.98 kB / 240.4 MB, free: 8.922 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007187/0.3379, allocations: 109.3 kB / 240.5 MB, free: 8.824 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.773e-05/0.338, allocations: 19.92 kB / 240.5 MB, free: 8.805 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.3386, allocations: 70.92 kB / 240.6 MB, free: 8.754 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.3387, allocations: 50.61 kB / 240.6 MB, free: 8.715 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.0008035/0.3395, allocations: 338.5 kB / 240.9 MB, free: 8.441 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.3397, allocations: 47.44 kB / 241 MB, free: 8.395 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.3417, allocations: 0.7507 MB / 241.7 MB, free: 7.832 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.3417, allocations: 16 kB / 241.8 MB, free: 7.816 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.3418, allocations: 3.984 kB / 241.8 MB, free: 7.812 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.3418, allocations: 7.922 kB / 241.8 MB, free: 7.805 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/0.3461, allocations: 1.657 MB / 243.4 MB, free: 6.121 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.3461, allocations: 0 / 243.4 MB, free: 6.121 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.3466, allocations: 79.77 kB / 243.5 MB, free: 6.043 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.534e-05/0.3467, allocations: 4 kB / 243.5 MB, free: 6.039 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/0.3467, allocations: 19.98 kB / 243.5 MB, free: 6.02 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.3468, allocations: 4 kB / 243.5 MB, free: 6.016 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3468, allocations: 0 / 243.5 MB, free: 6.016 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.3486, allocations: 0.7987 MB / 244.3 MB, free: 5.195 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.3487, allocations: 132.3 kB / 244.5 MB, free: 5.047 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.3488, allocations: 19.98 kB / 244.5 MB, free: 5.027 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.3493, allocations: 39.97 kB / 244.5 MB, free: 4.988 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003147/0.3496, allocations: 104.8 kB / 244.6 MB, free: 4.887 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.755e-05/0.3497, allocations: 35.98 kB / 244.7 MB, free: 4.852 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002043/0.3499, allocations: 156.5 kB / 244.8 MB, free: 4.703 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.555e-06/0.3499, allocations: 4 kB / 244.8 MB, free: 4.699 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0009139/0.3509, allocations: 171.9 kB / 245 MB, free: 4.531 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.002325/0.3532, allocations: 1.478 MB / 246.5 MB, free: 3.02 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.3552, allocations: 0.7454 MB / 247.2 MB, free: 2.281 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3552, allocations: 0 / 247.2 MB, free: 2.281 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009134/0.3562, allocations: 373.9 kB / 247.6 MB, free: 1.918 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.3568, allocations: 72.38 kB / 247.6 MB, free: 1.848 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009391/0.3662, allocations: 6.891 MB / 254.5 MB, free: 10.79 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007236/0.367, allocations: 0.951 MB / 255.5 MB, free: 9.816 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006982/0.3677, allocations: 259.3 kB / 255.7 MB, free: 9.566 MB / 202.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3677, allocations: 0 / 255.7 MB, free: 9.566 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.589/2.957, allocations: 11.09 MB / 266.8 MB, free: 14.45 MB / 218.7 MB