Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) 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(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 105.1 kB / 16.35 MB, free: 5.879 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.001069/0.001069, allocations: 195.2 kB / 17.29 MB, free: 5.516 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.374/1.374, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.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.001518/0.001519, allocations: 66.88 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2542, allocations: 114.5 MB / 0.7847 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.4139/0.6681, allocations: 4.706 MB / 0.7893 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.6702, allocations: 2.677 MB / 0.792 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.6703, allocations: 0 / 0.792 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.6706, allocations: 43.78 kB / 0.792 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.6709, allocations: 99.59 kB / 0.7921 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008209/0.6717, allocations: 493.6 kB / 0.7926 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.6719, allocations: 224.2 kB / 0.7928 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.6719, allocations: 15.78 kB / 0.7928 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.6721, allocations: 113.5 kB / 0.7929 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.6722, allocations: 92.97 kB / 0.793 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.6723, allocations: 8.5 kB / 0.793 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005333/0.6728, allocations: 344.1 kB / 0.7933 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.652e-05/0.6729, allocations: 38.03 kB / 0.7934 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.472e-05/0.673, allocations: 79.25 kB / 0.7934 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.6734, allocations: 345.6 kB / 0.7938 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6735, allocations: 5.75 kB / 0.7938 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6735, allocations: 0 / 0.7938 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.6735, allocations: 0 / 0.7938 GB, free: 45.49 MB / 0.6544 GB 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.0005877/0.6741, allocations: 0.5007 MB / 0.7943 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.6741, allocations: 11.62 kB / 0.7943 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.6743, allocations: 23.25 kB / 0.7943 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.6744, allocations: 202.9 kB / 0.7945 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.6745, allocations: 12.36 kB / 0.7945 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.6745, allocations: 16.66 kB / 0.7945 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.6748, allocations: 248 kB / 0.7948 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.6748, allocations: 1.688 kB / 0.7948 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.6749, allocations: 13.23 kB / 0.7948 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.6749, allocations: 8.969 kB / 0.7948 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.6753, allocations: 427.9 kB / 0.7952 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/0.6762, allocations: 0.9451 MB / 0.7961 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.6764, allocations: 167.1 kB / 0.7963 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.661e-05/0.6765, allocations: 65.12 kB / 0.7963 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008812/0.6774, allocations: 1.823 MB / 0.7981 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.6774, allocations: 41.78 kB / 0.7982 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.6774, allocations: 0 / 0.7982 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0002955/0.6777, allocations: 138.6 kB / 0.7983 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.6778, allocations: 59.92 kB / 0.7983 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.6779, allocations: 173.1 kB / 0.7985 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.6779, allocations: 33.69 kB / 0.7985 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.678, allocations: 140.9 kB / 0.7987 GB, free: 41.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.678, allocations: 51.17 kB / 0.7987 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.6781, allocations: 51.11 kB / 0.7988 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.167e-05/0.6781, allocations: 326.6 kB / 0.7991 GB, free: 41.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.6782, allocations: 34.7 kB / 0.7991 GB, free: 41.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.194e-05/0.6783, allocations: 142.2 kB / 0.7993 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.6785, allocations: 194.4 kB / 0.7994 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6785, allocations: 6.875 kB / 0.7994 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002756/0.6788, allocations: 218.6 kB / 0.7997 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6788, allocations: 7.719 kB / 0.7997 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6788, allocations: 3.5 kB / 0.7997 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.6788, allocations: 11.41 kB / 0.7997 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.679, allocations: 60.23 kB / 0.7997 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.679, allocations: 3.406 kB / 0.7997 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.6791, allocations: 29.34 kB / 0.7998 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.6791, allocations: 14.25 kB / 0.7998 GB, free: 40.91 MB / 0.6544 GB 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 7.937e-05/0.6792, allocations: 141.1 kB / 0.7999 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.6793, allocations: 21.39 kB / 0.7999 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.6795, allocations: 158.2 kB / 0.8001 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.6796, allocations: 3.938 kB / 0.8001 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6796, allocations: 0 / 0.8001 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6796, allocations: 3.469 kB / 0.8001 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.6798, allocations: 211.3 kB / 0.8003 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6798, allocations: 0 / 0.8003 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.324e-05/0.6799, allocations: 31.73 kB / 0.8003 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.6799, allocations: 4.812 kB / 0.8003 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6799, allocations: 0 / 0.8003 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.6799, allocations: 5.5 kB / 0.8003 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6799, allocations: 3.062 kB / 0.8003 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.6801, allocations: 217 kB / 0.8005 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.6802, allocations: 108 kB / 0.8006 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.6802, allocations: 7.312 kB / 0.8006 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.6804, allocations: 18.16 kB / 0.8007 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.6804, allocations: 6.422 kB / 0.8007 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.6804, allocations: 13.92 kB / 0.8007 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.793e-05/0.6805, allocations: 115.4 kB / 0.8008 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6805, allocations: 0 / 0.8008 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003586/0.6809, allocations: 74.34 kB / 0.8009 GB, free: 40.2 MB / 0.6544 GB 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.0003182/0.6812, allocations: 182 kB / 0.801 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.6814, allocations: 117 kB / 0.8012 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6814, allocations: 0.9375 kB / 0.8012 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.399e-05/0.6815, allocations: 44.48 kB / 0.8012 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.6819, allocations: 55.8 kB / 0.8012 GB, free: 40.08 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.6825, allocations: 347.9 kB / 0.8016 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.6827, allocations: 0.7107 MB / 0.8023 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000139/0.6828, allocations: 51.95 kB / 0.8023 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.6829, allocations: 26.41 kB / 0.8023 GB, free: 39.18 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.6829, allocations: 0 / 0.8023 GB, free: 39.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.007474/0.6904, allocations: 3.381 MB / 0.8057 GB, free: 38.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)