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.221/1.221, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002802, allocations: 8 kB / 158.3 MB, free: 15.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0558/0.05611, allocations: 25.17 MB / 183.5 MB, free: 5.922 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ExecutionPaths): time 0.003698/0.05987, allocations: 2.028 MB / 185.5 MB, free: 3.891 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.06255, allocations: 0.8802 MB / 186.4 MB, free: 3.008 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000441/0.06304, allocations: 15.94 kB / 186.4 MB, free: 2.992 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.06334, allocations: 87.25 kB / 186.5 MB, free: 2.906 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.06359, allocations: 55.77 kB / 186.6 MB, free: 2.852 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.06513, allocations: 335.5 kB / 186.9 MB, free: 2.523 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.06683, allocations: 0.6594 MB / 187.6 MB, free: 1.863 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.06822, allocations: 0.6074 MB / 188.2 MB, free: 1.242 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/0.06873, allocations: 271 kB / 188.4 MB, free: 0.9766 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005034/0.06925, allocations: 310.5 kB / 188.7 MB, free: 0.6719 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.06939, allocations: 40 kB / 188.8 MB, free: 0.6328 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.06961, allocations: 55.98 kB / 188.8 MB, free: 0.5781 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.06987, allocations: 171.4 kB / 189 MB, free: 420 kB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.07009, allocations: 153.3 kB / 189.1 MB, free: 260 kB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.07124, allocations: 0.6586 MB / 189.8 MB, free: 15.59 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.07126, allocations: 0 / 189.8 MB, free: 15.59 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.07128, allocations: 0 / 189.8 MB, free: 15.59 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.0713, allocations: 0 / 189.8 MB, free: 15.59 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.002137/0.07345, allocations: 0.8897 MB / 190.7 MB, free: 14.64 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.07352, allocations: 8.031 kB / 190.7 MB, free: 14.63 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002648/0.07379, allocations: 147.7 kB / 190.8 MB, free: 14.48 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.07403, allocations: 94.91 kB / 190.9 MB, free: 14.38 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008496/0.07489, allocations: 441.6 kB / 191.4 MB, free: 13.91 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.07505, allocations: 85.98 kB / 191.5 MB, free: 13.82 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.07527, allocations: 100 kB / 191.5 MB, free: 13.73 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.07775, allocations: 0.9336 MB / 192.5 MB, free: 12.77 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.07783, allocations: 0 / 192.5 MB, free: 12.77 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.07795, allocations: 36 kB / 192.5 MB, free: 12.73 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.078, allocations: 31.89 kB / 192.5 MB, free: 12.7 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.08021, allocations: 0.7377 MB / 193.3 MB, free: 11.96 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005171/0.08541, allocations: 2.36 MB / 195.6 MB, free: 9.535 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.08715, allocations: 0.6727 MB / 196.3 MB, free: 8.836 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.08731, allocations: 17 kB / 196.3 MB, free: 8.82 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.08842, allocations: 435 kB / 196.8 MB, free: 8.379 MB / 170.7 MB Notification: Performance of pre-optimization done (n=99): time 3.837e-06/0.08845, allocations: 0 / 196.8 MB, free: 8.379 MB / 170.7 MB Notification: Performance of matching and sorting (n=99): time 0.002379/0.09084, allocations: 0.8318 MB / 197.6 MB, free: 7.543 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.746e-05/0.09097, allocations: 102.1 kB / 197.7 MB, free: 7.426 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000503/0.09149, allocations: 324.2 kB / 198 MB, free: 7.094 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.09166, allocations: 69.69 kB / 198.1 MB, free: 7.02 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.09201, allocations: 351.4 kB / 198.4 MB, free: 6.672 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.09236, allocations: 244.7 kB / 198.7 MB, free: 6.43 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.09244, allocations: 24 kB / 198.7 MB, free: 6.406 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.09266, allocations: 362.7 kB / 199 MB, free: 6.043 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007754/0.09345, allocations: 254.5 kB / 199.3 MB, free: 5.793 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009837/0.09445, allocations: 475.4 kB / 199.7 MB, free: 5.254 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008348/0.0953, allocations: 274.7 kB / 200 MB, free: 4.988 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.09533, allocations: 0 / 200 MB, free: 4.988 MB / 170.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002285/0.09763, allocations: 0.8637 MB / 200.9 MB, free: 4.117 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.09771, allocations: 15.97 kB / 200.9 MB, free: 4.102 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.09773, allocations: 4 kB / 200.9 MB, free: 4.098 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.436e-05/0.09779, allocations: 16 kB / 200.9 MB, free: 4.082 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.09853, allocations: 107.7 kB / 201 MB, free: 3.977 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.183e-05/0.09858, allocations: 15.98 kB / 201 MB, free: 3.961 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/0.09922, allocations: 107 kB / 201.1 MB, free: 3.855 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.09937, allocations: 59.92 kB / 201.2 MB, free: 3.797 MB / 170.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,step0.active,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,transition1.enableFire,transition1.fire,transition1.outPort.occupied,$PRE.transition1.t_start,transition1.t_start,step1.active,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,step6.active,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step2.active,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,step3.active,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step4.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,step5.active,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,transition7.condition,transition7.enableFire,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,step4a.active,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,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.0007976/0.1002, allocations: 333.6 kB / 201.5 MB, free: 3.457 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.1004, allocations: 51.42 kB / 201.6 MB, free: 3.406 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.1025, allocations: 0.7456 MB / 202.3 MB, free: 2.656 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.1025, allocations: 8 kB / 202.3 MB, free: 2.648 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.1025, allocations: 7.984 kB / 202.3 MB, free: 2.641 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.1026, allocations: 7.984 kB / 202.3 MB, free: 2.633 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004401/0.107, allocations: 1.691 MB / 204 MB, free: 0.8828 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.107, allocations: 4 kB / 204 MB, free: 0.8789 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/0.1076, allocations: 67.83 kB / 204.1 MB, free: 0.8125 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/0.1076, allocations: 4 kB / 204.1 MB, free: 0.8086 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/0.1077, allocations: 23.98 kB / 204.1 MB, free: 0.7852 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/0.1077, allocations: 4 kB / 204.1 MB, free: 0.7812 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1077, allocations: 4 kB / 204.1 MB, free: 0.7773 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1434/0.2512, allocations: 0.7783 MB / 204.9 MB, free: 23.77 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.2514, allocations: 140.7 kB / 205.1 MB, free: 23.68 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.2516, allocations: 19.23 kB / 205.1 MB, free: 23.68 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.2521, allocations: 44.7 kB / 205.1 MB, free: 23.68 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/0.2525, allocations: 101.6 kB / 205.2 MB, free: 23.68 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.2526, allocations: 34.27 kB / 205.3 MB, free: 23.68 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002093/0.2528, allocations: 153.4 kB / 205.4 MB, free: 23.6 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2528, allocations: 0 / 205.4 MB, free: 23.6 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.000905/0.2537, allocations: 205.4 kB / 205.6 MB, free: 23.58 MB / 170.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.active,step0.newActive,step0.oldActive,transition1.fire,transition1.outPort.occupied,transition1.t_start,step1.active,step1.newActive,step1.oldActive,transition2.fire,transition2.t_start,step6.active,step6.newActive,step6.oldActive,step2.active,step2.outPort[1].reset,step2.newActive,step2.oldActive,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.active,step3.newActive,step3.oldActive,step4.active,step4.newActive,step4.oldActive,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.active,step5.inPort[1].set,step5.newActive,step5.oldActive,transition7.condition,transition7.enableFire,transition4a.fire,transition4a.t_start,step4a.active,step4a.newActive,step4a.oldActive,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,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.002205/0.2559, allocations: 1.393 MB / 207 MB, free: 22.91 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.2579, allocations: 0.746 MB / 207.7 MB, free: 22.84 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.258, allocations: 6.109 kB / 207.7 MB, free: 22.84 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009396/0.2589, allocations: 372.4 kB / 208.1 MB, free: 22.72 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/0.2596, allocations: 70.2 kB / 208.2 MB, free: 22.7 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007514/0.2671, allocations: 3.323 MB / 211.5 MB, free: 20.83 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.2678, allocations: 0.9533 MB / 212.5 MB, free: 20.11 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006927/0.2685, allocations: 258 kB / 212.7 MB, free: 19.94 MB / 170.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2685, allocations: 0 / 212.7 MB, free: 19.94 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.507/2.775, allocations: 11.09 MB / 223.8 MB, free: 12.72 MB / 170.7 MB