Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.0009503/0.0009503, allocations: 82.64 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.0009431/0.0009431, allocations: 181 kB / 24.09 MB, free: 420 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.9457/0.9457, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.741/1.741, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.535e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1168/0.1168, allocations: 128.7 MB / 0.9132 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0001352/0.117, allocations: 51.8 kB / 0.9132 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.117, allocations: 3.938 kB / 0.9132 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.1171, allocations: 3.984 kB / 0.9132 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 7.823e-05/0.1172, allocations: 11.81 kB / 0.9132 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.1179, allocations: 266.8 kB / 0.9135 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 7.949e-05/0.118, allocations: 35.8 kB / 0.9135 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.118, allocations: 0 / 0.9135 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.975e-05/0.1181, allocations: 23.97 kB / 0.9135 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.1182, allocations: 11.92 kB / 0.9136 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1182, allocations: 4 kB / 0.9136 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.1185, allocations: 179.4 kB / 0.9137 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.1185, allocations: 11.98 kB / 0.9137 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.1186, allocations: 8 kB / 0.9137 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.1188, allocations: 175.5 kB / 0.9139 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1188, allocations: 0 / 0.9139 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1188, allocations: 0 / 0.9139 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.1188, allocations: 0 / 0.9139 GB, free: 10.38 MB / 0.8698 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.0003374/0.1191, allocations: 388 kB / 0.9143 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1192, allocations: 8.031 kB / 0.9143 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.1192, allocations: 9.266 kB / 0.9143 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.129e-05/0.1193, allocations: 108.6 kB / 0.9144 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/0.1193, allocations: 63.89 kB / 0.9145 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-06/0.1193, allocations: 4.375 kB / 0.9145 GB, free: 9.738 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.1195, allocations: 80.41 kB / 0.9145 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.1195, allocations: 7.938 kB / 0.9146 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.1195, allocations: 0 / 0.9146 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.1195, allocations: 0 / 0.9146 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.706e-05/0.1195, allocations: 4 kB / 0.9146 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.1199, allocations: 292.3 kB / 0.9148 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.528e-05/0.12, allocations: 27 kB / 0.9149 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.12, allocations: 19.62 kB / 0.9149 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.441e-05/0.12, allocations: 40.02 kB / 0.9149 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.12, allocations: 33.39 kB / 0.915 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.12, allocations: 0 / 0.915 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001147/0.1202, allocations: 41.69 kB / 0.915 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.1202, allocations: 55.34 kB / 0.915 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/0.1203, allocations: 153.9 kB / 0.9152 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002788/0.1205, allocations: 25.7 kB / 0.9152 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.1206, allocations: 142.8 kB / 0.9154 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-06/0.1206, allocations: 3.953 kB / 0.9154 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.1206, allocations: 19.5 kB / 0.9154 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.1207, allocations: 0.4884 MB / 0.9159 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-06/0.1207, allocations: 7.984 kB / 0.9159 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.684e-05/0.1207, allocations: 19.38 kB / 0.9159 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.1208, allocations: 23.36 kB / 0.9159 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1208, allocations: 0 / 0.9159 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.204e-05/0.1208, allocations: 53.56 kB / 0.916 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1208, allocations: 4 kB / 0.916 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1208, allocations: 4.062 kB / 0.916 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1208, allocations: 4 kB / 0.916 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.342e-05/0.1209, allocations: 4 kB / 0.916 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.1209, allocations: 0 / 0.916 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.216e-05/0.1209, allocations: 3.938 kB / 0.916 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1209, allocations: 7.938 kB / 0.916 GB, free: 8.035 MB / 0.8698 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.328e-05/0.121, allocations: 156.6 kB / 0.9161 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.121, allocations: 7.938 kB / 0.9161 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.859e-05/0.1211, allocations: 163.7 kB / 0.9163 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-05/0.1211, allocations: 276 kB / 0.9166 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-05/0.1212, allocations: 272.1 kB / 0.9168 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-05/0.1212, allocations: 268.1 kB / 0.9171 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.1214, allocations: 480.5 kB / 0.9175 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-05/0.1214, allocations: 144.9 kB / 0.9177 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.124e-05/0.1214, allocations: 152.9 kB / 0.9178 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.124e-05/0.1215, allocations: 268.1 kB / 0.9181 GB, free: 5.797 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/0.1215, allocations: 280 kB / 0.9183 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.462e-05/0.1216, allocations: 268 kB / 0.9186 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.158e-05/0.1216, allocations: 264.1 kB / 0.9188 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.1218, allocations: 448 kB / 0.9193 GB, free: 4.516 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.1218, allocations: 152.9 kB / 0.9194 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/0.1219, allocations: 276 kB / 0.9197 GB, free: 4.082 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/0.122, allocations: 152.9 kB / 0.9198 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.122, allocations: 272 kB / 0.9201 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.1221, allocations: 148.9 kB / 0.9202 GB, free: 3.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.605e-05/0.1221, allocations: 123.2 kB / 0.9203 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1221, allocations: 0 / 0.9203 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002155/0.1223, allocations: 59.73 kB / 0.9204 GB, free: 3.32 MB / 0.8698 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.0002424/0.1225, allocations: 294.2 kB / 0.9207 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.529e-05/0.1226, allocations: 15.62 kB / 0.9207 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1226, allocations: 4 kB / 0.9207 GB, free: 3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.1226, allocations: 0 / 0.9207 GB, free: 3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.1229, allocations: 0.7178 MB / 0.9214 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.1233, allocations: 244.4 kB / 0.9216 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.924e-05/0.1233, allocations: 55.36 kB / 0.9217 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.319e-05/0.1233, allocations: 4.281 kB / 0.9217 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.1234, allocations: 82.17 kB / 0.9218 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of SimCode: time 7.52e-07/0.1234, allocations: 3.938 kB / 0.9218 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of Templates: time 0.00308/0.1265, allocations: 1.428 MB / 0.9232 GB, free: 436 kB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.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.934304017107934]