Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel") [: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.001331/0.001331, allocations: 196.1 kB / 8.138 MB, free: 2.191 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.076/1.076, allocations: 194.2 MB / 202.8 MB, free: 8.723 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.001865/0.001865, allocations: 120 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.37e-06/5.481e-06, allocations: 0 / 297.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06756/0.06759, allocations: 44.48 MB / 342 MB, free: 11.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.2544, allocations: 72.52 MB / 414.6 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.2546, allocations: 65.09 kB / 414.6 MB, free: 22.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01905/0.2737, allocations: 7.068 MB / 421.7 MB, free: 17.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.2737, allocations: 2.156 kB / 421.7 MB, free: 17.1 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003516/0.2741, allocations: 447.4 kB / 422.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.2741, allocations: 8.031 kB / 422.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.2742, allocations: 75.28 kB / 422.2 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.395e-05/0.2743, allocations: 253.9 kB / 422.5 MB, free: 16.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2743, allocations: 154.6 kB / 422.6 MB, free: 16.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.2743, allocations: 150.6 kB / 422.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.185e-05/0.2743, allocations: 150.6 kB / 422.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.314e-05/0.2744, allocations: 105 kB / 423 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2744, allocations: 79.22 kB / 423.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.2744, allocations: 150.6 kB / 423.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.2744, allocations: 157.9 kB / 423.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.2746, allocations: 430.4 kB / 423.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.305e-05/0.2746, allocations: 172.9 kB / 424 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.221e-05/0.2746, allocations: 80.14 kB / 424.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.2747, allocations: 79.28 kB / 424.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.641e-05/0.2747, allocations: 47.34 kB / 424.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 1.823e-06/0.2747, allocations: 0 / 424.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 9.264e-05/0.2748, allocations: 29.7 kB / 424.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.35e-05/0.2749, allocations: 51.41 kB / 424.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.643e-05/0.2749, allocations: 100.1 kB / 424.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.03e-06/0.2749, allocations: 29.73 kB / 424.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.628e-06/0.2749, allocations: 87.5 kB / 424.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.275, allocations: 5.406 kB / 424.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-06/0.275, allocations: 0 / 424.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.104e-05/0.275, allocations: 310.8 kB / 424.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-06/0.275, allocations: 0 / 424.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.275, allocations: 4 kB / 424.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.719e-06/0.275, allocations: 0 / 424.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.275, allocations: 4.062 kB / 424.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.239e-05/0.2751, allocations: 33.64 kB / 424.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.2751, allocations: 9.094 kB / 424.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2751, allocations: 3.984 kB / 424.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.2751, allocations: 3.906 kB / 424.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.356e-05/0.2752, allocations: 0 / 424.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.2752, allocations: 3.938 kB / 424.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.2752, allocations: 0 / 424.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.2752, allocations: 0 / 424.8 MB, free: 13.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 3.769e-05/0.2752, allocations: 116.5 kB / 425 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-06/0.2753, allocations: 0.8438 kB / 425 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.2753, allocations: 7.062 kB / 425 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2753, allocations: 0 / 425 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2753, allocations: 0 / 425 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2753, allocations: 7.984 kB / 425 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.767e-05/0.2754, allocations: 122.2 kB / 425.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2754, allocations: 0.875 kB / 425.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-06/0.2754, allocations: 0 / 425.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2754, allocations: 4 kB / 425.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-06/0.2754, allocations: 0.75 kB / 425.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2754, allocations: 7.984 kB / 425.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2754, allocations: 3.938 kB / 425.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.279e-05/0.2755, allocations: 58.05 kB / 425.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.2755, allocations: 81.11 kB / 425.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.2755, allocations: 7.891 kB / 425.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.2755, allocations: 0 / 425.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.2755, allocations: 0 / 425.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.2756, allocations: 5.438 kB / 425.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.94e-05/0.2756, allocations: 82.47 kB / 425.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004069/0.276, allocations: 151.1 kB / 425.5 MB, free: 13.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0008075/0.2768, allocations: 493.9 kB / 426 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.197e-05/0.2769, allocations: 8 kB / 426 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2769, allocations: 0 / 426 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.608e-06/0.2769, allocations: 4 kB / 426 MB, free: 12.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.91e-05/0.277, allocations: 3.266 kB / 426 MB, free: 12.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001273/0.2771, allocations: 49.05 kB / 426 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.554e-05/0.2772, allocations: 0.6965 MB / 426.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2772, allocations: 0 / 426.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of Templates: time 0.004796/0.282, allocations: 2.633 MB / 429.4 MB, free: 9.238 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1)