Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.004735/0.004735, allocations: 183 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.375/1.375, allocations: 170.6 MB / 178.4 MB, free: 15.36 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001761/0.001761, allocations: 107.8 kB / 217.7 MB, free: 8.133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.284e-06/7.404e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08833/0.08836, allocations: 38.75 MB / 300.5 MB, free: 3.895 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3147/0.4031, allocations: 66.8 MB / 367.3 MB, free: 1.918 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.4035, allocations: 65.59 kB / 367.4 MB, free: 1.887 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.02381/0.4273, allocations: 8.136 MB / 375.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.4274, allocations: 0 / 375.5 MB, free: 11.52 MB / 266.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.0006442/0.4281, allocations: 444.9 kB / 375.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4281, allocations: 12.03 kB / 375.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.4282, allocations: 75.28 kB / 376 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.4284, allocations: 242.1 kB / 376.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/0.4285, allocations: 154.6 kB / 376.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.4286, allocations: 150.6 kB / 376.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.793e-05/0.4287, allocations: 154.6 kB / 376.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/0.4288, allocations: 105 kB / 376.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.4288, allocations: 79.22 kB / 376.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.097e-05/0.4289, allocations: 150.6 kB / 377 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.948e-05/0.429, allocations: 154.5 kB / 377.2 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.4293, allocations: 430.1 kB / 377.6 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.981e-05/0.4294, allocations: 169.3 kB / 377.8 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.4295, allocations: 83.64 kB / 377.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.229e-05/0.4296, allocations: 79.19 kB / 377.9 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.677e-05/0.4296, allocations: 121.8 kB / 378 MB, free: 8.832 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.4296, allocations: 0 / 378 MB, free: 8.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 7.501e-05/0.4297, allocations: 29.64 kB / 378.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.4298, allocations: 55.34 kB / 378.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.4299, allocations: 92.69 kB / 378.2 MB, free: 8.637 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4299, allocations: 29.7 kB / 378.2 MB, free: 8.602 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.43, allocations: 80.14 kB / 378.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.43, allocations: 0 / 378.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.43, allocations: 0 / 378.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.4302, allocations: 318.8 kB / 378.6 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-06/0.4302, allocations: 0 / 378.6 MB, free: 8.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-06/0.4302, allocations: 0 / 378.6 MB, free: 8.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/0.4302, allocations: 75.28 kB / 378.7 MB, free: 8.125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-05/0.4303, allocations: 75.28 kB / 378.8 MB, free: 8.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.341e-05/0.4303, allocations: 37.55 kB / 378.8 MB, free: 8.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.4303, allocations: 4 kB / 378.8 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.415e-05/0.4304, allocations: 79.28 kB / 378.9 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-05/0.4305, allocations: 157.8 kB / 379 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.246e-05/0.4305, allocations: 79.22 kB / 379.1 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-05/0.4306, allocations: 150.6 kB / 379.3 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.031e-05/0.4307, allocations: 79.27 kB / 379.3 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.4307, allocations: 79.28 kB / 379.4 MB, free: 7.391 MB / 266.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001366/0.4309, allocations: 259.4 kB / 379.7 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.431, allocations: 108.9 kB / 379.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.778e-05/0.4311, allocations: 111.6 kB / 379.9 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.602e-05/0.4312, allocations: 181.1 kB / 380.1 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001031/0.4313, allocations: 180.2 kB / 380.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001214/0.4314, allocations: 176.3 kB / 380.4 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.4318, allocations: 389.6 kB / 380.8 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.408e-05/0.4319, allocations: 105 kB / 380.9 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.4319, allocations: 105 kB / 381 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.4321, allocations: 184.5 kB / 381.2 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.717e-05/0.4322, allocations: 184.2 kB / 381.4 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.866e-05/0.4323, allocations: 180.3 kB / 381.5 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001397/0.4324, allocations: 188.2 kB / 381.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002029/0.4326, allocations: 297.5 kB / 382 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.4328, allocations: 197.6 kB / 382.2 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.4329, allocations: 180.3 kB / 382.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.433, allocations: 105 kB / 382.5 MB, free: 4.137 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.4331, allocations: 180.2 kB / 382.7 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.4332, allocations: 101 kB / 382.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.581e-05/0.4332, allocations: 87.08 kB / 382.8 MB, free: 3.766 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007017/0.4339, allocations: 143.2 kB / 383 MB, free: 3.633 MB / 266.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001069/0.435, allocations: 0.5314 MB / 383.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.109e-05/0.4351, allocations: 0 / 383.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4351, allocations: 0 / 383.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.99e-06/0.4351, allocations: 4 kB / 383.5 MB, free: 3.102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.4356, allocations: 0.5255 MB / 384 MB, free: 2.574 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.4358, allocations: 123.3 kB / 384.2 MB, free: 2.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/0.4362, allocations: 0.6841 MB / 384.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of SimCode: time 2.925e-06/0.4362, allocations: 4 kB / 384.9 MB, free: 1.715 MB / 266.7 MB Notification: Performance of Templates: time 0.006638/0.4428, allocations: 2.539 MB / 387.4 MB, free: 15.19 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1)