Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.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.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001198/0.001198, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.147/1.147, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001519/0.001519, allocations: 112 kB / 256.9 MB, free: 4.391 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002729/0.0002729, allocations: 11.98 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07198/0.07227, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4802/0.5525, allocations: 268.5 MB / 0.6089 GB, free: 48.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/0.5527, allocations: 65.16 kB / 0.609 GB, free: 48.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01802/0.5707, allocations: 9.394 MB / 0.6182 GB, free: 41.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5708, allocations: 4 kB / 0.6182 GB, free: 41.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.5708, allocations: 0 / 0.6182 GB, free: 41.02 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006064/0.5714, allocations: 450.2 kB / 0.6186 GB, free: 40.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.5714, allocations: 12.03 kB / 0.6186 GB, free: 40.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.5716, allocations: 24.75 kB / 0.6186 GB, free: 40.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.5718, allocations: 217.1 kB / 0.6188 GB, free: 40.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.5718, allocations: 15.84 kB / 0.6188 GB, free: 40.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.5718, allocations: 16.69 kB / 0.6189 GB, free: 40.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.5721, allocations: 207.1 kB / 0.6191 GB, free: 40.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.5722, allocations: 3.938 kB / 0.6191 GB, free: 40.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.5722, allocations: 11.19 kB / 0.6191 GB, free: 40.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5722, allocations: 4 kB / 0.6191 GB, free: 40.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.5725, allocations: 140.3 kB / 0.6192 GB, free: 39.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009392/0.5734, allocations: 0.9454 MB / 0.6201 GB, free: 39.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.5737, allocations: 150.8 kB / 0.6203 GB, free: 38.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003729/0.5741, allocations: 0.4922 MB / 0.6208 GB, free: 38.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.5742, allocations: 38.55 kB / 0.6208 GB, free: 38.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.5742, allocations: 0 / 0.6208 GB, free: 38.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.002203/0.5764, allocations: 0.7637 MB / 0.6215 GB, free: 37.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.5764, allocations: 55.41 kB / 0.6216 GB, free: 37.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.5765, allocations: 136.6 kB / 0.6217 GB, free: 37.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.5765, allocations: 33.02 kB / 0.6218 GB, free: 37.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.5766, allocations: 139.3 kB / 0.6219 GB, free: 37.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.5766, allocations: 77.73 kB / 0.622 GB, free: 37.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.5766, allocations: 6.438 kB / 0.622 GB, free: 37.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.628e-05/0.5767, allocations: 322.1 kB / 0.6223 GB, free: 36.87 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.5769, allocations: 88.19 kB / 0.6224 GB, free: 36.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.5771, allocations: 191.2 kB / 0.6225 GB, free: 36.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.5774, allocations: 105.2 kB / 0.6226 GB, free: 36.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5774, allocations: 4 kB / 0.6227 GB, free: 36.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005362/0.5779, allocations: 318.1 kB / 0.623 GB, free: 36.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.5779, allocations: 8 kB / 0.623 GB, free: 36.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5779, allocations: 4.469 kB / 0.623 GB, free: 36.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.578, allocations: 11.95 kB / 0.623 GB, free: 36.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.5783, allocations: 85.14 kB / 0.6231 GB, free: 36.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.5783, allocations: 11.98 kB / 0.6231 GB, free: 36.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.5785, allocations: 11.44 kB / 0.6231 GB, free: 36.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.5786, allocations: 23.78 kB / 0.6231 GB, free: 36.14 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 7.852e-05/0.5787, allocations: 128.8 kB / 0.6232 GB, free: 36.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.5787, allocations: 19.81 kB / 0.6232 GB, free: 36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.5792, allocations: 238.2 kB / 0.6235 GB, free: 35.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5792, allocations: 4 kB / 0.6235 GB, free: 35.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5792, allocations: 0 / 0.6235 GB, free: 35.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.5792, allocations: 0 / 0.6235 GB, free: 35.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009853/0.5802, allocations: 0.5957 MB / 0.6241 GB, free: 35.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5803, allocations: 4 kB / 0.6241 GB, free: 35.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.5805, allocations: 51.53 kB / 0.6241 GB, free: 35.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.5805, allocations: 6.188 kB / 0.6241 GB, free: 35.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.5806, allocations: 3.984 kB / 0.6241 GB, free: 35.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5806, allocations: 4 kB / 0.6241 GB, free: 35.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5806, allocations: 0 / 0.6241 GB, free: 35.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006234/0.5812, allocations: 456.3 kB / 0.6246 GB, free: 34.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.5812, allocations: 85.02 kB / 0.6246 GB, free: 34.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.5813, allocations: 7.688 kB / 0.6246 GB, free: 34.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.5815, allocations: 7.984 kB / 0.6247 GB, free: 34.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.5815, allocations: 23.56 kB / 0.6247 GB, free: 34.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.5816, allocations: 11.98 kB / 0.6247 GB, free: 34.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.286e-05/0.5816, allocations: 106.7 kB / 0.6248 GB, free: 34.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5816, allocations: 3.938 kB / 0.6248 GB, free: 34.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003173/0.5819, allocations: 66.92 kB / 0.6249 GB, free: 34.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001591/0.5821, allocations: 140.4 kB / 0.625 GB, free: 34.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.5826, allocations: 219.3 kB / 0.6252 GB, free: 34.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5826, allocations: 0 / 0.6252 GB, free: 34.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.5828, allocations: 94.94 kB / 0.6253 GB, free: 34.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.583, allocations: 37.23 kB / 0.6253 GB, free: 34.03 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.5838, allocations: 0.5486 MB / 0.6259 GB, free: 33.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.5839, allocations: 0.7245 MB / 0.6266 GB, free: 32.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002448/0.5841, allocations: 48.92 kB / 0.6266 GB, free: 32.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.5842, allocations: 31.11 kB / 0.6266 GB, free: 32.66 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5842, allocations: 0 / 0.6266 GB, free: 32.66 MB / 394.7 MB Notification: Performance of Templates: time 0.004417/0.5887, allocations: 2.724 MB / 0.6293 GB, free: 29.98 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)