Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 195.9 kB / 16.14 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 51.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2377, allocations: 46.62 MB / 324.7 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005466/0.2432, allocations: 4.498 MB / 329.2 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.2451, allocations: 1.811 MB / 331 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.2452, allocations: 5.062 kB / 331 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.2455, allocations: 33.22 kB / 331 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.2459, allocations: 112.9 kB / 331.1 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.2465, allocations: 230.3 kB / 331.3 MB, free: 12.56 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.247, allocations: 369.2 kB / 331.7 MB, free: 12.37 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.2471, allocations: 16.58 kB / 331.7 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.2473, allocations: 131.4 kB / 331.9 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.2475, allocations: 76.09 kB / 331.9 MB, free: 12.26 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.2475, allocations: 6.531 kB / 331.9 MB, free: 12.26 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.2478, allocations: 106.9 kB / 332 MB, free: 12.21 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.423e-05/0.2479, allocations: 38.91 kB / 332.1 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.248, allocations: 73.62 kB / 332.1 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.2484, allocations: 208.1 kB / 332.4 MB, free: 12.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.2484, allocations: 0 / 332.4 MB, free: 12.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2484, allocations: 0 / 332.4 MB, free: 12.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.2484, allocations: 1.094 kB / 332.4 MB, free: 12.02 MB / 270.1 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.001042/0.2495, allocations: 496 kB / 332.8 MB, free: 11.56 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2495, allocations: 13.28 kB / 332.9 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.2497, allocations: 29.86 kB / 332.9 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.2499, allocations: 201.9 kB / 333.1 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.25, allocations: 14.16 kB / 333.1 MB, free: 11.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.25, allocations: 18.09 kB / 333.1 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/0.2505, allocations: 218 kB / 333.3 MB, free: 11.13 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.2505, allocations: 1.125 kB / 333.3 MB, free: 11.13 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.2505, allocations: 11.16 kB / 333.3 MB, free: 11.12 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.2505, allocations: 7.188 kB / 333.3 MB, free: 11.12 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.2509, allocations: 143.5 kB / 333.5 MB, free: 11.06 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.2522, allocations: 0.9401 MB / 334.4 MB, free: 10.15 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.2526, allocations: 162.4 kB / 334.6 MB, free: 10.04 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.2528, allocations: 52.83 kB / 334.6 MB, free: 9.984 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000553/0.2533, allocations: 0.5109 MB / 335.1 MB, free: 9.41 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.2534, allocations: 34.56 kB / 335.2 MB, free: 9.367 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.2534, allocations: 3.984 kB / 335.2 MB, free: 9.363 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002599/0.256, allocations: 0.7558 MB / 335.9 MB, free: 8.555 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.256, allocations: 63.39 kB / 336 MB, free: 8.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.2562, allocations: 150.3 kB / 336.1 MB, free: 8.324 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.2562, allocations: 29.7 kB / 336.2 MB, free: 8.289 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.2563, allocations: 143.8 kB / 336.3 MB, free: 8.145 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.2564, allocations: 78.92 kB / 336.4 MB, free: 8.066 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.2565, allocations: 57.7 kB / 336.4 MB, free: 8.004 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.2567, allocations: 322.8 kB / 336.8 MB, free: 7.68 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.2569, allocations: 91.88 kB / 336.9 MB, free: 7.59 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.2573, allocations: 189.8 kB / 337 MB, free: 7.355 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/0.2578, allocations: 293.4 kB / 337.3 MB, free: 7.02 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2578, allocations: 3.938 kB / 337.3 MB, free: 7.016 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006758/0.2585, allocations: 317.8 kB / 337.6 MB, free: 6.699 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2585, allocations: 8 kB / 337.6 MB, free: 6.691 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2585, allocations: 4.469 kB / 337.6 MB, free: 6.688 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.2586, allocations: 8 kB / 337.7 MB, free: 6.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.259, allocations: 83.88 kB / 337.7 MB, free: 6.598 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.259, allocations: 11.94 kB / 337.8 MB, free: 6.586 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.2592, allocations: 15.98 kB / 337.8 MB, free: 6.57 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.2593, allocations: 16 kB / 337.8 MB, free: 6.555 MB / 270.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.2594, allocations: 133.7 kB / 337.9 MB, free: 6.414 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.2595, allocations: 19.81 kB / 337.9 MB, free: 6.395 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007046/0.2602, allocations: 238.7 kB / 338.2 MB, free: 6.16 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2602, allocations: 4 kB / 338.2 MB, free: 6.156 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2602, allocations: 7.875 kB / 338.2 MB, free: 6.148 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2602, allocations: 3.984 kB / 338.2 MB, free: 6.145 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.2617, allocations: 0.5991 MB / 338.8 MB, free: 5.477 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2617, allocations: 0 / 338.8 MB, free: 5.477 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.262, allocations: 51.95 kB / 338.8 MB, free: 5.426 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.262, allocations: 0 / 338.8 MB, free: 5.426 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.262, allocations: 12 kB / 338.8 MB, free: 5.414 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.2621, allocations: 11.88 kB / 338.9 MB, free: 5.402 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.2621, allocations: 0 / 338.9 MB, free: 5.402 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008834/0.263, allocations: 402.9 kB / 339.2 MB, free: 4.98 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.263, allocations: 85.05 kB / 339.3 MB, free: 4.879 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.2631, allocations: 11.94 kB / 339.3 MB, free: 4.867 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.2633, allocations: 15.89 kB / 339.4 MB, free: 4.852 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.2634, allocations: 15.92 kB / 339.4 MB, free: 4.836 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.2634, allocations: 15.98 kB / 339.4 MB, free: 4.82 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.484e-05/0.2635, allocations: 111.2 kB / 339.5 MB, free: 4.711 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2635, allocations: 4 kB / 339.5 MB, free: 4.707 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004594/0.264, allocations: 67.94 kB / 339.6 MB, free: 4.641 MB / 270.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003808/0.2644, allocations: 119.2 kB / 339.7 MB, free: 4.512 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006375/0.265, allocations: 219.6 kB / 339.9 MB, free: 4.297 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.265, allocations: 0 / 339.9 MB, free: 4.297 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.2653, allocations: 97.06 kB / 340 MB, free: 4.203 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.2658, allocations: 35.91 kB / 340 MB, free: 4.168 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.2669, allocations: 0.524 MB / 340.6 MB, free: 3.605 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.2672, allocations: 0.7128 MB / 341.3 MB, free: 2.867 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002897/0.2675, allocations: 41.95 kB / 341.3 MB, free: 2.824 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.564e-05/0.2676, allocations: 23.42 kB / 341.3 MB, free: 2.801 MB / 270.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2676, allocations: 0 / 341.3 MB, free: 2.801 MB / 270.1 MB Notification: Performance of Templates: time 0.006405/0.2741, allocations: 2.582 MB / 343.9 MB, free: 224 kB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)