Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.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.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows") [: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.001137/0.001137, allocations: 191.4 kB / 8.135 MB, free: 2.199 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.097/1.097, 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.001771/0.001771, allocations: 120.5 kB / 247.7 MB, free: 6.383 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.133e-06, allocations: 0 / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07269/0.07271, allocations: 44.49 MB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1877/0.2605, allocations: 70.48 MB / 412.5 MB, free: 24.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001651/0.2607, allocations: 67.97 kB / 412.6 MB, free: 24.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.007886/0.2686, allocations: 3.023 MB / 415.6 MB, free: 22.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.2686, allocations: 6.188 kB / 415.6 MB, free: 22.13 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004156/0.269, allocations: 462.6 kB / 416.1 MB, free: 21.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.2691, allocations: 8.031 kB / 416.1 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.2691, allocations: 23.72 kB / 416.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.133e-05/0.2692, allocations: 199.4 kB / 416.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.2692, allocations: 8 kB / 416.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.2693, allocations: 19.44 kB / 416.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002254/0.2695, allocations: 111 kB / 416.4 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.2698, allocations: 184.2 kB / 416.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.2698, allocations: 7 kB / 416.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.2698, allocations: 3.906 kB / 416.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2698, allocations: 4 kB / 416.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009158/0.2708, allocations: 0.8221 MB / 417.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.2709, allocations: 135.4 kB / 417.6 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.2711, allocations: 54.77 kB / 417.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.2711, allocations: 4 kB / 417.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.184e-05/0.2711, allocations: 38.5 kB / 417.7 MB, free: 20.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.2712, allocations: 0 / 417.7 MB, free: 20.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002679/0.2714, allocations: 120.2 kB / 417.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.2715, allocations: 110.1 kB / 417.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2716, allocations: 146 kB / 418 MB, free: 19.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.2716, allocations: 29.7 kB / 418.1 MB, free: 19.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.2716, allocations: 150.8 kB / 418.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.2717, allocations: 66.69 kB / 418.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-06/0.2717, allocations: 4 kB / 418.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.2717, allocations: 325.1 kB / 418.6 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.371e-05/0.2718, allocations: 42.94 kB / 418.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.497e-05/0.2719, allocations: 140.1 kB / 418.8 MB, free: 19.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.752e-05/0.272, allocations: 67.44 kB / 418.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.272, allocations: 0 / 418.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002774/0.2723, allocations: 197.3 kB / 419 MB, free: 18.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.2723, allocations: 7.938 kB / 419 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2724, allocations: 4.859 kB / 419.1 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2724, allocations: 8 kB / 419.1 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2726, allocations: 62.97 kB / 419.1 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2726, allocations: 4 kB / 419.1 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.2728, allocations: 23.69 kB / 419.1 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.2728, allocations: 11.19 kB / 419.2 MB, free: 18.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 8.486e-05/0.2729, allocations: 125.5 kB / 419.3 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/0.273, allocations: 15.81 kB / 419.3 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.273, allocations: 23.83 kB / 419.3 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.273, allocations: 4 kB / 419.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.273, allocations: 0.5469 kB / 419.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.273, allocations: 3.938 kB / 419.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.2734, allocations: 374.2 kB / 419.7 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2734, allocations: 8 kB / 419.7 MB, free: 18.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.2737, allocations: 39.97 kB / 419.7 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.2737, allocations: 7.938 kB / 419.7 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.2737, allocations: 0 / 419.7 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2737, allocations: 4 kB / 419.8 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2737, allocations: 0 / 419.8 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002864/0.274, allocations: 404.8 kB / 420.1 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.274, allocations: 102.8 kB / 420.2 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.2741, allocations: 0 / 420.2 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.2742, allocations: 1.75 kB / 420.3 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.2743, allocations: 19.36 kB / 420.3 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.2743, allocations: 4 kB / 420.3 MB, free: 17.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.345e-05/0.2744, allocations: 117.6 kB / 420.4 MB, free: 17.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003574/0.2747, allocations: 47.84 kB / 420.4 MB, free: 17.39 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 8.364e-05/0.2748, allocations: 99.19 kB / 420.5 MB, free: 17.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.275, allocations: 128 kB / 420.7 MB, free: 17.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.275, allocations: 4.062 kB / 420.7 MB, free: 17.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.854e-05/0.2751, allocations: 47.38 kB / 420.7 MB, free: 17.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.2754, allocations: 19.92 kB / 420.7 MB, free: 17.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/0.2761, allocations: 483 kB / 421.2 MB, free: 16.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.2763, allocations: 0.7557 MB / 422 MB, free: 15.88 MB / 314.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2763, allocations: 0 / 422 MB, free: 15.88 MB / 314.7 MB Notification: Performance of Templates: time 0.003674/0.28, allocations: 1.53 MB / 423.5 MB, free: 14.39 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1)