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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6549/0.6549, allocations: 110.8 MB / 118 MB, free: 14.54 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001669/0.001668, allocations: 164 kB / 143.7 MB, free: 4.871 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.504e-06, allocations: 0 / 173.5 MB, free: 23.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03827/0.03829, allocations: 25.17 MB / 198.6 MB, free: 13.95 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.1647, allocations: 32.88 MB / 231.5 MB, free: 4.406 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001285/0.1648, allocations: 58.69 kB / 231.6 MB, free: 4.406 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.009612/0.1745, allocations: 3.906 MB / 235.5 MB, free: 4.098 MB / 170.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1745, allocations: 7.719 kB / 235.5 MB, free: 4.098 MB / 170.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.0005076/0.175, allocations: 494 kB / 236 MB, free: 3.688 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1751, allocations: 13.02 kB / 236 MB, free: 3.684 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.1751, allocations: 31.25 kB / 236 MB, free: 3.668 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.1753, allocations: 196.8 kB / 236.2 MB, free: 3.445 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1753, allocations: 7.781 kB / 236.2 MB, free: 3.445 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.1753, allocations: 18.25 kB / 236.2 MB, free: 3.445 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000247/0.1756, allocations: 133.5 kB / 236.3 MB, free: 3.445 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.1759, allocations: 199 kB / 236.5 MB, free: 3.383 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.1759, allocations: 3.938 kB / 236.5 MB, free: 3.379 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.1759, allocations: 3.875 kB / 236.5 MB, free: 3.379 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1759, allocations: 7.875 kB / 236.6 MB, free: 3.375 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007706/0.1767, allocations: 0.669 MB / 237.2 MB, free: 3.016 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1769, allocations: 157.7 kB / 237.4 MB, free: 2.98 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.177, allocations: 89.27 kB / 237.5 MB, free: 2.965 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.177, allocations: 4.047 kB / 237.5 MB, free: 2.965 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.177, allocations: 49.69 kB / 237.5 MB, free: 2.914 MB / 170.7 MB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.177, allocations: 0 / 237.5 MB, free: 2.914 MB / 170.7 MB Notification: Performance of matching and sorting (n=42): time 0.001697/0.1788, allocations: 1.405 MB / 238.9 MB, free: 1.984 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.1788, allocations: 80.95 kB / 239 MB, free: 1.891 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.1789, allocations: 139 kB / 239.1 MB, free: 1.797 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1789, allocations: 25.7 kB / 239.2 MB, free: 1.766 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.179, allocations: 127.1 kB / 239.3 MB, free: 1.66 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.543e-05/0.1791, allocations: 154.9 kB / 239.4 MB, free: 1.559 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.1791, allocations: 0 / 239.4 MB, free: 1.559 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.1792, allocations: 337.2 kB / 239.8 MB, free: 1.246 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.1793, allocations: 82.31 kB / 239.9 MB, free: 1.242 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.1794, allocations: 124.8 kB / 240 MB, free: 1.211 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1796, allocations: 103 kB / 240.1 MB, free: 1.207 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1796, allocations: 3.906 kB / 240.1 MB, free: 1.203 MB / 170.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003582/0.18, allocations: 292.8 kB / 240.4 MB, free: 1.145 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.18, allocations: 3 kB / 240.4 MB, free: 1.145 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.18, allocations: 6.969 kB / 240.4 MB, free: 1.141 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.18, allocations: 3.844 kB / 240.4 MB, free: 1.141 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.1804, allocations: 92.16 kB / 240.5 MB, free: 1.137 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1804, allocations: 3.625 kB / 240.5 MB, free: 1.137 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1806, allocations: 0 / 240.5 MB, free: 1.137 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.1806, allocations: 15.89 kB / 240.5 MB, free: 1.137 MB / 170.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 () * 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 7.425e-05/0.1807, allocations: 112.8 kB / 240.6 MB, free: 1.016 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.1807, allocations: 27 kB / 240.6 MB, free: 1 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.252e-05/0.1808, allocations: 29.11 kB / 240.6 MB, free: 0.9961 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.1808, allocations: 11.81 kB / 240.7 MB, free: 0.9883 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1809, allocations: 1.359 kB / 240.7 MB, free: 0.9883 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1809, allocations: 9.438 kB / 240.7 MB, free: 0.9805 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009732/0.1818, allocations: 0.8176 MB / 241.5 MB, free: 0.5898 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1819, allocations: 0 / 241.5 MB, free: 0.5898 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.1823, allocations: 87.97 kB / 241.6 MB, free: 0.5859 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.1823, allocations: 0 / 241.6 MB, free: 0.5859 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.1823, allocations: 8.469 kB / 241.6 MB, free: 0.5859 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.1823, allocations: 7.875 kB / 241.6 MB, free: 0.582 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1823, allocations: 0 / 241.6 MB, free: 0.582 MB / 170.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005316/0.1829, allocations: 0.5878 MB / 242.2 MB, free: 284 kB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.1829, allocations: 96.55 kB / 242.3 MB, free: 176 kB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.183, allocations: 9.469 kB / 242.3 MB, free: 172 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.1832, allocations: 0 / 242.3 MB, free: 172 kB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1832, allocations: 24.06 kB / 242.3 MB, free: 168 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1832, allocations: 15.09 kB / 242.3 MB, free: 168 kB / 170.7 MB Notification: Performance of sort global known variables: time 5.837e-05/0.1833, allocations: 109.5 kB / 242.4 MB, free: 92 kB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.1836, allocations: 57.78 kB / 242.5 MB, free: 92 kB / 170.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 () * 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.0001347/0.1838, allocations: 107.8 kB / 242.6 MB, free: 15.99 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.1841, allocations: 226.9 kB / 242.8 MB, free: 15.98 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1841, allocations: 0 / 242.8 MB, free: 15.98 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.1842, allocations: 127.4 kB / 242.9 MB, free: 15.97 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.1847, allocations: 39.89 kB / 243 MB, free: 15.96 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.186, allocations: 0.81 MB / 243.8 MB, free: 15.44 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.1864, allocations: 0.8024 MB / 244.6 MB, free: 14.73 MB / 186.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1864, allocations: 0 / 244.6 MB, free: 14.73 MB / 186.7 MB Notification: Performance of Templates: time 0.006295/0.1927, allocations: 2.889 MB / 247.5 MB, free: 14.11 MB / 186.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)