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.0009426/0.0009426, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009505/0.0009505, allocations: 181 kB / 24.09 MB, free: 416 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.9898/0.9898, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.81/1.81, allocations: 377.9 MB / 0.624 GB, free: 8.445 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.242e-06/1.242e-06, allocations: 0 / 0.812 GB, free: 344 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.67e-05, allocations: 2.312 kB / 0.812 GB, free: 340 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004366/0.004382, allocations: 3.442 MB / 0.8154 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 8.07e-05/0.004463, allocations: 52.7 kB / 0.8154 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.004492, allocations: 4.5 kB / 0.8154 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.624e-05/0.004588, allocations: 4 kB / 0.8154 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/0.004659, allocations: 13.12 kB / 0.8154 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.005131, allocations: 221 kB / 0.8156 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.204e-05/0.005203, allocations: 33.39 kB / 0.8157 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.89e-05/0.005232, allocations: 0 / 0.8157 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.313e-05/0.005285, allocations: 23.97 kB / 0.8157 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.00535, allocations: 11.98 kB / 0.8157 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.00536, allocations: 1.531 kB / 0.8157 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.005584, allocations: 147.4 kB / 0.8158 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.00562, allocations: 3.984 kB / 0.8159 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.005638, allocations: 15.98 kB / 0.8159 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.005834, allocations: 125 kB / 0.816 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.005836, allocations: 0 / 0.816 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005837, allocations: 0 / 0.816 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.00584, allocations: 5.719 kB / 0.816 GB, free: 12.25 MB / 0.7292 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.0003078/0.006148, allocations: 372.1 kB / 0.8163 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.006185, allocations: 15.97 kB / 0.8164 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.006213, allocations: 5.281 kB / 0.8164 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.214e-05/0.006285, allocations: 116.6 kB / 0.8165 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.006335, allocations: 53.28 kB / 0.8165 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.006344, allocations: 4.375 kB / 0.8165 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.277e-05/0.006437, allocations: 72.66 kB / 0.8166 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.006444, allocations: 1.438 kB / 0.8166 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.006452, allocations: 3.938 kB / 0.8166 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.006471, allocations: 4 kB / 0.8166 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.064e-05/0.006491, allocations: 12.61 kB / 0.8166 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.006831, allocations: 280.5 kB / 0.8169 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.111e-05/0.006862, allocations: 31.09 kB / 0.8169 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.109e-05/0.006873, allocations: 13.77 kB / 0.8169 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.371e-05/0.006937, allocations: 43.86 kB / 0.817 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.006961, allocations: 41.31 kB / 0.817 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.006962, allocations: 0 / 0.817 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001106/0.007072, allocations: 42.17 kB / 0.8171 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.007094, allocations: 52.12 kB / 0.8171 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/0.007164, allocations: 161.9 kB / 0.8173 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.007174, allocations: 27.17 kB / 0.8173 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.007221, allocations: 134.8 kB / 0.8174 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.71e-06/0.007227, allocations: 3.953 kB / 0.8174 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.007255, allocations: 19.38 kB / 0.8174 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.00737, allocations: 0.489 MB / 0.8179 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/0.007378, allocations: 4 kB / 0.8179 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.007397, allocations: 24.36 kB / 0.8179 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.931e-05/0.007426, allocations: 24.06 kB / 0.818 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007428, allocations: 0 / 0.818 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.324e-05/0.007491, allocations: 55.03 kB / 0.818 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.007502, allocations: 6.344 kB / 0.818 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.007507, allocations: 7.938 kB / 0.818 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.007517, allocations: 0.9375 kB / 0.818 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.796e-05/0.007545, allocations: 4 kB / 0.818 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.007548, allocations: 5.297 kB / 0.818 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.007565, allocations: 4 kB / 0.818 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.007571, allocations: 0 / 0.818 GB, free: 9.941 MB / 0.7292 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 5.865e-05/0.007629, allocations: 153.5 kB / 0.8182 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.007651, allocations: 7.938 kB / 0.8182 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.305e-05/0.007744, allocations: 169.9 kB / 0.8184 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.334e-05/0.007808, allocations: 272.1 kB / 0.8186 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-05/0.007868, allocations: 264.1 kB / 0.8189 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.158e-05/0.007929, allocations: 272 kB / 0.8191 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.008119, allocations: 480.5 kB / 0.8196 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.52e-05/0.008154, allocations: 152.8 kB / 0.8197 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.008188, allocations: 148.3 kB / 0.8199 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003079/0.008496, allocations: 264.1 kB / 0.8201 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/0.008559, allocations: 280 kB / 0.8204 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.904e-05/0.008618, allocations: 268 kB / 0.8206 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.24e-05/0.00868, allocations: 272 kB / 0.8209 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.008806, allocations: 444 kB / 0.8213 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.008843, allocations: 148.8 kB / 0.8215 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.008914, allocations: 272.1 kB / 0.8217 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.009027, allocations: 156.8 kB / 0.8219 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.009088, allocations: 268.9 kB / 0.8221 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.009121, allocations: 144.9 kB / 0.8223 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.351e-05/0.009165, allocations: 131.6 kB / 0.8224 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.009165, allocations: 0.5625 kB / 0.8224 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002431/0.009408, allocations: 39.81 kB / 0.8224 GB, free: 5.25 MB / 0.7292 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.0002081/0.009616, allocations: 278.2 kB / 0.8227 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.431e-05/0.009671, allocations: 15.98 kB / 0.8227 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.009673, allocations: 9.031 kB / 0.8227 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.103e-06/0.009674, allocations: 0 / 0.8227 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.01004, allocations: 0.7067 MB / 0.8234 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.0104, allocations: 239.5 kB / 0.8236 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.457e-05/0.01043, allocations: 59.34 kB / 0.8237 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.01046, allocations: 7.969 kB / 0.8237 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/0.01053, allocations: 82.17 kB / 0.8238 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of SimCode: time 4.3e-07/0.01053, allocations: 0 / 0.8238 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of Templates: time 0.003035/0.01356, allocations: 1.346 MB / 0.8251 GB, free: 2.52 MB / 0.7292 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: 4.891716972924769]