Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.StateGraph.Examples.ExecutionPaths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.StateGraph.Examples.ExecutionPaths") translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8986/0.8986, allocations: 110.8 MB / 118.3 MB, free: 14.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001983/0.001983, allocations: 155.4 kB / 144 MB, free: 4.797 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.927e-05/1.914e-05, allocations: 7.984 kB / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05564/0.05568, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05573/0.1115, allocations: 33.6 MB / 232.6 MB, free: 12.05 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.1118, allocations: 59.98 kB / 232.7 MB, free: 11.99 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02828/0.1401, allocations: 11.03 MB / 243.7 MB, free: 0.8828 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1401, allocations: 0 / 243.7 MB, free: 0.8828 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.95e-05/0.1402, allocations: 23.98 kB / 243.7 MB, free: 0.8594 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.1201/0.2603, allocations: 0.8694 MB / 244.6 MB, free: 38.57 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.025e-05/0.2604, allocations: 8.875 kB / 244.6 MB, free: 38.57 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004057/0.2608, allocations: 93.62 kB / 244.7 MB, free: 38.53 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.2615, allocations: 426.2 kB / 245.1 MB, free: 38.32 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-05/0.2616, allocations: 38.23 kB / 245.2 MB, free: 38.32 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.2617, allocations: 63.14 kB / 245.2 MB, free: 38.32 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001246/0.263, allocations: 0.6504 MB / 245.9 MB, free: 38.32 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.2643, allocations: 0.7811 MB / 246.6 MB, free: 38.22 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.2644, allocations: 3 kB / 246.7 MB, free: 38.22 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.029e-05/0.2645, allocations: 8.5 kB / 246.7 MB, free: 38.21 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.2645, allocations: 25.59 kB / 246.7 MB, free: 38.21 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/0.2675, allocations: 2.142 MB / 248.8 MB, free: 37.44 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/0.2684, allocations: 0.6095 MB / 249.4 MB, free: 37.37 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/0.2688, allocations: 303.2 kB / 249.7 MB, free: 37.35 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.112e-05/0.2689, allocations: 17.86 kB / 249.7 MB, free: 37.35 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005433/0.2694, allocations: 395.5 kB / 250.1 MB, free: 37.27 MB / 186.7 MB Notification: Performance of pre-optimization done (n=99): time 2.765e-06/0.2695, allocations: 2.391 kB / 250.1 MB, free: 37.27 MB / 186.7 MB Notification: Performance of matching and sorting (n=99): time 0.0009949/0.2705, allocations: 0.5406 MB / 250.7 MB, free: 37.09 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.2705, allocations: 96.23 kB / 250.8 MB, free: 36.99 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.2708, allocations: 283.9 kB / 251 MB, free: 36.8 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-05/0.2709, allocations: 52.3 kB / 251.1 MB, free: 36.75 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.271, allocations: 285.9 kB / 251.4 MB, free: 36.55 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.2712, allocations: 233.6 kB / 251.6 MB, free: 36.4 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.2713, allocations: 0 / 251.6 MB, free: 36.4 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.2713, allocations: 366.2 kB / 252 MB, free: 36.06 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.2718, allocations: 224.8 kB / 252.2 MB, free: 35.98 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.2723, allocations: 434.7 kB / 252.6 MB, free: 35.65 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.2727, allocations: 254.1 kB / 252.9 MB, free: 35.55 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.2727, allocations: 2.5 kB / 252.9 MB, free: 35.55 MB / 186.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001117/0.2739, allocations: 0.7441 MB / 253.6 MB, free: 35.28 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.2739, allocations: 10.28 kB / 253.6 MB, free: 35.28 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.2739, allocations: 13.47 kB / 253.6 MB, free: 35.27 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.274, allocations: 12.53 kB / 253.6 MB, free: 35.27 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.2744, allocations: 107.6 kB / 253.7 MB, free: 35.25 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.2744, allocations: 16.69 kB / 253.8 MB, free: 35.25 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.2747, allocations: 49.69 kB / 253.8 MB, free: 35.23 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/0.2748, allocations: 48.5 kB / 253.9 MB, free: 35.22 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.0002447/0.2751, allocations: 210.7 kB / 254.1 MB, free: 35.05 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.006e-05/0.2752, allocations: 52.64 kB / 254.1 MB, free: 35.03 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.2763, allocations: 0.6701 MB / 254.8 MB, free: 34.79 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.2763, allocations: 10.22 kB / 254.8 MB, free: 34.79 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2763, allocations: 0 / 254.8 MB, free: 34.79 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.2764, allocations: 3.469 kB / 254.8 MB, free: 34.79 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.2786, allocations: 1.48 MB / 256.3 MB, free: 34.11 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2786, allocations: 0 / 256.3 MB, free: 34.11 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.2789, allocations: 72.48 kB / 256.3 MB, free: 34.09 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.2789, allocations: 3.875 kB / 256.4 MB, free: 34.09 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.279, allocations: 10.36 kB / 256.4 MB, free: 34.09 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.279, allocations: 9.172 kB / 256.4 MB, free: 34.09 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.279, allocations: 0 / 256.4 MB, free: 34.09 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000987/0.28, allocations: 0.7345 MB / 257.1 MB, free: 33.73 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.2801, allocations: 127.4 kB / 257.2 MB, free: 33.6 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.2801, allocations: 11.17 kB / 257.2 MB, free: 33.6 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.2804, allocations: 24.22 kB / 257.3 MB, free: 33.6 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.2806, allocations: 104.4 kB / 257.4 MB, free: 33.58 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/0.2807, allocations: 35.23 kB / 257.4 MB, free: 33.57 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.2808, allocations: 146.4 kB / 257.5 MB, free: 33.48 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2808, allocations: 0 / 257.5 MB, free: 33.48 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007617/0.2816, allocations: 127.1 kB / 257.7 MB, free: 33.47 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.0002787/0.2819, allocations: 155.7 kB / 257.8 MB, free: 33.35 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0009317/0.2828, allocations: 0.6735 MB / 258.5 MB, free: 33.12 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2828, allocations: 0 / 258.5 MB, free: 33.12 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004046/0.2832, allocations: 349.2 kB / 258.8 MB, free: 33 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.2836, allocations: 56.19 kB / 258.9 MB, free: 32.99 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.2852, allocations: 0.8522 MB / 259.7 MB, free: 32.59 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.2857, allocations: 0.9603 MB / 260.7 MB, free: 31.87 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0003176/0.286, allocations: 107.5 kB / 260.8 MB, free: 31.86 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.2862, allocations: 70.88 kB / 260.9 MB, free: 31.84 MB / 186.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2862, allocations: 0 / 260.9 MB, free: 31.84 MB / 186.7 MB Notification: Performance of Templates: time 0.01151/0.2977, allocations: 6.491 MB / 267.4 MB, free: 27.67 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.StateGraph.Examples.ExecutionPaths.makefile (rm -f Modelica_3.1_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_3.1_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_3.1_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_3.1_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_3.1_Modelica.StateGraph.Examples.ExecutionPaths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1)