Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 104.1 kB / 16.52 MB, free: 6.727 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.001767/0.001767, allocations: 195.2 kB / 17.45 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241.1 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7092/0.7092, allocations: 115.3 MB / 406.6 MB, free: 6.535 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 59.89 kB / 493.5 MB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3645, allocations: 76.18 MB / 0.5564 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.005238/0.3698, allocations: 4.737 MB / 0.561 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.3721, allocations: 2.723 MB / 0.5636 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.444e-05/0.3722, allocations: 1.219 kB / 0.5636 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.3725, allocations: 40.67 kB / 0.5637 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.3728, allocations: 89.48 kB / 0.5638 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009713/0.3738, allocations: 463.5 kB / 0.5642 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000263/0.374, allocations: 311.1 kB / 0.5645 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.3741, allocations: 8.922 kB / 0.5645 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.3743, allocations: 108 kB / 0.5646 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.3744, allocations: 94.06 kB / 0.5647 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.3744, allocations: 7.625 kB / 0.5647 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006573/0.3751, allocations: 374.1 kB / 0.5651 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.471e-05/0.3752, allocations: 39.55 kB / 0.5651 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.07e-05/0.3753, allocations: 80.05 kB / 0.5652 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.3756, allocations: 239.9 kB / 0.5654 GB, free: 29.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3756, allocations: 0.875 kB / 0.5654 GB, free: 29.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3757, allocations: 0 / 0.5654 GB, free: 29.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3757, allocations: 0.7812 kB / 0.5654 GB, free: 29.43 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006761/0.3763, allocations: 0.5001 MB / 0.5659 GB, free: 28.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3764, allocations: 15.22 kB / 0.5659 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.3766, allocations: 22.34 kB / 0.5659 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.3767, allocations: 218.3 kB / 0.5662 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3768, allocations: 11.33 kB / 0.5662 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.3768, allocations: 14.44 kB / 0.5662 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.3772, allocations: 249.4 kB / 0.5664 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3772, allocations: 0 / 0.5664 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.3772, allocations: 7.984 kB / 0.5664 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.3773, allocations: 5.703 kB / 0.5664 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005174/0.3778, allocations: 435.2 kB / 0.5668 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.3788, allocations: 0.9447 MB / 0.5678 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.3791, allocations: 167.2 kB / 0.5679 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3792, allocations: 64.89 kB / 0.568 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009558/0.3802, allocations: 1.821 MB / 0.5698 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3802, allocations: 38.03 kB / 0.5698 GB, free: 25.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.3802, allocations: 2.156 kB / 0.5698 GB, free: 25.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003571/0.3806, allocations: 144.6 kB / 0.5699 GB, free: 25.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.3806, allocations: 57.94 kB / 0.57 GB, free: 25.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3808, allocations: 173.6 kB / 0.5702 GB, free: 25.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3808, allocations: 34.2 kB / 0.5702 GB, free: 25.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.3809, allocations: 142.2 kB / 0.5703 GB, free: 25.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.3809, allocations: 54.53 kB / 0.5704 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.381, allocations: 48.41 kB / 0.5704 GB, free: 25.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.824e-05/0.381, allocations: 328 kB / 0.5707 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.021e-05/0.3811, allocations: 36.02 kB / 0.5708 GB, free: 24.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.3812, allocations: 146.8 kB / 0.5709 GB, free: 24.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.3814, allocations: 203 kB / 0.5711 GB, free: 24.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3814, allocations: 1.156 kB / 0.5711 GB, free: 24.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003228/0.3818, allocations: 212.7 kB / 0.5713 GB, free: 24.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3818, allocations: 12.16 kB / 0.5713 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3818, allocations: 8 kB / 0.5713 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3818, allocations: 4.344 kB / 0.5713 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.382, allocations: 58.61 kB / 0.5714 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3821, allocations: 7 kB / 0.5714 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.3822, allocations: 32.22 kB / 0.5714 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.3822, allocations: 15.38 kB / 0.5714 GB, free: 24.23 MB / 446.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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 8.92e-05/0.3823, allocations: 131.5 kB / 0.5716 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.3824, allocations: 16.94 kB / 0.5716 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.3827, allocations: 152.2 kB / 0.5717 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.3827, allocations: 6.156 kB / 0.5717 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3827, allocations: 0.7969 kB / 0.5717 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3827, allocations: 3.469 kB / 0.5717 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.3829, allocations: 216.3 kB / 0.5719 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3829, allocations: 0.9688 kB / 0.5719 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.409e-05/0.383, allocations: 22.19 kB / 0.572 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.383, allocations: 2.594 kB / 0.572 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.383, allocations: 6.219 kB / 0.572 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.383, allocations: 3.938 kB / 0.572 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3831, allocations: 2.406 kB / 0.572 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.3833, allocations: 221.8 kB / 0.5722 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.513e-05/0.3834, allocations: 111.7 kB / 0.5723 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.3834, allocations: 2.375 kB / 0.5723 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.3836, allocations: 21.86 kB / 0.5723 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.3836, allocations: 12.58 kB / 0.5723 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.3837, allocations: 13.91 kB / 0.5723 GB, free: 23.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.626e-05/0.3838, allocations: 120.5 kB / 0.5725 GB, free: 23.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3838, allocations: 0.625 kB / 0.5725 GB, free: 23.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004193/0.3842, allocations: 76.59 kB / 0.5725 GB, free: 23.39 MB / 446.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.000381/0.3846, allocations: 196.9 kB / 0.5727 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.3848, allocations: 113.9 kB / 0.5728 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3848, allocations: 0.6562 kB / 0.5728 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.833e-05/0.3849, allocations: 45.97 kB / 0.5729 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.3854, allocations: 53.38 kB / 0.5729 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/0.3861, allocations: 421.6 kB / 0.5733 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.3862, allocations: 0.7179 MB / 0.574 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.3863, allocations: 29.11 kB / 0.5741 GB, free: 22.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3863, allocations: 2.188 kB / 0.5741 GB, free: 22.22 MB / 446.1 MB Notification: Performance of Templates: time 0.005874/0.3922, allocations: 3.145 MB / 0.5771 GB, free: 21.89 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)