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.001253/0.001253, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001674/0.001674, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 8.016 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.9302/0.9302, allocations: 145 MB / 457.4 MB, free: 15.51 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.002026/0.002026, allocations: 61.72 kB / 0.6332 GB, free: 7.309 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1779, allocations: 87.88 MB / 0.719 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005046/0.183, allocations: 3.407 MB / 0.7223 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001138/0.1831, allocations: 55.8 kB / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.1831, allocations: 0 / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.651e-05/0.1832, allocations: 4 kB / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.047e-05/0.1833, allocations: 19.91 kB / 0.7224 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000571/0.1839, allocations: 190 kB / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.658e-05/0.184, allocations: 39.84 kB / 0.7226 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.184, allocations: 4 kB / 0.7226 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.717e-05/0.184, allocations: 8 kB / 0.7226 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.1841, allocations: 27.91 kB / 0.7227 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.1841, allocations: 0 / 0.7227 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.1845, allocations: 183.5 kB / 0.7228 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.1845, allocations: 11.98 kB / 0.7228 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.1846, allocations: 7.938 kB / 0.7229 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.1848, allocations: 139.7 kB / 0.723 GB, free: 11.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1848, allocations: 0 / 0.723 GB, free: 11.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1848, allocations: 0 / 0.723 GB, free: 11.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.1848, allocations: 0 / 0.723 GB, free: 11.34 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.0003844/0.1852, allocations: 274.2 kB / 0.7232 GB, free: 11.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1853, allocations: 11.97 kB / 0.7233 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.1853, allocations: 38.75 kB / 0.7233 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.1853, allocations: 0.9375 kB / 0.7233 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1854, allocations: 110.5 kB / 0.7234 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.1855, allocations: 51.97 kB / 0.7235 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.1855, allocations: 3.938 kB / 0.7235 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1856, allocations: 45.62 kB / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1857, allocations: 4 kB / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.1857, allocations: 4 kB / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.1857, allocations: 0 / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.291e-05/0.1857, allocations: 15.92 kB / 0.7235 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.1862, allocations: 263.9 kB / 0.7238 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.136e-05/0.1863, allocations: 22.52 kB / 0.7238 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.1863, allocations: 8.859 kB / 0.7238 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.894e-05/0.1864, allocations: 36.03 kB / 0.7238 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.1864, allocations: 34.56 kB / 0.7239 GB, free: 10.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1864, allocations: 0 / 0.7239 GB, free: 10.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000152/0.1866, allocations: 41.69 kB / 0.7239 GB, free: 10.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.1866, allocations: 51.41 kB / 0.724 GB, free: 10.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.1867, allocations: 97.86 kB / 0.7241 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1867, allocations: 33.64 kB / 0.7241 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.1868, allocations: 92.19 kB / 0.7242 GB, free: 9.941 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-06/0.1868, allocations: 7.953 kB / 0.7242 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.1868, allocations: 17.72 kB / 0.7242 GB, free: 9.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1869, allocations: 314.8 kB / 0.7245 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.187, allocations: 4 kB / 0.7245 GB, free: 9.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/0.187, allocations: 17.7 kB / 0.7245 GB, free: 9.566 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.725e-05/0.187, allocations: 25.72 kB / 0.7245 GB, free: 9.535 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.187, allocations: 4 kB / 0.7245 GB, free: 9.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.955e-05/0.1871, allocations: 49.62 kB / 0.7246 GB, free: 9.477 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1871, allocations: 7.938 kB / 0.7246 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1871, allocations: 0 / 0.7246 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1871, allocations: 4 kB / 0.7246 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.31e-05/0.1872, allocations: 4 kB / 0.7246 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1872, allocations: 0 / 0.7246 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.1872, allocations: 0 / 0.7246 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1872, allocations: 11.92 kB / 0.7246 GB, free: 9.449 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 8.112e-05/0.1873, allocations: 115.2 kB / 0.7247 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.1873, allocations: 4.281 kB / 0.7247 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.1874, allocations: 112.9 kB / 0.7248 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.938e-05/0.1875, allocations: 188.2 kB / 0.725 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-05/0.1876, allocations: 184.3 kB / 0.7252 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.469e-05/0.1877, allocations: 184.3 kB / 0.7254 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.1879, allocations: 384.1 kB / 0.7257 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.02e-05/0.1879, allocations: 101 kB / 0.7258 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.188, allocations: 105 kB / 0.7259 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.326e-05/0.1881, allocations: 184.2 kB / 0.7261 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.543e-05/0.1882, allocations: 184.2 kB / 0.7263 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.125e-05/0.1882, allocations: 180.2 kB / 0.7265 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.131e-05/0.1883, allocations: 176.3 kB / 0.7266 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.1885, allocations: 311.7 kB / 0.7269 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.1885, allocations: 109 kB / 0.727 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.809e-05/0.1886, allocations: 188.1 kB / 0.7272 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.1888, allocations: 109 kB / 0.7273 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.1888, allocations: 188.2 kB / 0.7275 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.1889, allocations: 101 kB / 0.7276 GB, free: 6.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.032e-05/0.1889, allocations: 91.22 kB / 0.7277 GB, free: 6.125 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1889, allocations: 0 / 0.7277 GB, free: 6.125 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002934/0.1892, allocations: 43.86 kB / 0.7277 GB, free: 6.082 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.000565/0.1898, allocations: 0.8574 MB / 0.7286 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.364e-05/0.1899, allocations: 15.92 kB / 0.7286 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.1899, allocations: 0 / 0.7286 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.1899, allocations: 4 kB / 0.7286 GB, free: 5.176 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.1903, allocations: 459.8 kB / 0.729 GB, free: 4.723 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.1914, allocations: 1.329 MB / 0.7303 GB, free: 3.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1917, allocations: 0.6729 MB / 0.731 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.959e-05/0.1918, allocations: 9.875 kB / 0.731 GB, free: 2.602 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.1918, allocations: 15.42 kB / 0.731 GB, free: 2.586 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.1918, allocations: 0 / 0.731 GB, free: 2.586 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.2206, allocations: 2.284 MB / 0.7332 GB, free: 496 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.24, allocations: 3.5 kB / 0.7332 GB, free: 496 kB / 0.545 GB " [Timeout remaining time 649] (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.100769204000244] Failed to read output from testmodel.py, exit status != 0: 11.342833251001139 11.363205878 11.174298521 Calling exit ...