Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 106.7 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8244/0.8244, allocations: 143 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.58 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1845, allocations: 82.03 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007998/0.1925, allocations: 4.027 MB / 0.6802 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002858/0.1929, allocations: 159.5 kB / 0.6804 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.1929, allocations: 0 / 0.6804 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.193, allocations: 7.938 kB / 0.6804 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.1932, allocations: 15.91 kB / 0.6804 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.1937, allocations: 82.69 kB / 0.6805 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.1938, allocations: 31.91 kB / 0.6805 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.1939, allocations: 8 kB / 0.6805 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.722e-05/0.1939, allocations: 15.92 kB / 0.6805 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.194, allocations: 19.92 kB / 0.6805 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1941, allocations: 0 / 0.6805 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.1943, allocations: 51.81 kB / 0.6806 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.1944, allocations: 11.98 kB / 0.6806 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.1944, allocations: 11.92 kB / 0.6806 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1946, allocations: 43.91 kB / 0.6807 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1946, allocations: 0 / 0.6807 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1947, allocations: 0 / 0.6807 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.1947, allocations: 0 / 0.6807 GB, free: 5.871 MB / 0.5137 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.000498/0.1952, allocations: 331.6 kB / 0.681 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1952, allocations: 8.031 kB / 0.681 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.1953, allocations: 12.83 kB / 0.681 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.1955, allocations: 160.4 kB / 0.6811 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.8e-05/0.1956, allocations: 30.2 kB / 0.6812 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.1956, allocations: 12.34 kB / 0.6812 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1958, allocations: 45.62 kB / 0.6812 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1958, allocations: 4 kB / 0.6812 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1958, allocations: 3.938 kB / 0.6812 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.1959, allocations: 4 kB / 0.6812 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.623e-05/0.1959, allocations: 11.98 kB / 0.6813 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.1965, allocations: 334 kB / 0.6816 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.032e-05/0.1966, allocations: 22.52 kB / 0.6816 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.984e-05/0.1966, allocations: 4.859 kB / 0.6816 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.1968, allocations: 93.16 kB / 0.6817 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.1968, allocations: 30.56 kB / 0.6817 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.1968, allocations: 0 / 0.6817 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001853/0.197, allocations: 33.7 kB / 0.6817 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.1971, allocations: 55.34 kB / 0.6818 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/0.1972, allocations: 105.8 kB / 0.6819 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.1972, allocations: 25.7 kB / 0.6819 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.1973, allocations: 96.17 kB / 0.682 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.115e-06/0.1973, allocations: 3.906 kB / 0.682 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.1973, allocations: 17.7 kB / 0.682 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1975, allocations: 318.8 kB / 0.6823 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.1975, allocations: 4 kB / 0.6823 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.054e-05/0.1976, allocations: 21.64 kB / 0.6824 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.937e-05/0.1976, allocations: 21.72 kB / 0.6824 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1977, allocations: 0 / 0.6824 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001213/0.1978, allocations: 53.62 kB / 0.6824 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1978, allocations: 5.719 kB / 0.6824 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1978, allocations: 0 / 0.6824 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1978, allocations: 0 / 0.6824 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.1979, allocations: 8 kB / 0.6824 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1979, allocations: 0 / 0.6824 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.198, allocations: 0 / 0.6824 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.198, allocations: 8.062 kB / 0.6825 GB, free: 3.75 MB / 0.5137 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 0.0001107/0.1981, allocations: 113.7 kB / 0.6826 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.1982, allocations: 3.984 kB / 0.6826 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.1983, allocations: 117 kB / 0.6827 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.609e-05/0.1984, allocations: 176.3 kB / 0.6828 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-05/0.1985, allocations: 188.2 kB / 0.683 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-05/0.1986, allocations: 184.2 kB / 0.6832 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.199, allocations: 417.1 kB / 0.6836 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.478e-05/0.199, allocations: 104.9 kB / 0.6837 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.1991, allocations: 104.9 kB / 0.6838 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.598e-05/0.1992, allocations: 176.3 kB / 0.684 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.042e-05/0.1993, allocations: 184.3 kB / 0.6841 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-05/0.1994, allocations: 188.2 kB / 0.6843 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.431e-05/0.1995, allocations: 176.3 kB / 0.6845 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.1997, allocations: 307.6 kB / 0.6848 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-05/0.1998, allocations: 190.4 kB / 0.685 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.1999, allocations: 184.2 kB / 0.6851 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.2002, allocations: 105 kB / 0.6852 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.2003, allocations: 180.2 kB / 0.6854 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-05/0.2003, allocations: 109 kB / 0.6855 GB, free: 400 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.166e-05/0.2004, allocations: 83.28 kB / 0.6856 GB, free: 316 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2004, allocations: 0 / 0.6856 GB, free: 316 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000422/0.2008, allocations: 19.94 kB / 0.6856 GB, free: 296 kB / 0.5137 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.0003675/0.2012, allocations: 202.4 kB / 0.6858 GB, free: 84 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.58e-05/0.2013, allocations: 7.938 kB / 0.6858 GB, free: 76 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2014, allocations: 0 / 0.6858 GB, free: 76 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.442e-06/0.2014, allocations: 8 kB / 0.6858 GB, free: 68 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/0.202, allocations: 466.1 kB / 0.6863 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.2024, allocations: 203.6 kB / 0.6865 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.2027, allocations: 0.6768 MB / 0.6871 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.2028, allocations: 11.38 kB / 0.6871 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.2028, allocations: 0 / 0.6871 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of Templates: time 0.003145/0.2059, allocations: 0.7671 MB / 0.6879 GB, free: 13.9 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)