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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 213.8 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9268/0.9268, allocations: 145 MB / 457.4 MB, free: 15.26 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 70.83 kB / 0.6331 GB, free: 6.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1712, allocations: 87.89 MB / 0.7189 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00517/0.1764, allocations: 3.236 MB / 0.7221 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001101/0.1765, allocations: 51.86 kB / 0.7221 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.1765, allocations: 0 / 0.7221 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.1766, allocations: 3.938 kB / 0.7221 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.503e-05/0.1767, allocations: 19.92 kB / 0.7222 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005762/0.1773, allocations: 179.3 kB / 0.7223 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.951e-05/0.1773, allocations: 39.78 kB / 0.7224 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.1774, allocations: 8 kB / 0.7224 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.748e-05/0.1774, allocations: 19.97 kB / 0.7224 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.1775, allocations: 11.98 kB / 0.7224 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.1775, allocations: 0 / 0.7224 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.1778, allocations: 135.5 kB / 0.7225 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.1779, allocations: 7.938 kB / 0.7225 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.1779, allocations: 8 kB / 0.7225 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.1781, allocations: 123.7 kB / 0.7227 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1781, allocations: 4 kB / 0.7227 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1782, allocations: 0 / 0.7227 GB, free: 10.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.1782, allocations: 0 / 0.7227 GB, free: 10.96 MB / 0.545 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.0003809/0.1785, allocations: 266.3 kB / 0.7229 GB, free: 10.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1786, allocations: 12.03 kB / 0.7229 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.1786, allocations: 38.69 kB / 0.723 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.1786, allocations: 4.938 kB / 0.723 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.95e-05/0.1787, allocations: 114.4 kB / 0.7231 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/0.1788, allocations: 55.97 kB / 0.7231 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.1788, allocations: 8.109 kB / 0.7231 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.179, allocations: 67.38 kB / 0.7232 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.179, allocations: 4 kB / 0.7232 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.179, allocations: 0 / 0.7232 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.179, allocations: 4 kB / 0.7232 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.179, allocations: 15.98 kB / 0.7232 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.1795, allocations: 263.9 kB / 0.7235 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/0.1796, allocations: 18.58 kB / 0.7235 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.1796, allocations: 4.859 kB / 0.7235 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.1797, allocations: 39.97 kB / 0.7235 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1797, allocations: 34.56 kB / 0.7236 GB, free: 9.875 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1797, allocations: 0 / 0.7236 GB, free: 9.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001336/0.1799, allocations: 37.58 kB / 0.7236 GB, free: 9.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.1799, allocations: 63.52 kB / 0.7237 GB, free: 9.758 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/0.18, allocations: 97.86 kB / 0.7238 GB, free: 9.652 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.18, allocations: 25.7 kB / 0.7238 GB, free: 9.621 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.1801, allocations: 92.09 kB / 0.7239 GB, free: 9.527 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.1801, allocations: 7.938 kB / 0.7239 GB, free: 9.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1801, allocations: 13.72 kB / 0.7239 GB, free: 9.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1802, allocations: 318.8 kB / 0.7242 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.1803, allocations: 4 kB / 0.7242 GB, free: 9.176 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.806e-05/0.1803, allocations: 21.7 kB / 0.7242 GB, free: 9.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.05e-05/0.1803, allocations: 25.66 kB / 0.7243 GB, free: 9.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1803, allocations: 4 kB / 0.7243 GB, free: 9.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.829e-05/0.1804, allocations: 45.69 kB / 0.7243 GB, free: 9.062 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1804, allocations: 4 kB / 0.7243 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1804, allocations: 0 / 0.7243 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1804, allocations: 4 kB / 0.7243 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.897e-05/0.1805, allocations: 7.938 kB / 0.7243 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1805, allocations: 0 / 0.7243 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.1805, allocations: 3.938 kB / 0.7243 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1805, allocations: 4 kB / 0.7243 GB, free: 9.039 MB / 0.545 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 7.918e-05/0.1806, allocations: 117.8 kB / 0.7244 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.1806, allocations: 4 kB / 0.7244 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.1808, allocations: 117 kB / 0.7246 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.741e-05/0.1808, allocations: 188.2 kB / 0.7247 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.798e-05/0.1809, allocations: 180.2 kB / 0.7249 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.942e-05/0.181, allocations: 184.2 kB / 0.7251 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.1812, allocations: 380.2 kB / 0.7254 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-05/0.1813, allocations: 101 kB / 0.7255 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.1813, allocations: 104.9 kB / 0.7256 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.227e-05/0.1814, allocations: 180.3 kB / 0.7258 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.168e-05/0.1815, allocations: 188.2 kB / 0.726 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-05/0.1816, allocations: 180.2 kB / 0.7262 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.74e-05/0.1816, allocations: 184.5 kB / 0.7263 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.1818, allocations: 311.7 kB / 0.7266 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.1819, allocations: 108.9 kB / 0.7267 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.146e-05/0.182, allocations: 184.2 kB / 0.7269 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.1821, allocations: 109 kB / 0.727 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.1822, allocations: 180.2 kB / 0.7272 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.775e-05/0.1822, allocations: 101 kB / 0.7273 GB, free: 5.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.298e-05/0.1823, allocations: 91.27 kB / 0.7274 GB, free: 5.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1823, allocations: 4 kB / 0.7274 GB, free: 5.715 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002969/0.1826, allocations: 39.81 kB / 0.7274 GB, free: 5.676 MB / 0.545 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.0006034/0.1832, allocations: 0.8728 MB / 0.7283 GB, free: 4.773 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.802e-05/0.1833, allocations: 4 kB / 0.7283 GB, free: 4.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1833, allocations: 0 / 0.7283 GB, free: 4.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.1833, allocations: 3.938 kB / 0.7283 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.1838, allocations: 467.7 kB / 0.7287 GB, free: 4.305 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.1849, allocations: 1.325 MB / 0.73 GB, free: 2.895 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.185, allocations: 59.34 kB / 0.7301 GB, free: 2.816 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.04e-05/0.185, allocations: 10.62 kB / 0.7301 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.1851, allocations: 11.44 kB / 0.7301 GB, free: 2.797 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.1851, allocations: 0 / 0.7301 GB, free: 2.797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.2143, allocations: 2.738 MB / 0.7328 GB, free: 260 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.49, allocations: 2.125 kB / 0.7328 GB, free: 260 kB / 0.545 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.243085254915059] Failed to read output from testmodel.py, exit status != 0: 11.594608190003783 11.616008182 11.433803666 Calling exit ...