Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001556/0.001556, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00196/0.00196, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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 1.042/1.042, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.803/1.803, allocations: 359 MB / 0.6052 GB, free: 11 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.094e-05, allocations: 7.156 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004461/0.004482, allocations: 3.454 MB / 0.7905 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 7.63e-05/0.004558, allocations: 49.25 kB / 0.7905 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.004582, allocations: 0 / 0.7905 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.004691, allocations: 7.922 kB / 0.7905 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.589e-05/0.004767, allocations: 12.95 kB / 0.7905 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.005238, allocations: 222.3 kB / 0.7907 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.935e-05/0.005318, allocations: 35.84 kB / 0.7908 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.179e-05/0.00535, allocations: 4 kB / 0.7908 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.68e-05/0.005396, allocations: 23.91 kB / 0.7908 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.00546, allocations: 11.98 kB / 0.7908 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.005473, allocations: 1.656 kB / 0.7908 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.00569, allocations: 143.5 kB / 0.7909 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.046e-05/0.00573, allocations: 4 kB / 0.791 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.005751, allocations: 7.984 kB / 0.791 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.005943, allocations: 132.2 kB / 0.7911 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.005946, allocations: 4.719 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.72e-07/0.005947, allocations: 0 / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.005951, allocations: 0.5312 kB / 0.7911 GB, free: 8.41 MB / 0.7448 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.0003311/0.006282, allocations: 369.8 kB / 0.7914 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.006317, allocations: 12.02 kB / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.006361, allocations: 17.17 kB / 0.7915 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.556e-05/0.006436, allocations: 104.6 kB / 0.7916 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.006495, allocations: 56.53 kB / 0.7916 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.006508, allocations: 384 / 0.7916 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.006626, allocations: 77.25 kB / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.006633, allocations: 0.9688 kB / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.006643, allocations: 3.938 kB / 0.7917 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.006667, allocations: 1.156 kB / 0.7917 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.697e-05/0.006694, allocations: 19.97 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.007088, allocations: 295.6 kB / 0.792 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.283e-05/0.00712, allocations: 24.44 kB / 0.792 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.007136, allocations: 15.66 kB / 0.792 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.589e-05/0.007191, allocations: 35.98 kB / 0.7921 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.007215, allocations: 43.27 kB / 0.7921 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.007216, allocations: 0 / 0.7921 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001189/0.007335, allocations: 41.62 kB / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.007358, allocations: 55.41 kB / 0.7922 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.007427, allocations: 159.9 kB / 0.7924 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.007437, allocations: 25.7 kB / 0.7924 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.007481, allocations: 138.8 kB / 0.7925 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.007486, allocations: 3.953 kB / 0.7925 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.007509, allocations: 19.38 kB / 0.7925 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.007608, allocations: 0.4907 MB / 0.793 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-06/0.007618, allocations: 4 kB / 0.793 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/0.007635, allocations: 19.38 kB / 0.793 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.644e-05/0.007662, allocations: 27.31 kB / 0.7931 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.007663, allocations: 0 / 0.7931 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.158e-05/0.007715, allocations: 52.03 kB / 0.7931 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.007726, allocations: 9.875 kB / 0.7931 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.00773, allocations: 0 / 0.7931 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.007744, allocations: 0 / 0.7931 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.499e-05/0.007779, allocations: 4 kB / 0.7931 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.007785, allocations: 3.984 kB / 0.7931 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.311e-05/0.007798, allocations: 10.56 kB / 0.7931 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.007805, allocations: 0 / 0.7931 GB, free: 6.082 MB / 0.7448 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.7e-05/0.007862, allocations: 156.6 kB / 0.7933 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.007879, allocations: 7.891 kB / 0.7933 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.813e-05/0.007977, allocations: 163.7 kB / 0.7935 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.479e-05/0.008031, allocations: 272.5 kB / 0.7937 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.767e-05/0.008089, allocations: 269 kB / 0.794 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.858e-05/0.008158, allocations: 268 kB / 0.7942 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.008583, allocations: 0.492 MB / 0.7947 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-05/0.008617, allocations: 145.7 kB / 0.7949 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.008652, allocations: 148.8 kB / 0.795 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-05/0.00871, allocations: 273.1 kB / 0.7953 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.995e-05/0.00877, allocations: 268 kB / 0.7955 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.673e-05/0.008826, allocations: 272.1 kB / 0.7958 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.913e-05/0.008885, allocations: 272.9 kB / 0.796 GB, free: 3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.009001, allocations: 436 kB / 0.7964 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.009037, allocations: 158.2 kB / 0.7966 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.009104, allocations: 268.1 kB / 0.7969 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.774e-05/0.009202, allocations: 156.8 kB / 0.797 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.009262, allocations: 268.1 kB / 0.7973 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.009294, allocations: 150.3 kB / 0.7974 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.009336, allocations: 131.2 kB / 0.7975 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009336, allocations: 0 / 0.7975 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001903/0.009526, allocations: 43.03 kB / 0.7976 GB, free: 1.367 MB / 0.7448 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.0001994/0.009726, allocations: 284.2 kB / 0.7978 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.431e-05/0.00979, allocations: 19.69 kB / 0.7979 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009792, allocations: 0 / 0.7979 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.009793, allocations: 0 / 0.7979 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.0101, allocations: 0.7071 MB / 0.7985 GB, free: 356 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.01048, allocations: 238.6 kB / 0.7988 GB, free: 88 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.123e-05/0.01052, allocations: 59.28 kB / 0.7988 GB, free: 8 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.65e-05/0.01054, allocations: 6.469 kB / 0.7988 GB, free: 4 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.01057, allocations: 12.55 kB / 0.7989 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of SimCode: time 7.31e-07/0.01057, allocations: 0 / 0.7989 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of Templates: time 0.002693/0.01326, allocations: 1.169 MB / 0.8 GB, free: 14.88 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.324147428851575]