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.329/1.329, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009373/0.0009373, allocations: 184.8 kB / 326.5 MB, free: 2.684 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.467/1.467, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0007393/0.0007393, allocations: 86.38 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003221, allocations: 8.25 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1902, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003236/0.1935, allocations: 3.788 MB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1953, allocations: 2.434 MB / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.1953, allocations: 0 / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.1956, allocations: 39.81 kB / 0.9029 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.1958, allocations: 91.41 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007835/0.1966, allocations: 455.7 kB / 0.9034 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.1968, allocations: 335.8 kB / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.1968, allocations: 13.5 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.197, allocations: 103.6 kB / 0.9038 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1971, allocations: 103.6 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1971, allocations: 12 kB / 0.9039 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005694/0.1977, allocations: 431.2 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.1978, allocations: 39.88 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.1978, allocations: 83.66 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.1981, allocations: 267.6 kB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1981, allocations: 0 / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1982, allocations: 0 / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1982, allocations: 4 kB / 0.9047 GB, free: 59.98 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.0005071/0.1987, allocations: 487.1 kB / 0.9052 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1987, allocations: 12.03 kB / 0.9052 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.2005, allocations: 176.5 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.2006, allocations: 208.2 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2007, allocations: 12.7 kB / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.2007, allocations: 16.38 kB / 0.9056 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.2012, allocations: 301.1 kB / 0.9059 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2013, allocations: 4 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.2013, allocations: 4 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.2013, allocations: 11.98 kB / 0.9059 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005788/0.2019, allocations: 259.6 kB / 0.9061 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.2031, allocations: 1.385 MB / 0.9075 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.2036, allocations: 201.6 kB / 0.9077 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.2038, allocations: 80.81 kB / 0.9077 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.2039, allocations: 7.969 kB / 0.9078 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.2039, allocations: 42.5 kB / 0.9078 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.2039, allocations: 0 / 0.9078 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0006537/0.2046, allocations: 237.4 kB / 0.908 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.2046, allocations: 59.41 kB / 0.9081 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.2047, allocations: 158.2 kB / 0.9082 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.2047, allocations: 25.7 kB / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.2048, allocations: 132 kB / 0.9084 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.2048, allocations: 63.05 kB / 0.9084 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.2049, allocations: 25.7 kB / 0.9085 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.826e-05/0.2049, allocations: 322.8 kB / 0.9088 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.2051, allocations: 68.42 kB / 0.9088 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.2053, allocations: 139 kB / 0.909 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.2057, allocations: 220.2 kB / 0.9092 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2057, allocations: 0 / 0.9092 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004819/0.2062, allocations: 249.2 kB / 0.9094 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2062, allocations: 8 kB / 0.9094 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2062, allocations: 0 / 0.9094 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2063, allocations: 7.984 kB / 0.9094 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.2066, allocations: 63.89 kB / 0.9095 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2066, allocations: 12.23 kB / 0.9095 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.2068, allocations: 39.67 kB / 0.9095 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.2069, allocations: 12 kB / 0.9096 GB, free: 54.62 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.153e-05/0.2069, allocations: 133.7 kB / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.207, allocations: 15.81 kB / 0.9097 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005357/0.2075, allocations: 236.3 kB / 0.9099 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2075, allocations: 4 kB / 0.9099 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2076, allocations: 4 kB / 0.9099 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2076, allocations: 3.984 kB / 0.9099 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.2078, allocations: 245.5 kB / 0.9102 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2078, allocations: 0 / 0.9102 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.208, allocations: 51.91 kB / 0.9102 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2081, allocations: 0 / 0.9102 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.2081, allocations: 7.984 kB / 0.9102 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2081, allocations: 0 / 0.9102 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2081, allocations: 0 / 0.9102 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.2085, allocations: 300 kB / 0.9105 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.2086, allocations: 104.9 kB / 0.9106 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.2086, allocations: 4 kB / 0.9106 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.2089, allocations: 19.98 kB / 0.9106 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.2089, allocations: 7.984 kB / 0.9106 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.209, allocations: 15.98 kB / 0.9107 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.993e-05/0.209, allocations: 111.2 kB / 0.9108 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.209, allocations: 3.938 kB / 0.9108 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003213/0.2093, allocations: 56 kB / 0.9108 GB, free: 53.22 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 (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.0001538/0.2095, allocations: 131.2 kB / 0.9109 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004384/0.2099, allocations: 180.3 kB / 0.9111 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.21, allocations: 7.938 kB / 0.9111 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.2102, allocations: 89.94 kB / 0.9112 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.2106, allocations: 62.06 kB / 0.9113 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/0.2114, allocations: 482.6 kB / 0.9117 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.2115, allocations: 0.7177 MB / 0.9124 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.878e-05/0.2116, allocations: 27.42 kB / 0.9125 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2116, allocations: 0 / 0.9125 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of Templates: time 0.003675/0.2153, allocations: 2.838 MB / 0.9152 GB, free: 48.67 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)