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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009567/0.0009564, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.334/1.334, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001871/0.001871, allocations: 122.2 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.469e-05/2.471e-05, allocations: 0 / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07989/0.07993, allocations: 44.5 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3484/0.4284, allocations: 73.21 MB / 422.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.4287, allocations: 69.16 kB / 422.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01449/0.4432, allocations: 5.945 MB / 428.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4432, allocations: 0 / 428.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.4433, allocations: 0 / 428.6 MB, free: 9.469 MB / 298.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.0003677/0.4436, allocations: 419.1 kB / 429.1 MB, free: 9.062 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4437, allocations: 15.64 kB / 429.1 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.245e-05/0.4438, allocations: 79 kB / 429.1 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.4439, allocations: 246.1 kB / 429.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.4439, allocations: 154.3 kB / 429.5 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.4439, allocations: 150.6 kB / 429.7 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.153e-05/0.444, allocations: 105 kB / 429.8 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.444, allocations: 75.28 kB / 429.9 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.4441, allocations: 150.6 kB / 430 MB, free: 8.074 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.4441, allocations: 154.5 kB / 430.2 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.747e-05/0.4441, allocations: 150.6 kB / 430.3 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.4443, allocations: 457.1 kB / 430.8 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.588e-05/0.4444, allocations: 169.1 kB / 430.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.4444, allocations: 80.14 kB / 431 MB, free: 7.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.4444, allocations: 79.16 kB / 431.1 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.4445, allocations: 55.86 kB / 431.1 MB, free: 6.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 2.244e-06/0.4445, allocations: 0 / 431.1 MB, free: 6.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001105/0.4446, allocations: 33.45 kB / 431.2 MB, free: 6.859 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.4447, allocations: 62.52 kB / 431.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.625e-05/0.4447, allocations: 92.69 kB / 431.3 MB, free: 6.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.4448, allocations: 25.7 kB / 431.3 MB, free: 6.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.4448, allocations: 84.08 kB / 431.4 MB, free: 6.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.4448, allocations: 4.031 kB / 431.4 MB, free: 6.582 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.4448, allocations: 0 / 431.4 MB, free: 6.582 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.4449, allocations: 310.8 kB / 431.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.4449, allocations: 3.844 kB / 431.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-06/0.4449, allocations: 0 / 431.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.212e-05/0.4449, allocations: 0 / 431.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.4449, allocations: 0 / 431.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.441e-05/0.445, allocations: 52.48 kB / 431.8 MB, free: 6.223 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.445, allocations: 3.781 kB / 431.8 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.445, allocations: 4.094 kB / 431.8 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.445, allocations: 0 / 431.8 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-05/0.4451, allocations: 3.875 kB / 431.8 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4451, allocations: 0 / 431.8 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.4451, allocations: 0 / 431.8 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.4451, allocations: 0 / 431.8 MB, free: 6.219 MB / 298.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 5.315e-05/0.4452, allocations: 101 kB / 431.9 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.4452, allocations: 7.984 kB / 431.9 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.4452, allocations: 7.109 kB / 431.9 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4452, allocations: 7.984 kB / 431.9 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4452, allocations: 0 / 431.9 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4453, allocations: 0 / 431.9 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.837e-05/0.4453, allocations: 156.7 kB / 432.1 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.4453, allocations: 0 / 432.1 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-06/0.4454, allocations: 0 / 432.1 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.4454, allocations: 3.953 kB / 432.1 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.4454, allocations: 0 / 432.1 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4454, allocations: 3.938 kB / 432.1 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4454, allocations: 3.938 kB / 432.1 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.183e-05/0.4454, allocations: 60.28 kB / 432.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.641e-05/0.4455, allocations: 84.98 kB / 432.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.4455, allocations: 3.953 kB / 432.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.213e-05/0.4455, allocations: 0 / 432.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-06/0.4455, allocations: 3.938 kB / 432.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.4455, allocations: 0 / 432.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.636e-05/0.4456, allocations: 87.08 kB / 432.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4456, allocations: 0 / 432.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004046/0.446, allocations: 154 kB / 432.5 MB, free: 5.594 MB / 298.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.0007756/0.4468, allocations: 486.5 kB / 432.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.229e-05/0.4468, allocations: 0 / 432.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4468, allocations: 0 / 432.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.658e-06/0.4468, allocations: 3.781 kB / 432.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.203e-05/0.4469, allocations: 0 / 432.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001637/0.4471, allocations: 72.58 kB / 433 MB, free: 5.234 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.4473, allocations: 0.6769 MB / 433.7 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.353e-05/0.4473, allocations: 7.828 kB / 433.7 MB, free: 4.531 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.4473, allocations: 15.31 kB / 433.7 MB, free: 4.523 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4473, allocations: 0 / 433.7 MB, free: 4.523 MB / 298.7 MB Notification: Performance of Templates: time 0.004996/0.4523, allocations: 2.682 MB / 436.4 MB, free: 3.137 MB / 298.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)