Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.001304/0.001304, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00187/0.00187, allocations: 216 kB / 22.26 MB, free: 5.117 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 8.012 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.9748/0.9748, allocations: 145 MB / 457.4 MB, free: 15.48 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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.002028/0.002028, allocations: 72.77 kB / 0.6332 GB, free: 7.328 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1807, allocations: 87.87 MB / 0.719 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006576/0.1873, allocations: 4.139 MB / 0.723 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002428/0.1875, allocations: 167.4 kB / 0.7232 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.1876, allocations: 0 / 0.7232 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.1877, allocations: 7.922 kB / 0.7232 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.078e-05/0.1877, allocations: 11.92 kB / 0.7232 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.1881, allocations: 87.67 kB / 0.7233 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.358e-05/0.1882, allocations: 35.91 kB / 0.7233 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.1883, allocations: 4 kB / 0.7233 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.376e-05/0.1883, allocations: 15.92 kB / 0.7233 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.1884, allocations: 19.92 kB / 0.7233 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.1884, allocations: 0 / 0.7233 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.1886, allocations: 79.77 kB / 0.7234 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.1887, allocations: 4 kB / 0.7234 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.1887, allocations: 11.98 kB / 0.7234 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1889, allocations: 63.8 kB / 0.7235 GB, free: 10.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1889, allocations: 3.984 kB / 0.7235 GB, free: 10.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1889, allocations: 4 kB / 0.7235 GB, free: 10.78 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.1889, allocations: 4 kB / 0.7235 GB, free: 10.77 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.0003765/0.1893, allocations: 254.3 kB / 0.7237 GB, free: 10.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1893, allocations: 8.031 kB / 0.7238 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.1894, allocations: 30.75 kB / 0.7238 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.1894, allocations: 4.938 kB / 0.7238 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1895, allocations: 114.4 kB / 0.7239 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/0.1896, allocations: 55.97 kB / 0.7239 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.1896, allocations: 4.125 kB / 0.724 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.1897, allocations: 45.67 kB / 0.724 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1897, allocations: 0 / 0.724 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.1897, allocations: 0 / 0.724 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.1898, allocations: 7.984 kB / 0.724 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.616e-05/0.1898, allocations: 15.98 kB / 0.724 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.1902, allocations: 227.9 kB / 0.7242 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.447e-05/0.1903, allocations: 14.58 kB / 0.7243 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.1903, allocations: 16.91 kB / 0.7243 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.355e-05/0.1903, allocations: 11.98 kB / 0.7243 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1904, allocations: 30.56 kB / 0.7243 GB, free: 9.805 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1904, allocations: 0 / 0.7243 GB, free: 9.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000137/0.1905, allocations: 41.58 kB / 0.7243 GB, free: 9.758 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1906, allocations: 51.41 kB / 0.7244 GB, free: 9.695 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1907, allocations: 110 kB / 0.7245 GB, free: 9.578 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1907, allocations: 25.7 kB / 0.7245 GB, free: 9.547 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.1908, allocations: 84.09 kB / 0.7246 GB, free: 9.461 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.1908, allocations: 7.891 kB / 0.7246 GB, free: 9.453 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.1908, allocations: 21.7 kB / 0.7246 GB, free: 9.426 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.191, allocations: 314.8 kB / 0.7249 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.191, allocations: 4 kB / 0.7249 GB, free: 9.105 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/0.191, allocations: 21.7 kB / 0.725 GB, free: 9.078 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.705e-05/0.1911, allocations: 25.66 kB / 0.725 GB, free: 9.047 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1911, allocations: 4 kB / 0.725 GB, free: 9.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001151/0.1912, allocations: 45.69 kB / 0.725 GB, free: 8.992 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1912, allocations: 4 kB / 0.725 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1912, allocations: 4 kB / 0.725 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1912, allocations: 0 / 0.725 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.349e-05/0.1913, allocations: 4 kB / 0.725 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.1913, allocations: 8 kB / 0.725 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.1913, allocations: 3.938 kB / 0.7251 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.1913, allocations: 8 kB / 0.7251 GB, free: 8.961 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 9.477e-05/0.1914, allocations: 113.8 kB / 0.7252 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.1914, allocations: 4 kB / 0.7252 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.1916, allocations: 113 kB / 0.7253 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.582e-05/0.1916, allocations: 188.2 kB / 0.7255 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.234e-05/0.1917, allocations: 180.2 kB / 0.7256 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.632e-05/0.1918, allocations: 176.3 kB / 0.7258 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.1921, allocations: 388.1 kB / 0.7262 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.657e-05/0.1921, allocations: 105 kB / 0.7263 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.1922, allocations: 108.9 kB / 0.7264 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-05/0.1923, allocations: 180.3 kB / 0.7265 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.184e-05/0.1924, allocations: 180.2 kB / 0.7267 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.001e-05/0.1924, allocations: 180.2 kB / 0.7269 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-05/0.1925, allocations: 180.3 kB / 0.7271 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.1927, allocations: 311.7 kB / 0.7274 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.1928, allocations: 108.9 kB / 0.7275 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.1929, allocations: 184.3 kB / 0.7276 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1931, allocations: 104.9 kB / 0.7277 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/0.1931, allocations: 180.2 kB / 0.7279 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/0.1932, allocations: 109 kB / 0.728 GB, free: 5.742 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.536e-05/0.1933, allocations: 87.28 kB / 0.7281 GB, free: 5.656 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1933, allocations: 0 / 0.7281 GB, free: 5.656 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000276/0.1935, allocations: 19.88 kB / 0.7281 GB, free: 5.637 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.0005465/0.1941, allocations: 0.8281 MB / 0.7289 GB, free: 4.777 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.108e-05/0.1942, allocations: 8 kB / 0.7289 GB, free: 4.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.1942, allocations: 0 / 0.7289 GB, free: 4.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.1942, allocations: 3.938 kB / 0.7289 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.0004959/0.1947, allocations: 480.1 kB / 0.7294 GB, free: 4.297 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1959, allocations: 1.321 MB / 0.7307 GB, free: 2.891 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1962, allocations: 0.6768 MB / 0.7313 GB, free: 2.188 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.971e-05/0.1963, allocations: 4 kB / 0.7314 GB, free: 2.184 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.1963, allocations: 11.47 kB / 0.7314 GB, free: 2.172 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1963, allocations: 0 / 0.7314 GB, free: 2.172 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.2258, allocations: 1.599 MB / 0.7329 GB, free: 0.707 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.19, allocations: 5.266 kB / 0.7329 GB, free: 0.707 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.982923219213262] Failed to read output from testmodel.py, exit status != 0: 11.297199844149873 11.324606979 11.130348789 Calling exit ...