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.001155/0.001155, allocations: 115.1 kB / 16.37 MB, free: 5.996 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.001182/0.001182, allocations: 188 kB / 17.3 MB, free: 5.617 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.562/1.562, 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.838/1.838, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001441/0.001441, allocations: 63.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2525, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.3859/0.6385, allocations: 4.707 MB / 0.7894 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.6407, allocations: 2.674 MB / 0.792 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.6409, allocations: 5.25 kB / 0.792 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.6412, allocations: 46.03 kB / 0.792 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.6415, allocations: 96.91 kB / 0.7921 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.6425, allocations: 489 kB / 0.7926 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.6427, allocations: 231.2 kB / 0.7928 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.6428, allocations: 10.12 kB / 0.7928 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.643, allocations: 116.5 kB / 0.7929 GB, free: 45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.6431, allocations: 89.31 kB / 0.793 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.6431, allocations: 7.875 kB / 0.793 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006073/0.6438, allocations: 346.1 kB / 0.7933 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.6438, allocations: 41.14 kB / 0.7934 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.6439, allocations: 83.95 kB / 0.7935 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004689/0.6444, allocations: 341.3 kB / 0.7938 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6444, allocations: 0 / 0.7938 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6444, allocations: 0 / 0.7938 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.6444, allocations: 1.125 kB / 0.7938 GB, free: 44.84 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.0006103/0.645, allocations: 0.5041 MB / 0.7943 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.6451, allocations: 11.05 kB / 0.7943 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.6453, allocations: 23.23 kB / 0.7943 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.6455, allocations: 206.1 kB / 0.7945 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.6455, allocations: 13.64 kB / 0.7945 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.6456, allocations: 15.34 kB / 0.7945 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.6459, allocations: 247.5 kB / 0.7948 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.6459, allocations: 0 / 0.7948 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.6459, allocations: 8.812 kB / 0.7948 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.646, allocations: 12.44 kB / 0.7948 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.6464, allocations: 433.8 kB / 0.7952 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009256/0.6473, allocations: 0.9463 MB / 0.7961 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.6475, allocations: 165.1 kB / 0.7963 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.68e-05/0.6476, allocations: 65.73 kB / 0.7964 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009484/0.6486, allocations: 1.817 MB / 0.7981 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.6486, allocations: 37.25 kB / 0.7982 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.6486, allocations: 3.5 kB / 0.7982 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003037/0.6489, allocations: 141.3 kB / 0.7983 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.649, allocations: 55.34 kB / 0.7984 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.6491, allocations: 177.4 kB / 0.7985 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.6491, allocations: 31.83 kB / 0.7986 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.6492, allocations: 143.8 kB / 0.7987 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.6492, allocations: 50.77 kB / 0.7987 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.6493, allocations: 52.38 kB / 0.7988 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.6493, allocations: 327 kB / 0.7991 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.769e-05/0.6494, allocations: 33.95 kB / 0.7991 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.651e-05/0.6495, allocations: 145.9 kB / 0.7993 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.6497, allocations: 193.6 kB / 0.7995 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.6497, allocations: 3.5 kB / 0.7995 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000276/0.65, allocations: 216.7 kB / 0.7997 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.65, allocations: 7.625 kB / 0.7997 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.65, allocations: 4.047 kB / 0.7997 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.65, allocations: 6.906 kB / 0.7997 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.6502, allocations: 59.16 kB / 0.7997 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.6502, allocations: 4.75 kB / 0.7998 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.6503, allocations: 25.72 kB / 0.7998 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.6504, allocations: 16.09 kB / 0.7998 GB, free: 40.27 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.993e-05/0.6505, allocations: 139.9 kB / 0.7999 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.6505, allocations: 18.75 kB / 0.7999 GB, free: 40.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.6508, allocations: 154.6 kB / 0.8001 GB, free: 40.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.6508, allocations: 6.844 kB / 0.8001 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.6508, allocations: 3.469 kB / 0.8001 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/0.6508, allocations: 0 / 0.8001 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.6511, allocations: 215.7 kB / 0.8003 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6511, allocations: 1.5 kB / 0.8003 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/0.6512, allocations: 27.12 kB / 0.8003 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6512, allocations: 3.406 kB / 0.8003 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.6512, allocations: 3.5 kB / 0.8003 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.6512, allocations: 11.28 kB / 0.8004 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6512, allocations: 0 / 0.8004 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.6514, allocations: 210.8 kB / 0.8006 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.6515, allocations: 114.2 kB / 0.8007 GB, free: 39.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.6515, allocations: 3.984 kB / 0.8007 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.6517, allocations: 14.09 kB / 0.8007 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.6517, allocations: 10.34 kB / 0.8007 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.6517, allocations: 24.77 kB / 0.8007 GB, free: 39.63 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.056e-05/0.6518, allocations: 116.4 kB / 0.8008 GB, free: 39.56 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6518, allocations: 0 / 0.8008 GB, free: 39.56 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003804/0.6522, allocations: 71.28 kB / 0.8009 GB, free: 39.55 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.0002735/0.6525, allocations: 180.5 kB / 0.8011 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.6527, allocations: 115.4 kB / 0.8012 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6527, allocations: 3.906 kB / 0.8012 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.973e-05/0.6528, allocations: 42.94 kB / 0.8012 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.6532, allocations: 58.83 kB / 0.8013 GB, free: 39.44 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.6539, allocations: 372.5 kB / 0.8016 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.6541, allocations: 0.7119 MB / 0.8023 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.6541, allocations: 32.17 kB / 0.8024 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of SimCode: time 2.81e-07/0.6541, allocations: 0 / 0.8024 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.005937/0.6601, allocations: 3.114 MB / 0.8054 GB, free: 38.24 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 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)