Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.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.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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/Complex 3.2.2+maint.om/package.mo): time 0.00183/0.00183, allocations: 189.8 kB / 8.135 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.15/1.15, allocations: 194.2 MB / 202.8 MB, free: 8.672 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.001788/0.001788, allocations: 115.9 kB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.46e-06/5.49e-06, allocations: 0 / 297.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07282/0.07284, allocations: 44.48 MB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.2645, allocations: 70.94 MB / 413 MB, free: 24.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001626/0.2647, allocations: 67.5 kB / 413.1 MB, free: 24.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01108/0.2758, allocations: 4.122 MB / 417.2 MB, free: 20.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.2758, allocations: 4 kB / 417.2 MB, free: 20.8 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005392/0.2764, allocations: 0.4975 MB / 417.7 MB, free: 20.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2764, allocations: 8.781 kB / 417.7 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.2765, allocations: 31.62 kB / 417.7 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.2767, allocations: 229.2 kB / 417.9 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2767, allocations: 15.98 kB / 418 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.2768, allocations: 16 kB / 418 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002907/0.2771, allocations: 162.5 kB / 418.1 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.2774, allocations: 206 kB / 418.3 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.2774, allocations: 11.8 kB / 418.3 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.2775, allocations: 1.5 kB / 418.3 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2775, allocations: 4 kB / 418.4 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009614/0.2784, allocations: 0.7035 MB / 419.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.2787, allocations: 185.8 kB / 419.2 MB, free: 18.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.2789, allocations: 114.1 kB / 419.3 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.2789, allocations: 7.688 kB / 419.4 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.279, allocations: 35.19 kB / 419.4 MB, free: 18.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 2.064e-06/0.279, allocations: 0 / 419.4 MB, free: 18.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.002312/0.2813, allocations: 1.48 MB / 420.9 MB, free: 17.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.2814, allocations: 85.05 kB / 421 MB, free: 17.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.2815, allocations: 150.7 kB / 421.1 MB, free: 17.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.2815, allocations: 25.7 kB / 421.1 MB, free: 17.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.2816, allocations: 127.1 kB / 421.3 MB, free: 16.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.303e-05/0.2817, allocations: 163 kB / 421.4 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/0.2817, allocations: 0 / 421.4 MB, free: 16.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.805e-05/0.2817, allocations: 344.4 kB / 421.7 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.2819, allocations: 96.09 kB / 421.8 MB, free: 16.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.282, allocations: 133.6 kB / 422 MB, free: 16.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.2822, allocations: 111.8 kB / 422.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2822, allocations: 0 / 422.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004083/0.2826, allocations: 311.7 kB / 422.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2827, allocations: 11.98 kB / 422.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2827, allocations: 2.188 kB / 422.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2827, allocations: 7.906 kB / 422.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.2831, allocations: 103.6 kB / 422.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.2831, allocations: 8.062 kB / 422.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.2833, allocations: 0 / 422.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.2833, allocations: 15.12 kB / 422.5 MB, free: 15.86 MB / 314.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 (58): * Single equations (assignments): 58 * 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 6.591e-05/0.2834, allocations: 118 kB / 422.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.433e-05/0.2834, allocations: 27.72 kB / 422.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.234e-05/0.2835, allocations: 39.89 kB / 422.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2835, allocations: 4 kB / 422.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2835, allocations: 0 / 422.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2836, allocations: 0 / 422.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000989/0.2846, allocations: 0.8618 MB / 423.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2846, allocations: 3.906 kB / 423.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.285, allocations: 95.83 kB / 423.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.2851, allocations: 4 kB / 423.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.2851, allocations: 5.438 kB / 423.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2851, allocations: 0 / 423.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.2851, allocations: 4 kB / 423.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005676/0.2857, allocations: 0.6384 MB / 424.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.2857, allocations: 96.83 kB / 424.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.2858, allocations: 0 / 424.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.286, allocations: 7.984 kB / 424.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.286, allocations: 31.44 kB / 424.5 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.2861, allocations: 11.38 kB / 424.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.281e-05/0.2861, allocations: 114.9 kB / 424.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.2865, allocations: 63.91 kB / 424.6 MB, free: 13.96 MB / 314.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 (48): * Single equations (assignments): 48 * 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.0001066/0.2866, allocations: 103.6 kB / 424.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.287, allocations: 258 kB / 425 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.287, allocations: 4 kB / 425 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.2871, allocations: 144.7 kB / 425.1 MB, free: 13.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.2876, allocations: 44.66 kB / 425.2 MB, free: 13.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.2887, allocations: 0.8369 MB / 426 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.289, allocations: 0.8226 MB / 426.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of SimCode: time 2.7e-07/0.289, allocations: 0 / 426.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of Templates: time 0.005636/0.2946, allocations: 3.084 MB / 429.9 MB, free: 8.863 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1)