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.001084/0.001084, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00841/0.00841, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.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 1.069/1.069, allocations: 143.2 MB / 434.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.000375, allocations: 8 kB / 0.5164 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1774, allocations: 83.41 MB / 0.5978 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003825/0.1813, allocations: 2.991 MB / 0.6008 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001008/0.1814, allocations: 55.84 kB / 0.6008 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.392e-05/0.1814, allocations: 0 / 0.6008 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.465e-05/0.1815, allocations: 0 / 0.6008 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.348e-05/0.1816, allocations: 7.938 kB / 0.6008 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.1821, allocations: 177.3 kB / 0.601 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.1822, allocations: 51.89 kB / 0.601 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.1823, allocations: 4 kB / 0.601 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.533e-05/0.1823, allocations: 23.84 kB / 0.6011 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.948e-05/0.1824, allocations: 15.98 kB / 0.6011 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1824, allocations: 4 kB / 0.6011 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.1828, allocations: 167.5 kB / 0.6012 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.1828, allocations: 7.938 kB / 0.6013 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.1829, allocations: 41.62 kB / 0.6013 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.1831, allocations: 132 kB / 0.6014 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1831, allocations: 0 / 0.6014 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1831, allocations: 0 / 0.6014 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.1831, allocations: 0 / 0.6014 GB, free: 4.055 MB / 0.4981 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.000391/0.1835, allocations: 343.5 kB / 0.6017 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1836, allocations: 8.031 kB / 0.6018 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.1836, allocations: 8.844 kB / 0.6018 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1838, allocations: 168.3 kB / 0.6019 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.341e-05/0.1838, allocations: 26.27 kB / 0.602 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.1839, allocations: 8.344 kB / 0.602 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.184, allocations: 49.61 kB / 0.602 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.184, allocations: 4 kB / 0.602 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.184, allocations: 0 / 0.602 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.1841, allocations: 4 kB / 0.602 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.817e-05/0.1841, allocations: 15.98 kB / 0.602 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007153/0.1848, allocations: 0.5872 MB / 0.6026 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.016e-05/0.1849, allocations: 22.58 kB / 0.6026 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.1849, allocations: 4.922 kB / 0.6026 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/0.1852, allocations: 340.4 kB / 0.603 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1852, allocations: 34.56 kB / 0.603 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.1852, allocations: 3.938 kB / 0.603 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.1854, allocations: 45.62 kB / 0.603 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.1854, allocations: 51.41 kB / 0.6031 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.383e-05/0.1855, allocations: 97.86 kB / 0.6032 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1855, allocations: 29.7 kB / 0.6032 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.1856, allocations: 88.03 kB / 0.6033 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/0.1856, allocations: 4.031 kB / 0.6033 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.1856, allocations: 13.72 kB / 0.6033 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1858, allocations: 326.7 kB / 0.6036 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.1858, allocations: 0 / 0.6036 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/0.1858, allocations: 17.7 kB / 0.6036 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.1859, allocations: 25.66 kB / 0.6037 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1859, allocations: 0 / 0.6037 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.723e-05/0.186, allocations: 49.69 kB / 0.6037 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.186, allocations: 4 kB / 0.6037 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.186, allocations: 4 kB / 0.6037 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.186, allocations: 0 / 0.6037 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.676e-05/0.1861, allocations: 4 kB / 0.6037 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1861, allocations: 3.938 kB / 0.6037 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.1861, allocations: 3.938 kB / 0.6037 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1861, allocations: 4 kB / 0.6037 GB, free: 1.305 MB / 0.4981 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.459e-05/0.1862, allocations: 117.8 kB / 0.6038 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.1862, allocations: 4 kB / 0.6038 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.1864, allocations: 122.8 kB / 0.604 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-05/0.1865, allocations: 180.2 kB / 0.6041 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.123e-05/0.1865, allocations: 180.2 kB / 0.6043 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.549e-05/0.1866, allocations: 176.3 kB / 0.6045 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.1868, allocations: 417.1 kB / 0.6049 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.3276/0.5144, allocations: 101 kB / 0.605 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.924e-05/0.5145, allocations: 103.5 kB / 0.6051 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.689e-05/0.5145, allocations: 179.5 kB / 0.6052 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.5146, allocations: 178.3 kB / 0.6054 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.601e-05/0.5146, allocations: 183.7 kB / 0.6056 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.712e-05/0.5147, allocations: 180.2 kB / 0.6058 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.5148, allocations: 312.4 kB / 0.6061 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.5149, allocations: 182.4 kB / 0.6062 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.515, allocations: 185.1 kB / 0.6064 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.5152, allocations: 109 kB / 0.6065 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.5152, allocations: 186.3 kB / 0.6067 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.5152, allocations: 103.8 kB / 0.6068 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.191e-05/0.5153, allocations: 84.22 kB / 0.6069 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5153, allocations: 2.469 kB / 0.6069 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004036/0.5157, allocations: 35.3 kB / 0.6069 GB, free: 39.47 MB / 0.4981 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.0003122/0.516, allocations: 233.6 kB / 0.6071 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.6e-05/0.5161, allocations: 13.39 kB / 0.6071 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5162, allocations: 3.188 kB / 0.6071 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/0.5162, allocations: 1.062 kB / 0.6071 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.5166, allocations: 0.5247 MB / 0.6077 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.5169, allocations: 194.9 kB / 0.6078 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.517, allocations: 0.675 MB / 0.6085 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.546e-05/0.5171, allocations: 9.703 kB / 0.6085 GB, free: 37.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.5171, allocations: 7.438 kB / 0.6085 GB, free: 37.91 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.5171, allocations: 1.688 kB / 0.6085 GB, free: 37.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.003336/0.5204, allocations: 1.232 MB / 0.6097 GB, free: 37.8 MB / 0.4981 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)