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.6725/0.6725, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001822/0.001822, allocations: 139.4 kB / 151.8 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002248/0.0002248, allocations: 4 kB / 184.9 MB, free: 3.941 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1188, allocations: 25.15 MB / 210 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.03739/0.1563, allocations: 34.36 MB / 244.4 MB, free: 15.48 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/0.1565, allocations: 69.41 kB / 244.5 MB, free: 15.41 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02793/0.1844, allocations: 11.34 MB / 255.8 MB, free: 4.066 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1845, allocations: 0 / 255.8 MB, free: 4.066 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.479e-05/0.1845, allocations: 31.88 kB / 255.8 MB, free: 4.035 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.001544/0.1861, allocations: 0.905 MB / 256.7 MB, free: 3.043 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1861, allocations: 8.031 kB / 256.8 MB, free: 3.035 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.1863, allocations: 94.75 kB / 256.8 MB, free: 2.945 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000609/0.187, allocations: 422.1 kB / 257.3 MB, free: 2.492 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.502e-05/0.1871, allocations: 89.98 kB / 257.3 MB, free: 2.406 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.1872, allocations: 104 kB / 257.4 MB, free: 2.305 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.1887, allocations: 0.9259 MB / 258.4 MB, free: 1.352 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.1887, allocations: 0 / 258.4 MB, free: 1.352 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/0.1888, allocations: 36 kB / 258.4 MB, free: 1.316 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.1888, allocations: 27.95 kB / 258.4 MB, free: 1.289 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.1901, allocations: 0.7221 MB / 259.2 MB, free: 0.5664 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.1929, allocations: 2.306 MB / 261.5 MB, free: 14.18 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009485/0.1939, allocations: 0.6647 MB / 262.1 MB, free: 13.49 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.109e-05/0.194, allocations: 18.16 kB / 262.1 MB, free: 13.48 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005741/0.1946, allocations: 433.7 kB / 262.6 MB, free: 13.04 MB / 202.7 MB Notification: Performance of pre-optimization done (n=99): time 3.156e-06/0.1946, allocations: 0 / 262.6 MB, free: 13.04 MB / 202.7 MB Notification: Performance of matching and sorting (n=99): time 0.001395/0.196, allocations: 0.8318 MB / 263.4 MB, free: 12.2 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.1961, allocations: 102.2 kB / 263.5 MB, free: 12.08 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.1964, allocations: 299.2 kB / 263.8 MB, free: 11.78 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 8.507e-05/0.1965, allocations: 69.69 kB / 263.9 MB, free: 11.7 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.1967, allocations: 289.1 kB / 264.1 MB, free: 11.41 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.1969, allocations: 237 kB / 264.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.197, allocations: 24 kB / 264.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1971, allocations: 370.8 kB / 264.8 MB, free: 10.79 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004651/0.1976, allocations: 254.5 kB / 265 MB, free: 10.54 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/0.1981, allocations: 471.4 kB / 265.5 MB, free: 10 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.1986, allocations: 282.5 kB / 265.7 MB, free: 9.723 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1986, allocations: 8 kB / 265.8 MB, free: 9.715 MB / 202.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001296/0.1999, allocations: 0.8675 MB / 266.6 MB, free: 8.84 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.2, allocations: 8 kB / 266.6 MB, free: 8.832 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.2, allocations: 4 kB / 266.6 MB, free: 8.828 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.2, allocations: 12 kB / 266.6 MB, free: 8.816 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.2004, allocations: 115.7 kB / 266.8 MB, free: 8.703 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.2005, allocations: 15.94 kB / 266.8 MB, free: 8.688 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.2008, allocations: 71.8 kB / 266.8 MB, free: 8.617 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/0.2009, allocations: 47.98 kB / 266.9 MB, free: 8.57 MB / 202.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.0005056/0.2014, allocations: 342 kB / 267.2 MB, free: 8.223 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.2015, allocations: 51.42 kB / 267.3 MB, free: 8.172 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.2027, allocations: 0.7456 MB / 268 MB, free: 7.422 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.2027, allocations: 8 kB / 268 MB, free: 7.414 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.2027, allocations: 8 kB / 268 MB, free: 7.406 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.2028, allocations: 3.984 kB / 268 MB, free: 7.402 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.2054, allocations: 1.668 MB / 269.7 MB, free: 5.68 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2054, allocations: 3.953 kB / 269.7 MB, free: 5.676 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.2057, allocations: 67.83 kB / 269.8 MB, free: 5.609 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.2057, allocations: 8 kB / 269.8 MB, free: 5.602 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/0.2058, allocations: 23.98 kB / 269.8 MB, free: 5.578 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.2058, allocations: 4 kB / 269.8 MB, free: 5.574 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2058, allocations: 0 / 269.8 MB, free: 5.574 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.2069, allocations: 0.799 MB / 270.6 MB, free: 4.75 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.207, allocations: 128.4 kB / 270.7 MB, free: 4.605 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.2071, allocations: 27.98 kB / 270.8 MB, free: 4.578 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.2073, allocations: 39.97 kB / 270.8 MB, free: 4.539 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/0.2075, allocations: 100.8 kB / 270.9 MB, free: 4.441 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-05/0.2076, allocations: 35.98 kB / 270.9 MB, free: 4.406 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.2077, allocations: 152.5 kB / 271.1 MB, free: 4.262 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2077, allocations: 0 / 271.1 MB, free: 4.262 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0006265/0.2083, allocations: 168 kB / 271.2 MB, free: 4.098 MB / 202.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.0002446/0.2086, allocations: 164.9 kB / 271.4 MB, free: 3.93 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.2099, allocations: 0.7453 MB / 272.2 MB, free: 3.191 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2099, allocations: 0 / 272.2 MB, free: 3.191 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005316/0.2104, allocations: 385.5 kB / 272.5 MB, free: 2.812 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.2108, allocations: 80.31 kB / 272.6 MB, free: 2.734 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.2131, allocations: 1.396 MB / 274 MB, free: 1.312 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.2137, allocations: 0.9549 MB / 275 MB, free: 332 kB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0003441/0.214, allocations: 109.9 kB / 275.1 MB, free: 220 kB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.2142, allocations: 75.41 kB / 275.1 MB, free: 144 kB / 202.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2143, allocations: 0 / 275.1 MB, free: 144 kB / 202.7 MB Notification: Performance of Templates: time 0.01321/0.2275, allocations: 6.628 MB / 281.8 MB, free: 9.539 MB / 218.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)