Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.631/1.631, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 196.3 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 0.5783 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008044/0.0008046, allocations: 92.02 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 9.188 kB / 0.797 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1866, allocations: 106.3 MB / 0.9008 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003166/0.1898, allocations: 3.597 MB / 0.9043 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1916, allocations: 2.237 MB / 0.9065 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.1916, allocations: 4 kB / 0.9065 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.1919, allocations: 35.75 kB / 0.9066 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.1921, allocations: 87.47 kB / 0.9066 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009868/0.1931, allocations: 396.9 kB / 0.907 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.1933, allocations: 295.8 kB / 0.9073 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.1934, allocations: 5.562 kB / 0.9073 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.1936, allocations: 107.6 kB / 0.9074 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1937, allocations: 91.66 kB / 0.9075 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.1938, allocations: 8 kB / 0.9075 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006413/0.1944, allocations: 335.4 kB / 0.9078 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.1945, allocations: 47.88 kB / 0.9079 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.1945, allocations: 53.64 kB / 0.9079 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.1948, allocations: 243.7 kB / 0.9082 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1948, allocations: 0 / 0.9082 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1948, allocations: 0 / 0.9082 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.1948, allocations: 0 / 0.9082 GB, free: 56.92 MB / 0.6042 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.0005446/0.1954, allocations: 479 kB / 0.9086 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.1954, allocations: 12.03 kB / 0.9086 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.1973, allocations: 179.5 kB / 0.9088 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.1975, allocations: 218.8 kB / 0.909 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1976, allocations: 8.328 kB / 0.909 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.1976, allocations: 16 kB / 0.909 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.1981, allocations: 304.9 kB / 0.9093 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1982, allocations: 0 / 0.9093 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.1982, allocations: 8 kB / 0.9093 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.1982, allocations: 7.953 kB / 0.9093 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.1989, allocations: 259.6 kB / 0.9096 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.2001, allocations: 1.381 MB / 0.9109 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.2007, allocations: 187.9 kB / 0.9111 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.2009, allocations: 84.73 kB / 0.9112 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.2009, allocations: 7.953 kB / 0.9112 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.2009, allocations: 46.5 kB / 0.9112 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.2009, allocations: 0 / 0.9112 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.00068/0.2016, allocations: 243.9 kB / 0.9115 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.2016, allocations: 55.41 kB / 0.9115 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.2017, allocations: 157.5 kB / 0.9117 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2018, allocations: 29.7 kB / 0.9117 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.2018, allocations: 128 kB / 0.9118 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.2019, allocations: 67.08 kB / 0.9119 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.2019, allocations: 4 kB / 0.9119 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.245e-05/0.2019, allocations: 322.8 kB / 0.9122 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.2021, allocations: 60.42 kB / 0.9123 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.2023, allocations: 143 kB / 0.9124 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.2026, allocations: 79.88 kB / 0.9125 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.2026, allocations: 4 kB / 0.9125 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005005/0.2031, allocations: 251.5 kB / 0.9127 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2031, allocations: 7.953 kB / 0.9127 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2031, allocations: 4 kB / 0.9127 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2031, allocations: 4 kB / 0.9127 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.2035, allocations: 63.89 kB / 0.9128 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2035, allocations: 8.312 kB / 0.9128 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.2037, allocations: 35.67 kB / 0.9128 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2038, allocations: 15.98 kB / 0.9128 GB, free: 51.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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 8.35e-05/0.2038, allocations: 125.8 kB / 0.913 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.2039, allocations: 11.91 kB / 0.913 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005628/0.2045, allocations: 227.1 kB / 0.9132 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.2045, allocations: 8 kB / 0.9132 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2045, allocations: 3.953 kB / 0.9132 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2045, allocations: 0 / 0.9132 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.2047, allocations: 249.4 kB / 0.9134 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2047, allocations: 0 / 0.9134 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.205, allocations: 43.97 kB / 0.9135 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.205, allocations: 0 / 0.9135 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.205, allocations: 7.922 kB / 0.9135 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.205, allocations: 3.953 kB / 0.9135 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2051, allocations: 4 kB / 0.9135 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.2055, allocations: 293.6 kB / 0.9138 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.2056, allocations: 108.8 kB / 0.9139 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.2056, allocations: 0 / 0.9139 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.2059, allocations: 19.98 kB / 0.9139 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.2059, allocations: 19.94 kB / 0.9139 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.206, allocations: 11.92 kB / 0.9139 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.095e-05/0.206, allocations: 110.3 kB / 0.914 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.6e-07/0.206, allocations: 0 / 0.914 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003042/0.2063, allocations: 59.98 kB / 0.9141 GB, free: 50.38 MB / 0.6042 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0001628/0.2065, allocations: 139.3 kB / 0.9142 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004653/0.207, allocations: 172.4 kB / 0.9144 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.207, allocations: 8 kB / 0.9144 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.2072, allocations: 79.89 kB / 0.9145 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.2077, allocations: 67.89 kB / 0.9145 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007872/0.2085, allocations: 0.5173 MB / 0.915 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.2086, allocations: 0.71 MB / 0.9157 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.2087, allocations: 31.41 kB / 0.9158 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2087, allocations: 0 / 0.9158 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.004105/0.2128, allocations: 2.866 MB / 0.9186 GB, free: 45.77 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)