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.001315/0.001315, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001383/0.001383, allocations: 215 kB / 20.13 MB, free: 2.949 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9415/0.9415, allocations: 144.9 MB / 454.5 MB, free: 10.05 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",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.001969/0.001969, allocations: 69.36 kB / 0.6287 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1794, allocations: 87.84 MB / 0.7145 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005685/0.1851, allocations: 3.364 MB / 0.7178 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001246/0.1853, allocations: 63.78 kB / 0.7178 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.1853, allocations: 4 kB / 0.7178 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.1854, allocations: 7.938 kB / 0.7178 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.468e-05/0.1855, allocations: 3.938 kB / 0.7178 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005901/0.1861, allocations: 183.3 kB / 0.718 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.143e-05/0.1862, allocations: 35.86 kB / 0.7181 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.1862, allocations: 11.98 kB / 0.7181 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.1862, allocations: 15.98 kB / 0.7181 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.127e-05/0.1863, allocations: 11.92 kB / 0.7181 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.1863, allocations: 3.938 kB / 0.7181 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.1867, allocations: 179.5 kB / 0.7183 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.1868, allocations: 11.98 kB / 0.7183 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.1868, allocations: 7.984 kB / 0.7183 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.1871, allocations: 138.7 kB / 0.7184 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1871, allocations: 4 kB / 0.7184 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1871, allocations: 0 / 0.7184 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1871, allocations: 8 kB / 0.7184 GB, free: 7.684 MB / 0.5294 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.0004988/0.1876, allocations: 347.3 kB / 0.7188 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1877, allocations: 8.031 kB / 0.7188 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.278e-05/0.1877, allocations: 192 / 0.7188 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.1877, allocations: 34.73 kB / 0.7188 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.1877, allocations: 4.938 kB / 0.7188 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1879, allocations: 164.3 kB / 0.719 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/0.188, allocations: 34.2 kB / 0.719 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.188, allocations: 7.938 kB / 0.719 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.1881, allocations: 41.69 kB / 0.719 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1881, allocations: 0 / 0.719 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1881, allocations: 3.938 kB / 0.719 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.1881, allocations: 4 kB / 0.719 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.1882, allocations: 19.91 kB / 0.7191 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006956/0.1889, allocations: 0.5833 MB / 0.7196 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.163e-05/0.1889, allocations: 22.58 kB / 0.7197 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.189, allocations: 4.859 kB / 0.7197 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/0.1892, allocations: 344.5 kB / 0.72 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.1893, allocations: 34.56 kB / 0.72 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1893, allocations: 0 / 0.72 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.1894, allocations: 33.64 kB / 0.7201 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.1895, allocations: 59.53 kB / 0.7201 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.1895, allocations: 105.8 kB / 0.7202 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1896, allocations: 25.7 kB / 0.7202 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.1896, allocations: 88.09 kB / 0.7203 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.1896, allocations: 11.89 kB / 0.7203 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.1897, allocations: 13.7 kB / 0.7203 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1898, allocations: 322.8 kB / 0.7207 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.1898, allocations: 0 / 0.7207 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.818e-05/0.1898, allocations: 21.7 kB / 0.7207 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.1899, allocations: 25.66 kB / 0.7207 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1899, allocations: 0 / 0.7207 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.315e-05/0.19, allocations: 49.62 kB / 0.7207 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.19, allocations: 8 kB / 0.7208 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.19, allocations: 0 / 0.7208 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.19, allocations: 4.062 kB / 0.7208 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.19, allocations: 8 kB / 0.7208 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.19, allocations: 3.938 kB / 0.7208 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.1901, allocations: 4 kB / 0.7208 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1901, allocations: 3.938 kB / 0.7208 GB, free: 4.879 MB / 0.5294 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 9.551e-05/0.1902, allocations: 113.8 kB / 0.7209 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.1902, allocations: 0 / 0.7209 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.1903, allocations: 122.9 kB / 0.721 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.128e-05/0.1904, allocations: 180.3 kB / 0.7212 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.577e-05/0.1905, allocations: 180.2 kB / 0.7213 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.772e-05/0.1906, allocations: 188.3 kB / 0.7215 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.1908, allocations: 409.1 kB / 0.7219 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-05/0.1909, allocations: 104.9 kB / 0.722 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.1909, allocations: 109 kB / 0.7221 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.854e-05/0.191, allocations: 176.3 kB / 0.7223 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-05/0.1911, allocations: 180.2 kB / 0.7225 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.587e-05/0.1911, allocations: 184.2 kB / 0.7226 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.338e-05/0.1912, allocations: 184.2 kB / 0.7228 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.1914, allocations: 311.7 kB / 0.7231 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.1915, allocations: 186 kB / 0.7233 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.1915, allocations: 184.3 kB / 0.7235 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.1917, allocations: 104.9 kB / 0.7236 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.615e-05/0.1918, allocations: 176.3 kB / 0.7237 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.1918, allocations: 113 kB / 0.7238 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.755e-05/0.1919, allocations: 87.22 kB / 0.7239 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1919, allocations: 0 / 0.7239 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000297/0.1922, allocations: 35.81 kB / 0.724 GB, free: 1.398 MB / 0.5294 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.0006304/0.1928, allocations: 0.8681 MB / 0.7248 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.212e-05/0.1929, allocations: 11.98 kB / 0.7248 GB, free: 500 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1929, allocations: 4.062 kB / 0.7248 GB, free: 496 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.1929, allocations: 4 kB / 0.7248 GB, free: 492 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.1934, allocations: 457.5 kB / 0.7253 GB, free: 32 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.1946, allocations: 1.344 MB / 0.7266 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1949, allocations: 0.6729 MB / 0.7272 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.393e-05/0.195, allocations: 5.562 kB / 0.7272 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.195, allocations: 11.44 kB / 0.7272 GB, free: 13.89 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.195, allocations: 0 / 0.7272 GB, free: 13.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.2145, allocations: 2.279 MB / 0.7295 GB, free: 11.85 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/8.647, allocations: 10.16 kB / 0.7295 GB, free: 11.84 MB / 0.545 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 12.493207100022119] Failed to read output from testmodel.py, exit status != 0: 8.774296318995766 8.797492526 8.606096912 Calling exit ...