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.365/1.365, allocations: 252 MB / 268 MB, free: 10.85 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.0009799/0.0009801, allocations: 180.4 kB / 327.6 MB, free: 2.078 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.702/1.702, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.0007427/0.0007427, allocations: 98.22 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004089, allocations: 10.44 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2287, allocations: 106.3 MB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003973/0.2328, allocations: 3.744 MB / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002084/0.2349, allocations: 2.403 MB / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.235, allocations: 0 / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.2353, allocations: 39.8 kB / 0.9075 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003557/0.2357, allocations: 95.42 kB / 0.9076 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.2373, allocations: 459.1 kB / 0.908 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000424/0.2377, allocations: 331.8 kB / 0.9083 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.575e-05/0.2378, allocations: 13.55 kB / 0.9083 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.238, allocations: 111.6 kB / 0.9084 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.2382, allocations: 95.59 kB / 0.9085 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.2383, allocations: 8 kB / 0.9085 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009701/0.2392, allocations: 443.2 kB / 0.909 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.078e-05/0.2393, allocations: 39.83 kB / 0.909 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.524e-05/0.2394, allocations: 105.3 kB / 0.9091 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.2399, allocations: 283.5 kB / 0.9094 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2399, allocations: 0 / 0.9094 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.432e-06/0.24, allocations: 4 kB / 0.9094 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.24, allocations: 0 / 0.9094 GB, free: 55.18 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.0007001/0.2407, allocations: 467.3 kB / 0.9098 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2407, allocations: 8.031 kB / 0.9098 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.2427, allocations: 184.5 kB / 0.91 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.2429, allocations: 212.1 kB / 0.9102 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.2429, allocations: 12.7 kB / 0.9102 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.243, allocations: 16.31 kB / 0.9102 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.2436, allocations: 305.1 kB / 0.9105 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2436, allocations: 0 / 0.9105 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.2437, allocations: 12 kB / 0.9105 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.2437, allocations: 4 kB / 0.9105 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006684/0.2444, allocations: 263.6 kB / 0.9108 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.2458, allocations: 1.385 MB / 0.9122 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.2464, allocations: 201.3 kB / 0.9123 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.2466, allocations: 80.75 kB / 0.9124 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.962e-05/0.2466, allocations: 3.984 kB / 0.9124 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.2467, allocations: 38.56 kB / 0.9125 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.2467, allocations: 0 / 0.9125 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0007043/0.2474, allocations: 237.4 kB / 0.9127 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.2474, allocations: 55.41 kB / 0.9127 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2475, allocations: 161.2 kB / 0.9129 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.2476, allocations: 29.7 kB / 0.9129 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.2476, allocations: 124 kB / 0.913 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.2477, allocations: 63.09 kB / 0.9131 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/0.2477, allocations: 8 kB / 0.9131 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.2477, allocations: 326.8 kB / 0.9134 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.2479, allocations: 64.36 kB / 0.9135 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.2481, allocations: 147 kB / 0.9136 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.2486, allocations: 216.2 kB / 0.9138 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2486, allocations: 0 / 0.9138 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005171/0.2491, allocations: 249.1 kB / 0.9141 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2491, allocations: 4 kB / 0.9141 GB, free: 50 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2491, allocations: 4 kB / 0.9141 GB, free: 50 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2492, allocations: 8.312 kB / 0.9141 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.2495, allocations: 67.89 kB / 0.9141 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2495, allocations: 8 kB / 0.9142 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.2498, allocations: 35.67 kB / 0.9142 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.2498, allocations: 11.98 kB / 0.9142 GB, free: 49.87 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.805e-05/0.2499, allocations: 137.6 kB / 0.9143 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.2499, allocations: 19.81 kB / 0.9143 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005723/0.2505, allocations: 230.6 kB / 0.9146 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2505, allocations: 0 / 0.9146 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2505, allocations: 0 / 0.9146 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2505, allocations: 4 kB / 0.9146 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.2508, allocations: 249.3 kB / 0.9148 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2508, allocations: 0 / 0.9148 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.2511, allocations: 47.95 kB / 0.9149 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.2511, allocations: 0 / 0.9149 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.2511, allocations: 19.92 kB / 0.9149 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2511, allocations: 0 / 0.9149 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2511, allocations: 0 / 0.9149 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.2516, allocations: 294.1 kB / 0.9152 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.853e-05/0.2517, allocations: 100.9 kB / 0.9153 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.2518, allocations: 12 kB / 0.9153 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.252, allocations: 15.98 kB / 0.9153 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.2521, allocations: 7.984 kB / 0.9153 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.2521, allocations: 19.92 kB / 0.9153 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.838e-05/0.2522, allocations: 113.3 kB / 0.9154 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2522, allocations: 0 / 0.9154 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003289/0.2525, allocations: 56 kB / 0.9155 GB, free: 48.47 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.0001816/0.2527, allocations: 135.3 kB / 0.9156 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004881/0.2532, allocations: 179.7 kB / 0.9158 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2532, allocations: 0 / 0.9158 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.2534, allocations: 83.89 kB / 0.9158 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.2539, allocations: 64.44 kB / 0.9159 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008775/0.2548, allocations: 0.5089 MB / 0.9164 GB, free: 47.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.255, allocations: 0.7177 MB / 0.9171 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.2551, allocations: 35.36 kB / 0.9171 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.2551, allocations: 4 kB / 0.9171 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of Templates: time 0.004365/0.2595, allocations: 2.842 MB / 0.9199 GB, free: 43.87 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)