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.005299/0.005299, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001123/0.001123, allocations: 197.4 kB / 16.79 MB, free: 6.254 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.314/1.314, allocations: 222.9 MB / 240.5 MB, free: 4.582 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 0.9634/0.9634, allocations: 143 MB / 433.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 59.91 kB / 0.5141 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1499, allocations: 82.04 MB / 0.5943 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004628/0.1546, allocations: 3.345 MB / 0.5975 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001051/0.1547, allocations: 59.78 kB / 0.5976 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.655e-05/0.1547, allocations: 0 / 0.5976 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.1549, allocations: 0 / 0.5976 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.74e-05/0.1549, allocations: 15.86 kB / 0.5976 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.1554, allocations: 177.6 kB / 0.5978 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.358e-05/0.1555, allocations: 51.89 kB / 0.5978 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.1556, allocations: 4 kB / 0.5978 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.557e-05/0.1556, allocations: 11.98 kB / 0.5978 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.1557, allocations: 19.92 kB / 0.5979 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1557, allocations: 3.938 kB / 0.5979 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.156, allocations: 171.5 kB / 0.598 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.898e-05/0.1561, allocations: 7.984 kB / 0.598 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.1561, allocations: 8 kB / 0.598 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1563, allocations: 92.09 kB / 0.5981 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1563, allocations: 3.938 kB / 0.5981 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.92e-07/0.1563, allocations: 4 kB / 0.5981 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.1563, allocations: 0 / 0.5981 GB, free: 6.086 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.0004027/0.1567, allocations: 347.5 kB / 0.5985 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1568, allocations: 11.97 kB / 0.5985 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.1568, allocations: 4.844 kB / 0.5985 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.1569, allocations: 168.4 kB / 0.5986 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.157, allocations: 30.25 kB / 0.5987 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.157, allocations: 384 / 0.5987 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.1571, allocations: 53.61 kB / 0.5987 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1572, allocations: 0 / 0.5987 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1572, allocations: 4 kB / 0.5987 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.1572, allocations: 0 / 0.5987 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.142e-05/0.1572, allocations: 11.98 kB / 0.5987 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006286/0.1579, allocations: 0.595 MB / 0.5993 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.797e-05/0.1579, allocations: 14.58 kB / 0.5993 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.1579, allocations: 8.922 kB / 0.5993 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.1582, allocations: 340.4 kB / 0.5997 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1582, allocations: 30.56 kB / 0.5997 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1582, allocations: 0 / 0.5997 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001385/0.1584, allocations: 45.62 kB / 0.5997 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1584, allocations: 51.41 kB / 0.5998 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/0.1585, allocations: 101.8 kB / 0.5999 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1585, allocations: 29.7 kB / 0.5999 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.1586, allocations: 87.98 kB / 0.6 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.1586, allocations: 3.906 kB / 0.6 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.1586, allocations: 17.72 kB / 0.6 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1587, allocations: 322.9 kB / 0.6003 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.1587, allocations: 8 kB / 0.6003 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.1588, allocations: 17.72 kB / 0.6004 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.1588, allocations: 21.66 kB / 0.6004 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1588, allocations: 0 / 0.6004 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.432e-05/0.1589, allocations: 45.69 kB / 0.6004 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.1589, allocations: 4.062 kB / 0.6004 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1589, allocations: 4 kB / 0.6004 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1589, allocations: 4 kB / 0.6004 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.159, allocations: 11.92 kB / 0.6004 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.159, allocations: 0 / 0.6004 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.009e-05/0.159, allocations: 3.938 kB / 0.6004 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1591, allocations: 4 kB / 0.6004 GB, free: 3.332 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 6.546e-05/0.1591, allocations: 113.8 kB / 0.6006 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.1592, allocations: 4 kB / 0.6006 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1593, allocations: 120.9 kB / 0.6007 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.816e-05/0.1593, allocations: 188.2 kB / 0.6009 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.008e-05/0.1594, allocations: 176.3 kB / 0.601 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.973e-05/0.1595, allocations: 184.1 kB / 0.6012 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.1597, allocations: 413.2 kB / 0.6016 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.093e-05/0.1597, allocations: 105 kB / 0.6017 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.1598, allocations: 108.9 kB / 0.6018 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.378e-05/0.1598, allocations: 180.3 kB / 0.602 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.746e-05/0.1599, allocations: 180.2 kB / 0.6021 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.957e-05/0.16, allocations: 176.3 kB / 0.6023 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.153e-05/0.16, allocations: 180.3 kB / 0.6025 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.1602, allocations: 311.7 kB / 0.6028 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.1603, allocations: 186 kB / 0.603 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.806e-05/0.1604, allocations: 176.3 kB / 0.6031 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.1605, allocations: 117 kB / 0.6032 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.1606, allocations: 184.5 kB / 0.6034 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2401/0.4007, allocations: 101 kB / 0.6035 GB, free: 44.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.926e-05/0.4008, allocations: 84.05 kB / 0.6036 GB, free: 44.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4008, allocations: 1.641 kB / 0.6036 GB, free: 44.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003677/0.4012, allocations: 32.88 kB / 0.6036 GB, free: 44.7 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.0002684/0.4015, allocations: 235.2 kB / 0.6038 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.2e-05/0.4016, allocations: 12 kB / 0.6039 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4016, allocations: 0.5312 kB / 0.6039 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-06/0.4016, allocations: 3.125 kB / 0.6039 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.402, allocations: 0.5234 MB / 0.6044 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.4022, allocations: 204.4 kB / 0.6046 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.025e-05/0.4023, allocations: 0.6763 MB / 0.6052 GB, free: 43.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.4023, allocations: 10.94 kB / 0.6052 GB, free: 43.12 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.4023, allocations: 1.469 kB / 0.6052 GB, free: 43.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.002409/0.4047, allocations: 1.231 MB / 0.6064 GB, free: 43.04 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)