Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.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.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6792/0.6792, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001691/0.001691, allocations: 143.2 kB / 151.9 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000269/0.0002688, allocations: 4 kB / 184.9 MB, free: 3.938 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1236, allocations: 25.16 MB / 210 MB, free: 29.74 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.03921/0.1628, allocations: 33.7 MB / 243.8 MB, free: 136 kB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.1631, allocations: 59.97 kB / 243.8 MB, free: 76 kB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01085/0.1739, allocations: 4.231 MB / 248 MB, free: 11.84 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.582e-06/0.174, allocations: 0 / 248 MB, free: 11.84 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.174, allocations: 8 kB / 248.1 MB, free: 11.84 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0006044/0.1746, allocations: 0.5069 MB / 248.6 MB, free: 11.28 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1747, allocations: 8.031 kB / 248.6 MB, free: 11.27 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.1747, allocations: 31.62 kB / 248.6 MB, free: 11.24 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1749, allocations: 197.7 kB / 248.8 MB, free: 11.01 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1749, allocations: 16.56 kB / 248.8 MB, free: 10.99 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.1749, allocations: 24 kB / 248.8 MB, free: 10.97 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.1753, allocations: 243.1 kB / 249.1 MB, free: 10.72 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1753, allocations: 4 kB / 249.1 MB, free: 10.72 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.1753, allocations: 8 kB / 249.1 MB, free: 10.71 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.1753, allocations: 4 kB / 249.1 MB, free: 10.71 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.1756, allocations: 160.4 kB / 249.2 MB, free: 10.55 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008635/0.1765, allocations: 0.7147 MB / 250 MB, free: 9.781 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.1768, allocations: 234.5 kB / 250.2 MB, free: 9.535 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1768, allocations: 4 kB / 250.2 MB, free: 9.531 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1768, allocations: 44.41 kB / 250.2 MB, free: 9.48 MB / 186.7 MB Notification: Performance of pre-optimization done (n=30): time 1.323e-06/0.1768, allocations: 0 / 250.2 MB, free: 9.48 MB / 186.7 MB Notification: Performance of matching and sorting (n=42): time 0.002225/0.1791, allocations: 1.62 MB / 251.8 MB, free: 7.688 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1791, allocations: 85.09 kB / 251.9 MB, free: 7.586 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1793, allocations: 150.4 kB / 252.1 MB, free: 7.43 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.1793, allocations: 33.7 kB / 252.1 MB, free: 7.391 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.976e-05/0.1794, allocations: 144.7 kB / 252.3 MB, free: 7.246 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.3e-05/0.1795, allocations: 149.8 kB / 252.4 MB, free: 7.098 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.1795, allocations: 8 kB / 252.4 MB, free: 7.09 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1796, allocations: 334.8 kB / 252.7 MB, free: 6.754 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.1798, allocations: 96.78 kB / 252.8 MB, free: 6.66 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.1799, allocations: 143 kB / 253 MB, free: 6.516 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1801, allocations: 112 kB / 253.1 MB, free: 6.406 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1801, allocations: 3.75 kB / 253.1 MB, free: 6.406 MB / 186.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004221/0.1805, allocations: 329.1 kB / 253.4 MB, free: 6.078 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1806, allocations: 8 kB / 253.4 MB, free: 6.07 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1806, allocations: 0 / 253.4 MB, free: 6.07 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1806, allocations: 4 kB / 253.4 MB, free: 6.066 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.1809, allocations: 91.84 kB / 253.5 MB, free: 5.977 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.181, allocations: 7.953 kB / 253.5 MB, free: 5.969 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.1811, allocations: 8 kB / 253.5 MB, free: 5.961 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.1811, allocations: 16.06 kB / 253.5 MB, free: 5.945 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001276/0.1812, allocations: 154.3 kB / 253.7 MB, free: 5.785 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.1813, allocations: 27.62 kB / 253.7 MB, free: 5.758 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.444e-05/0.1814, allocations: 33.88 kB / 253.7 MB, free: 5.719 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1814, allocations: 11.98 kB / 253.8 MB, free: 5.707 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1814, allocations: 0 / 253.8 MB, free: 5.707 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.1814, allocations: 7.938 kB / 253.8 MB, free: 5.699 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.1825, allocations: 0.8913 MB / 254.7 MB, free: 4.746 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.1825, allocations: 6.672 kB / 254.7 MB, free: 4.742 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003695/0.1829, allocations: 87.91 kB / 254.8 MB, free: 4.656 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-06/0.1829, allocations: 3.953 kB / 254.8 MB, free: 4.652 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.1829, allocations: 12 kB / 254.8 MB, free: 4.641 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1829, allocations: 4 kB / 254.8 MB, free: 4.637 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1829, allocations: 0 / 254.8 MB, free: 4.637 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/0.1836, allocations: 0.6384 MB / 255.4 MB, free: 3.953 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.1836, allocations: 92.83 kB / 255.5 MB, free: 3.844 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.1837, allocations: 8 kB / 255.5 MB, free: 3.836 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.1838, allocations: 12 kB / 255.5 MB, free: 3.824 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.1839, allocations: 23.92 kB / 255.5 MB, free: 3.801 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1839, allocations: 12 kB / 255.6 MB, free: 3.789 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.471e-05/0.184, allocations: 141.1 kB / 255.7 MB, free: 3.652 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.184, allocations: 0 / 255.7 MB, free: 3.652 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003246/0.1843, allocations: 68 kB / 255.8 MB, free: 3.586 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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 Backend phase and start with SimCode phase: time 0.0001114/0.1844, allocations: 107.3 kB / 255.9 MB, free: 3.473 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.1848, allocations: 259.7 kB / 256.1 MB, free: 3.219 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1848, allocations: 0 / 256.1 MB, free: 3.219 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.185, allocations: 144.5 kB / 256.3 MB, free: 3.078 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.1854, allocations: 60.3 kB / 256.3 MB, free: 3.023 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1868, allocations: 1.151 MB / 257.5 MB, free: 1.863 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1872, allocations: 0.776 MB / 258.2 MB, free: 1.059 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.1873, allocations: 30.95 kB / 258.3 MB, free: 1.027 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.1874, allocations: 27.44 kB / 258.3 MB, free: 1.004 MB / 186.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1874, allocations: 0 / 258.3 MB, free: 1.004 MB / 186.7 MB Notification: Performance of Templates: time 0.005068/0.1924, allocations: 2.629 MB / 260.9 MB, free: 14.41 MB / 202.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)