Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 173 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9818/0.9818, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.855/1.855, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.423e-05, allocations: 3.078 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00372/0.003745, allocations: 3.434 MB / 0.8149 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 8.702e-05/0.003832, allocations: 53.3 kB / 0.8149 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.003863, allocations: 0 / 0.8149 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.003975, allocations: 0 / 0.8149 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.596e-05/0.004051, allocations: 16.39 kB / 0.8149 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.004524, allocations: 193.5 kB / 0.8151 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.854e-05/0.004613, allocations: 41.22 kB / 0.8152 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.00465, allocations: 3.984 kB / 0.8152 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.004703, allocations: 19.98 kB / 0.8152 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.004771, allocations: 13.39 kB / 0.8152 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.004785, allocations: 4 kB / 0.8152 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.004998, allocations: 127.5 kB / 0.8153 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.005044, allocations: 15.92 kB / 0.8153 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.005065, allocations: 5.969 kB / 0.8154 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.005267, allocations: 135.6 kB / 0.8155 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.005271, allocations: 3.984 kB / 0.8155 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.703e-06/0.005273, allocations: 0 / 0.8155 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.005277, allocations: 0 / 0.8155 GB, free: 14.02 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003513/0.005628, allocations: 370.5 kB / 0.8158 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.005665, allocations: 8.031 kB / 0.8158 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.005712, allocations: 9.234 kB / 0.8159 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.433e-05/0.005796, allocations: 108.6 kB / 0.816 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/0.005863, allocations: 59.97 kB / 0.816 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.005876, allocations: 4.375 kB / 0.816 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.006007, allocations: 81.12 kB / 0.8161 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.006014, allocations: 6.109 kB / 0.8161 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.006026, allocations: 3.938 kB / 0.8161 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.006058, allocations: 4 kB / 0.8161 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.565e-05/0.006083, allocations: 4 kB / 0.8161 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.006542, allocations: 287.8 kB / 0.8164 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.956e-05/0.006582, allocations: 29.12 kB / 0.8164 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.006599, allocations: 15.62 kB / 0.8164 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.367e-05/0.006663, allocations: 51.89 kB / 0.8165 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.006684, allocations: 33.39 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.006685, allocations: 0 / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.006816, allocations: 42.69 kB / 0.8166 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.006845, allocations: 55.41 kB / 0.8166 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/0.006918, allocations: 158.8 kB / 0.8168 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.006929, allocations: 25.7 kB / 0.8168 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.006979, allocations: 143.6 kB / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-06/0.006984, allocations: 7.891 kB / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.00701, allocations: 20.5 kB / 0.8169 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.007114, allocations: 496.1 kB / 0.8174 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.007127, allocations: 7.984 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/0.007149, allocations: 20.22 kB / 0.8174 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.007411, allocations: 24.81 kB / 0.8175 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007413, allocations: 0 / 0.8175 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.572e-05/0.007478, allocations: 50.66 kB / 0.8175 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.007493, allocations: 8 kB / 0.8175 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007497, allocations: 0 / 0.8175 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.007509, allocations: 3.25 kB / 0.8175 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.204e-05/0.007551, allocations: 4 kB / 0.8175 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.007556, allocations: 0 / 0.8175 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.204e-05/0.007568, allocations: 4 kB / 0.8175 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.007577, allocations: 4 kB / 0.8175 GB, free: 11.69 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 6.252e-05/0.00764, allocations: 160.6 kB / 0.8177 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.007658, allocations: 11.83 kB / 0.8177 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.007762, allocations: 159.7 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.339e-05/0.007816, allocations: 270.5 kB / 0.8181 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.623e-05/0.007872, allocations: 276 kB / 0.8184 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-05/0.007928, allocations: 264.1 kB / 0.8186 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.008087, allocations: 499.8 kB / 0.8191 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.097e-05/0.008118, allocations: 148.9 kB / 0.8192 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.008157, allocations: 148.9 kB / 0.8194 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.995e-05/0.008217, allocations: 272.9 kB / 0.8197 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-05/0.008279, allocations: 264.1 kB / 0.8199 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.429e-05/0.008344, allocations: 273.1 kB / 0.8202 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.87e-05/0.008402, allocations: 264.1 kB / 0.8204 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.008521, allocations: 448 kB / 0.8208 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.00856, allocations: 157.9 kB / 0.821 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.008628, allocations: 276 kB / 0.8213 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.008737, allocations: 152.8 kB / 0.8214 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.008809, allocations: 269.2 kB / 0.8217 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.008845, allocations: 152.8 kB / 0.8218 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.008889, allocations: 127.2 kB / 0.8219 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.8e-07/0.008889, allocations: 0.9688 kB / 0.8219 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002042/0.009093, allocations: 39.81 kB / 0.822 GB, free: 6.969 MB / 0.7761 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 (0): * Single equations (assignments): 0 * 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.0002505/0.009344, allocations: 274.1 kB / 0.8222 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.141e-05/0.009425, allocations: 24.3 kB / 0.8222 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009427, allocations: 0 / 0.8222 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.009429, allocations: 8.656 kB / 0.8223 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.009777, allocations: 0.7029 MB / 0.8229 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.01022, allocations: 235.5 kB / 0.8232 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.137e-05/0.01026, allocations: 59.34 kB / 0.8232 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.481e-05/0.0103, allocations: 11.77 kB / 0.8232 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.01032, allocations: 8.5 kB / 0.8232 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/0.01032, allocations: 0 / 0.8232 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of Templates: time 0.002976/0.01329, allocations: 1.296 MB / 0.8245 GB, free: 4.363 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.062746937852353]