Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008703/0.008703, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001699/0.001699, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.8412/0.8412, allocations: 143 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 57.17 kB / 0.5955 GB, free: 12.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1932, allocations: 82.05 MB / 0.6756 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005235/0.1985, allocations: 3.297 MB / 0.6789 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001052/0.1986, allocations: 51.84 kB / 0.6789 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.1987, allocations: 4 kB / 0.6789 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.1988, allocations: 3.938 kB / 0.6789 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.489e-05/0.1989, allocations: 7.922 kB / 0.6789 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.1995, allocations: 191.3 kB / 0.6791 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.865e-05/0.1996, allocations: 35.86 kB / 0.6791 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.1996, allocations: 3.984 kB / 0.6791 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.387e-05/0.1997, allocations: 15.94 kB / 0.6792 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.1998, allocations: 11.98 kB / 0.6792 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1998, allocations: 7.984 kB / 0.6792 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.2001, allocations: 171.6 kB / 0.6793 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.2002, allocations: 4 kB / 0.6793 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.2002, allocations: 11.92 kB / 0.6794 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.2005, allocations: 143.7 kB / 0.6795 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2005, allocations: 0 / 0.6795 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2005, allocations: 0 / 0.6795 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.2006, allocations: 0 / 0.6795 GB, free: 6.48 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.0004935/0.201, allocations: 343.5 kB / 0.6798 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2011, allocations: 12.03 kB / 0.6798 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.2011, allocations: 4.938 kB / 0.6798 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.2013, allocations: 168.3 kB / 0.68 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.268e-05/0.2014, allocations: 26.27 kB / 0.68 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.2014, allocations: 8.312 kB / 0.68 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.2015, allocations: 49.61 kB / 0.6801 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2015, allocations: 4 kB / 0.6801 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2015, allocations: 0 / 0.6801 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.2016, allocations: 0 / 0.6801 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.446e-05/0.2016, allocations: 19.98 kB / 0.6801 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.2023, allocations: 0.5833 MB / 0.6807 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.2023, allocations: 22.52 kB / 0.6807 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.2024, allocations: 4.859 kB / 0.6807 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/0.2026, allocations: 348.5 kB / 0.681 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.2027, allocations: 38.56 kB / 0.6811 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.2027, allocations: 0 / 0.6811 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001601/0.2028, allocations: 29.7 kB / 0.6811 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.2029, allocations: 51.41 kB / 0.6811 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.203, allocations: 109.8 kB / 0.6813 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.203, allocations: 25.7 kB / 0.6813 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.203, allocations: 88.03 kB / 0.6814 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-06/0.203, allocations: 4 kB / 0.6814 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.2031, allocations: 25.73 kB / 0.6814 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2032, allocations: 326.7 kB / 0.6817 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.2032, allocations: 4 kB / 0.6817 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.2033, allocations: 13.72 kB / 0.6817 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.364e-05/0.2033, allocations: 25.7 kB / 0.6817 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2033, allocations: 0 / 0.6817 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.08e-05/0.2034, allocations: 45.64 kB / 0.6818 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2034, allocations: 7.984 kB / 0.6818 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2034, allocations: 4 kB / 0.6818 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2034, allocations: 0 / 0.6818 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.823e-05/0.2035, allocations: 8 kB / 0.6818 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.2035, allocations: 0 / 0.6818 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.2035, allocations: 7.938 kB / 0.6818 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-06/0.2035, allocations: 0 / 0.6818 GB, free: 3.723 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 8.381e-05/0.2036, allocations: 114.5 kB / 0.6819 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.2037, allocations: 7.938 kB / 0.6819 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.2038, allocations: 123.8 kB / 0.682 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.476e-05/0.2038, allocations: 176.3 kB / 0.6822 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.528e-05/0.2039, allocations: 180.2 kB / 0.6824 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.026e-05/0.204, allocations: 180.3 kB / 0.6826 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.2042, allocations: 421.1 kB / 0.683 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.004e-05/0.2042, allocations: 101 kB / 0.6831 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.2043, allocations: 105 kB / 0.6832 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.979e-05/0.2044, allocations: 180.2 kB / 0.6833 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-05/0.2044, allocations: 176.3 kB / 0.6835 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.156e-05/0.2045, allocations: 184.2 kB / 0.6837 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-05/0.2046, allocations: 188.2 kB / 0.6839 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.2048, allocations: 303.7 kB / 0.6841 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-05/0.2049, allocations: 182 kB / 0.6843 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.648e-05/0.205, allocations: 188.2 kB / 0.6845 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.2052, allocations: 121.2 kB / 0.6846 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.2052, allocations: 180.2 kB / 0.6848 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.2053, allocations: 105 kB / 0.6849 GB, free: 372 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.947e-05/0.2053, allocations: 87.27 kB / 0.685 GB, free: 284 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2053, allocations: 0 / 0.685 GB, free: 284 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002934/0.2056, allocations: 28 kB / 0.685 GB, free: 256 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.0003329/0.206, allocations: 250.3 kB / 0.6852 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.726e-05/0.2061, allocations: 11.94 kB / 0.6852 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2061, allocations: 0 / 0.6852 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.2061, allocations: 0 / 0.6852 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.2066, allocations: 459.6 kB / 0.6857 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.207, allocations: 170.2 kB / 0.6858 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.2073, allocations: 0.6807 MB / 0.6865 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.46e-05/0.2073, allocations: 5.875 kB / 0.6865 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.2073, allocations: 7.438 kB / 0.6865 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of SimCode: time 2.1e-07/0.2073, allocations: 0 / 0.6865 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of Templates: time 0.004126/0.2115, allocations: 1.26 MB / 0.6878 GB, free: 13.41 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)