Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths") translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001574/0.001574, allocations: 181.2 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.647/1.647, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001661/0.001661, allocations: 120.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.755e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/0.08734, allocations: 44.49 MB / 349.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3379/0.4253, allocations: 71.99 MB / 421.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001678/0.4256, allocations: 66.14 kB / 421.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02469/0.4502, allocations: 11.42 MB / 432.9 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4503, allocations: 0 / 432.9 MB, free: 7.078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.075e-05/0.4503, allocations: 23.28 kB / 432.9 MB, free: 7.074 MB / 298.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.001047/0.4514, allocations: 0.8874 MB / 433.8 MB, free: 6.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.4514, allocations: 7.719 kB / 433.8 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.4516, allocations: 92.34 kB / 433.9 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004939/0.4521, allocations: 434.3 kB / 434.3 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.489e-05/0.4521, allocations: 86.59 kB / 434.4 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.4522, allocations: 100.5 kB / 434.5 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.4535, allocations: 0.9104 MB / 435.4 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.4535, allocations: 0 / 435.4 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-05/0.4536, allocations: 46.48 kB / 435.5 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.4536, allocations: 19.38 kB / 435.5 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009217/0.4545, allocations: 0.6991 MB / 436.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.4569, allocations: 2.349 MB / 438.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/0.4577, allocations: 0.6488 MB / 439.2 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.458, allocations: 322.9 kB / 439.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.3e-05/0.4581, allocations: 23.69 kB / 439.5 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005205/0.4586, allocations: 425.5 kB / 439.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 2.184e-06/0.4586, allocations: 0 / 439.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.0007996/0.4594, allocations: 0.5975 MB / 440.5 MB, free: 4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.4595, allocations: 100.8 kB / 440.6 MB, free: 3.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.4597, allocations: 292.3 kB / 440.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.4598, allocations: 73.69 kB / 441 MB, free: 3.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.4599, allocations: 296.5 kB / 441.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.46, allocations: 235.5 kB / 441.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.4601, allocations: 26.75 kB / 441.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.4602, allocations: 369.4 kB / 441.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.4605, allocations: 252.4 kB / 442.1 MB, free: 3.039 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.461, allocations: 467.8 kB / 442.6 MB, free: 2.801 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.4613, allocations: 265.8 kB / 442.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4614, allocations: 3.844 kB / 442.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001037/0.4624, allocations: 0.8504 MB / 443.7 MB, free: 2.551 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4624, allocations: 11.78 kB / 443.7 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4624, allocations: 7.797 kB / 443.7 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.4625, allocations: 11.59 kB / 443.7 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.4629, allocations: 112.4 kB / 443.9 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.4629, allocations: 15.52 kB / 443.9 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.4632, allocations: 68.39 kB / 443.9 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.558e-05/0.4633, allocations: 53.3 kB / 444 MB, free: 2.48 MB / 298.7 MB 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.0001699/0.4634, allocations: 226.4 kB / 444.2 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.4635, allocations: 46.66 kB / 444.3 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009787/0.4645, allocations: 0.7291 MB / 445 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.4645, allocations: 15.95 kB / 445 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4645, allocations: 0 / 445 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.4645, allocations: 7.984 kB / 445 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.4665, allocations: 1.651 MB / 446.7 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4665, allocations: 0 / 446.7 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.4668, allocations: 71.2 kB / 446.7 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.4668, allocations: 4 kB / 446.7 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.4669, allocations: 23.36 kB / 446.8 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.4669, allocations: 11.94 kB / 446.8 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4669, allocations: 3.953 kB / 446.8 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.4678, allocations: 0.7799 MB / 447.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.4679, allocations: 124.4 kB / 447.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.4679, allocations: 18.98 kB / 447.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.4682, allocations: 51.23 kB / 447.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.4684, allocations: 100 kB / 447.8 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.94e-05/0.4684, allocations: 39.42 kB / 447.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.4686, allocations: 147.8 kB / 448 MB, free: 15.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4686, allocations: 0 / 448 MB, free: 15.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006411/0.4692, allocations: 162.6 kB / 448.2 MB, free: 15.25 MB / 314.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.0002623/0.4695, allocations: 173.3 kB / 448.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.4706, allocations: 0.7261 MB / 449.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4706, allocations: 0 / 449.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004874/0.4711, allocations: 370.6 kB / 449.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.4715, allocations: 76.67 kB / 449.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.4731, allocations: 0.9069 MB / 450.4 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.4736, allocations: 0.9536 MB / 451.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003319/0.4739, allocations: 109.9 kB / 451.5 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.4741, allocations: 66.92 kB / 451.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4741, allocations: 0 / 451.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of Templates: time 0.01206/0.4862, allocations: 6.614 MB / 458.2 MB, free: 5.703 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.makefile (rm -f Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; mkfifo Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.pipe >> ../files/Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.sim & ./Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.StateGraph.Examples.ExecutionPaths.pipe 2>&1)