Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.438/1.438, allocations: 288.4 MB / 303.6 MB, free: 8.828 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008699/0.0008699, allocations: 175.8 kB / 372.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.09/1.09, allocations: 205.4 MB / 0.631 GB, free: 13.52 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006487/0.0006489, allocations: 91.98 kB / 0.7443 GB, free: 64.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.000314, allocations: 12 kB / 0.8676 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1652, allocations: 115.3 MB / 0.9802 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.002945/0.1682, allocations: 2.895 MB / 0.983 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 7.486e-05/0.1682, allocations: 47.89 kB / 0.983 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.65e-05/0.1683, allocations: 3.938 kB / 0.9831 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.327e-05/0.1684, allocations: 0 / 0.9831 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.173e-05/0.1684, allocations: 19.92 kB / 0.9831 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.1688, allocations: 147.4 kB / 0.9832 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.663e-05/0.1689, allocations: 47.83 kB / 0.9833 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.782e-05/0.1689, allocations: 0 / 0.9833 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.801e-05/0.169, allocations: 11.98 kB / 0.9833 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.169, allocations: 15.92 kB / 0.9833 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.687e-06/0.169, allocations: 0 / 0.9833 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.1693, allocations: 167.5 kB / 0.9834 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.1694, allocations: 7.938 kB / 0.9835 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.1694, allocations: 37.69 kB / 0.9835 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1696, allocations: 88.11 kB / 0.9836 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1696, allocations: 4 kB / 0.9836 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1696, allocations: 0 / 0.9836 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.1696, allocations: 0 / 0.9836 GB, free: 9.504 MB / 0.7136 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.0003098/0.1699, allocations: 335.5 kB / 0.9839 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1699, allocations: 8.031 kB / 0.9839 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.17, allocations: 38.75 kB / 0.9839 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.389e-05/0.17, allocations: 4.938 kB / 0.9839 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.449e-05/0.1701, allocations: 172.3 kB / 0.9841 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.1702, allocations: 34.2 kB / 0.9841 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-06/0.1702, allocations: 4.125 kB / 0.9841 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.1703, allocations: 41.69 kB / 0.9842 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.1703, allocations: 3.938 kB / 0.9842 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.1703, allocations: 0 / 0.9842 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.1703, allocations: 8 kB / 0.9842 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.737e-05/0.1704, allocations: 11.98 kB / 0.9842 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.1709, allocations: 0.5833 MB / 0.9848 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.937e-05/0.1709, allocations: 22.52 kB / 0.9848 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.115e-05/0.1709, allocations: 4.859 kB / 0.9848 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.1711, allocations: 344.4 kB / 0.9851 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.1712, allocations: 42.56 kB / 0.9852 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.1712, allocations: 0 / 0.9852 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001133/0.1713, allocations: 33.64 kB / 0.9852 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.1713, allocations: 51.41 kB / 0.9853 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.061e-05/0.1714, allocations: 109.8 kB / 0.9854 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.1714, allocations: 25.7 kB / 0.9854 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.1714, allocations: 80.14 kB / 0.9855 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-06/0.1715, allocations: 11.84 kB / 0.9855 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.1715, allocations: 4.125 kB / 0.9855 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.1715, allocations: 322.8 kB / 0.9858 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.1716, allocations: 0 / 0.9858 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.1716, allocations: 13.72 kB / 0.9858 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.828e-05/0.1716, allocations: 21.72 kB / 0.9858 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1716, allocations: 0 / 0.9858 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.547e-05/0.1717, allocations: 53.62 kB / 0.9859 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1717, allocations: 8 kB / 0.9859 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1717, allocations: 0 / 0.9859 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1717, allocations: 0 / 0.9859 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.853e-05/0.1718, allocations: 7.984 kB / 0.9859 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1718, allocations: 0 / 0.9859 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.1718, allocations: 4 kB / 0.9859 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1718, allocations: 3.938 kB / 0.9859 GB, free: 6.742 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/0.1719, allocations: 129.7 kB / 0.986 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.1719, allocations: 0 / 0.986 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.89e-05/0.172, allocations: 126.8 kB / 0.9861 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-05/0.1721, allocations: 180.2 kB / 0.9863 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-05/0.1721, allocations: 176.3 kB / 0.9865 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.064e-05/0.1722, allocations: 184.3 kB / 0.9867 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.1723, allocations: 413.1 kB / 0.987 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-05/0.1724, allocations: 105 kB / 0.9871 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.1724, allocations: 108.9 kB / 0.9872 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-05/0.1724, allocations: 180.5 kB / 0.9874 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.1725, allocations: 180.3 kB / 0.9876 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.49e-05/0.1725, allocations: 192.2 kB / 0.9878 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-05/0.1726, allocations: 176.3 kB / 0.9879 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.747e-05/0.1727, allocations: 315.9 kB / 0.9882 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.1727, allocations: 182.1 kB / 0.9884 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.1728, allocations: 188.2 kB / 0.9886 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.1729, allocations: 109 kB / 0.9887 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.173, allocations: 184.2 kB / 0.9889 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.173, allocations: 101 kB / 0.989 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.505e-05/0.1731, allocations: 83.27 kB / 0.9891 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.1731, allocations: 0 / 0.9891 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000236/0.1733, allocations: 35.94 kB / 0.9891 GB, free: 3.242 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003895/0.1737, allocations: 0.8711 MB / 0.9899 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.35e-05/0.1738, allocations: 12 kB / 0.99 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1738, allocations: 0 / 0.99 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.1738, allocations: 0 / 0.99 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1741, allocations: 0.5264 MB / 0.9905 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.1745, allocations: 253.3 kB / 0.9907 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.1746, allocations: 0.677 MB / 0.9914 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.538e-05/0.1747, allocations: 6.953 kB / 0.9914 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.1747, allocations: 7.438 kB / 0.9914 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.1747, allocations: 4 kB / 0.9914 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3432/0.5179, allocations: 1.863 MB / 0.9932 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/0.5182, allocations: 244.5 kB / 0.9934 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.384, allocations: 0 / 0.9934 GB, free: 14.81 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)