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.8075/0.8075, allocations: 110.8 MB / 123.3 MB, free: 10.78 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001635/0.001635, allocations: 147.5 kB / 149.1 MB, free: 0.9922 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.188e-05/2.192e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05934/0.05938, allocations: 25.18 MB / 205.4 MB, free: 8.445 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05192/0.1114, allocations: 34.26 MB / 239.6 MB, free: 6.125 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.1116, allocations: 63.97 kB / 239.7 MB, free: 6.062 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1242/0.2358, allocations: 11.3 MB / 251 MB, free: 39.71 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.2358, allocations: 0 / 251 MB, free: 39.71 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.358e-05/0.2359, allocations: 28 kB / 251 MB, free: 39.71 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.001126/0.237, allocations: 0.8838 MB / 251.9 MB, free: 39.12 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2371, allocations: 9.562 kB / 251.9 MB, free: 39.12 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.2372, allocations: 96.23 kB / 252 MB, free: 39.08 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.2378, allocations: 422.4 kB / 252.4 MB, free: 38.83 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.2379, allocations: 86.31 kB / 252.5 MB, free: 38.79 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.238, allocations: 104.7 kB / 252.6 MB, free: 38.76 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.2394, allocations: 0.9023 MB / 253.5 MB, free: 38.36 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.2395, allocations: 5.062 kB / 253.5 MB, free: 38.36 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.181e-05/0.2395, allocations: 39.19 kB / 253.6 MB, free: 38.33 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.2396, allocations: 26.98 kB / 253.6 MB, free: 38.32 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.2407, allocations: 0.7074 MB / 254.3 MB, free: 38.08 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/0.2433, allocations: 2.312 MB / 256.6 MB, free: 36.64 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008328/0.2441, allocations: 0.6554 MB / 257.3 MB, free: 36.31 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/0.2445, allocations: 328.4 kB / 257.6 MB, free: 36.16 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.358e-05/0.2446, allocations: 18.88 kB / 257.6 MB, free: 36.16 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005153/0.2452, allocations: 419 kB / 258 MB, free: 35.89 MB / 186.7 MB Notification: Performance of pre-optimization done (n=99): time 2.996e-06/0.2452, allocations: 0 / 258 MB, free: 35.89 MB / 186.7 MB Notification: Performance of matching and sorting (n=99): time 0.0008407/0.246, allocations: 0.592 MB / 258.6 MB, free: 35.64 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.2461, allocations: 100.8 kB / 258.7 MB, free: 35.54 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.2463, allocations: 299.3 kB / 259 MB, free: 35.31 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.2464, allocations: 64.58 kB / 259.1 MB, free: 35.25 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.2466, allocations: 289.9 kB / 259.3 MB, free: 35.02 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.2467, allocations: 245 kB / 259.6 MB, free: 34.83 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.2467, allocations: 19.88 kB / 259.6 MB, free: 34.82 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 7.993e-05/0.2468, allocations: 370.2 kB / 260 MB, free: 34.46 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.2472, allocations: 244.4 kB / 260.2 MB, free: 34.37 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.2476, allocations: 474.2 kB / 260.7 MB, free: 33.93 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.2479, allocations: 277.1 kB / 260.9 MB, free: 33.66 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.248, allocations: 0 / 260.9 MB, free: 33.66 MB / 186.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0009702/0.2489, allocations: 0.8439 MB / 261.8 MB, free: 32.81 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.249, allocations: 10.03 kB / 261.8 MB, free: 32.8 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.249, allocations: 4 kB / 261.8 MB, free: 32.8 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.249, allocations: 16 kB / 261.8 MB, free: 32.79 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.2494, allocations: 111.6 kB / 261.9 MB, free: 32.68 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.2494, allocations: 12 kB / 261.9 MB, free: 32.66 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.2497, allocations: 76.09 kB / 262 MB, free: 32.59 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.961e-05/0.2498, allocations: 47.98 kB / 262.1 MB, free: 32.54 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.0002454/0.2501, allocations: 254.5 kB / 262.3 MB, free: 32.28 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.2501, allocations: 47.38 kB / 262.4 MB, free: 32.23 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009515/0.2511, allocations: 0.7289 MB / 263.1 MB, free: 31.51 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.2511, allocations: 12 kB / 263.1 MB, free: 31.5 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2511, allocations: 3.984 kB / 263.1 MB, free: 31.49 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.2511, allocations: 3.984 kB / 263.1 MB, free: 31.49 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.253, allocations: 1.656 MB / 264.8 MB, free: 29.81 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2531, allocations: 8 kB / 264.8 MB, free: 29.8 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.2533, allocations: 71.83 kB / 264.8 MB, free: 29.73 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.2533, allocations: 4 kB / 264.8 MB, free: 29.73 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.2534, allocations: 23.98 kB / 264.9 MB, free: 29.7 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.2534, allocations: 4 kB / 264.9 MB, free: 29.7 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2534, allocations: 4 kB / 264.9 MB, free: 29.7 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007782/0.2542, allocations: 0.7795 MB / 265.6 MB, free: 28.89 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.2543, allocations: 132.3 kB / 265.8 MB, free: 28.74 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.888e-05/0.2543, allocations: 19.98 kB / 265.8 MB, free: 28.72 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.2546, allocations: 39.97 kB / 265.8 MB, free: 28.68 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.2547, allocations: 104.8 kB / 265.9 MB, free: 28.58 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.2548, allocations: 31.98 kB / 266 MB, free: 28.55 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.947e-05/0.2549, allocations: 157.4 kB / 266.1 MB, free: 28.39 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2549, allocations: 0 / 266.1 MB, free: 28.39 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005778/0.2555, allocations: 168 kB / 266.3 MB, free: 28.23 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.0002231/0.2557, allocations: 151.1 kB / 266.4 MB, free: 28.07 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0008788/0.2566, allocations: 0.733 MB / 267.2 MB, free: 27.34 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2566, allocations: 3.938 kB / 267.2 MB, free: 27.34 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.257, allocations: 377 kB / 267.5 MB, free: 26.97 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.2574, allocations: 73.7 kB / 267.6 MB, free: 26.9 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.2588, allocations: 0.9048 MB / 268.5 MB, free: 25.97 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.2591, allocations: 0.9586 MB / 269.5 MB, free: 24.98 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0002786/0.2594, allocations: 105.9 kB / 269.6 MB, free: 24.88 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.2595, allocations: 71.41 kB / 269.6 MB, free: 24.8 MB / 186.7 MB Notification: Performance of SimCode: time 4e-07/0.2595, allocations: 0 / 269.6 MB, free: 24.8 MB / 186.7 MB Notification: Performance of Templates: time 0.01021/0.2698, allocations: 6.64 MB / 276.3 MB, free: 18.17 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)