Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.938/1.938, allocations: 287.5 MB / 302.6 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 180.5 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 0.6299 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007791/0.0007791, allocations: 90.45 kB / 0.7432 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.000405, allocations: 15.06 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.201, allocations: 115.3 MB / 0.9787 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005039/0.2061, allocations: 4.196 MB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002727/0.2089, allocations: 2.471 MB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.041e-05/0.209, allocations: 0 / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.2093, allocations: 31.81 kB / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.2095, allocations: 91.41 kB / 0.9853 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007711/0.2103, allocations: 381.6 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.2105, allocations: 263.9 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.2105, allocations: 9.547 kB / 0.9859 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.2107, allocations: 107.6 kB / 0.986 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.2108, allocations: 87.66 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.2109, allocations: 8 kB / 0.9861 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.2113, allocations: 251.4 kB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.2113, allocations: 35.89 kB / 0.9864 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.2114, allocations: 53.64 kB / 0.9864 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.2116, allocations: 215.7 kB / 0.9866 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2116, allocations: 4 kB / 0.9866 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2116, allocations: 0 / 0.9866 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.2117, allocations: 0 / 0.9866 GB, free: 20.03 MB / 0.6198 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.0005483/0.2122, allocations: 467.3 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2123, allocations: 8.031 kB / 0.9871 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.2124, allocations: 24.78 kB / 0.9871 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.2127, allocations: 216 kB / 0.9873 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.2127, allocations: 8.703 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.2127, allocations: 16.38 kB / 0.9873 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.2132, allocations: 252.1 kB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.2132, allocations: 0 / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.2132, allocations: 8 kB / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.2133, allocations: 8 kB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005501/0.2138, allocations: 427.5 kB / 0.988 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.215, allocations: 0.9449 MB / 0.9889 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.2153, allocations: 155 kB / 0.9891 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.2155, allocations: 68.81 kB / 0.9891 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/0.2167, allocations: 1.833 MB / 0.9909 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.2167, allocations: 34.56 kB / 0.991 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.2167, allocations: 0 / 0.991 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0003914/0.2171, allocations: 143.5 kB / 0.9911 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.2171, allocations: 67.27 kB / 0.9912 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.2173, allocations: 160.9 kB / 0.9913 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.2173, allocations: 29.7 kB / 0.9913 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.2174, allocations: 147.8 kB / 0.9915 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.2175, allocations: 47.3 kB / 0.9915 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.2175, allocations: 4 kB / 0.9915 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.2175, allocations: 326.8 kB / 0.9919 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.597e-05/0.2176, allocations: 31.98 kB / 0.9919 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.2177, allocations: 142.2 kB / 0.992 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.218, allocations: 198.2 kB / 0.9922 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.218, allocations: 0 / 0.9922 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003581/0.2184, allocations: 218.1 kB / 0.9924 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2184, allocations: 7.984 kB / 0.9924 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2184, allocations: 4 kB / 0.9924 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.2184, allocations: 4 kB / 0.9924 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.2187, allocations: 59.86 kB / 0.9925 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.2187, allocations: 11.92 kB / 0.9925 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.2189, allocations: 35.61 kB / 0.9925 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.2189, allocations: 19.98 kB / 0.9926 GB, free: 13.25 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.219, allocations: 134 kB / 0.9927 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.2191, allocations: 15.81 kB / 0.9927 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.2194, allocations: 152.5 kB / 0.9928 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.2194, allocations: 3.938 kB / 0.9928 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2195, allocations: 0 / 0.9928 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.2195, allocations: 3.984 kB / 0.9928 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.2197, allocations: 217.5 kB / 0.9931 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2197, allocations: 0 / 0.9931 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.2199, allocations: 27.92 kB / 0.9931 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2199, allocations: 4 kB / 0.9931 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.2199, allocations: 8 kB / 0.9931 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2199, allocations: 3.938 kB / 0.9931 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2199, allocations: 0 / 0.9931 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.2202, allocations: 217.7 kB / 0.9933 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/0.2202, allocations: 112.8 kB / 0.9934 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.2203, allocations: 0 / 0.9934 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.2206, allocations: 19.92 kB / 0.9934 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.2206, allocations: 4 kB / 0.9934 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.2206, allocations: 15.98 kB / 0.9934 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.919e-05/0.2207, allocations: 120.2 kB / 0.9936 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2207, allocations: 4 kB / 0.9936 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005454/0.2213, allocations: 79.92 kB / 0.9936 GB, free: 12.03 MB / 0.6198 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 (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.0002538/0.2216, allocations: 163.1 kB / 0.9938 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.2218, allocations: 115.7 kB / 0.9939 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2218, allocations: 3.938 kB / 0.9939 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.2219, allocations: 43.92 kB / 0.994 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.2226, allocations: 56.83 kB / 0.994 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007248/0.2233, allocations: 425.9 kB / 0.9944 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.2235, allocations: 0.717 MB / 0.9951 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002549/0.2238, allocations: 45.8 kB / 0.9952 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.2238, allocations: 23.44 kB / 0.9952 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.2238, allocations: 0 / 0.9952 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.00631/0.2302, allocations: 3.161 MB / 0.9983 GB, free: 7.258 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)