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.001242/0.001242, allocations: 105.7 kB / 16.45 MB, free: 6.5 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.001334/0.001334, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.461/1.461, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.9582/0.9582, allocations: 145 MB / 453.8 MB, free: 1.062 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.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.001973/0.001973, allocations: 62.34 kB / 0.628 GB, free: 10.87 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1811, allocations: 87.81 MB / 0.7138 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005966/0.1871, allocations: 4.107 MB / 0.7178 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002617/0.1873, allocations: 171.5 kB / 0.7179 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.1873, allocations: 0 / 0.7179 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.1875, allocations: 0 / 0.7179 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.756e-05/0.1875, allocations: 11.92 kB / 0.718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.1879, allocations: 90.38 kB / 0.718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.478e-05/0.188, allocations: 31.91 kB / 0.7181 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.188, allocations: 0 / 0.7181 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.188, allocations: 16 kB / 0.7181 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.1881, allocations: 15.91 kB / 0.7181 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1881, allocations: 4 kB / 0.7181 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.1883, allocations: 79.72 kB / 0.7182 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.1884, allocations: 3.984 kB / 0.7182 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.1884, allocations: 15.98 kB / 0.7182 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1885, allocations: 64.92 kB / 0.7183 GB, free: 14.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1885, allocations: 0 / 0.7183 GB, free: 14.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1885, allocations: 4 kB / 0.7183 GB, free: 14.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.1885, allocations: 0 / 0.7183 GB, free: 14.43 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.0004199/0.189, allocations: 333.2 kB / 0.7186 GB, free: 14.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.189, allocations: 12.03 kB / 0.7186 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.189, allocations: 38.73 kB / 0.7186 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.1891, allocations: 0.9375 kB / 0.7186 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1892, allocations: 168.3 kB / 0.7188 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.539e-05/0.1893, allocations: 30.27 kB / 0.7188 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.1893, allocations: 4.125 kB / 0.7188 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1894, allocations: 49.66 kB / 0.7189 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1894, allocations: 0 / 0.7189 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1894, allocations: 7.938 kB / 0.7189 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.1894, allocations: 4 kB / 0.7189 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.403e-05/0.1895, allocations: 11.98 kB / 0.7189 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.1899, allocations: 334 kB / 0.7192 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.481e-05/0.19, allocations: 22.52 kB / 0.7192 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.668e-05/0.19, allocations: 8.922 kB / 0.7192 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.837e-05/0.1901, allocations: 89.09 kB / 0.7193 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.1901, allocations: 30.56 kB / 0.7194 GB, free: 13.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1901, allocations: 0 / 0.7194 GB, free: 13.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.1903, allocations: 37.64 kB / 0.7194 GB, free: 13.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.1903, allocations: 51.41 kB / 0.7194 GB, free: 12.99 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.1904, allocations: 113.8 kB / 0.7195 GB, free: 12.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1904, allocations: 29.7 kB / 0.7196 GB, free: 12.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.1905, allocations: 84.09 kB / 0.7197 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.255e-06/0.1905, allocations: 3.953 kB / 0.7197 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.1905, allocations: 21.7 kB / 0.7197 GB, free: 12.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1907, allocations: 314.8 kB / 0.72 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.1907, allocations: 4 kB / 0.72 GB, free: 12.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.1908, allocations: 21.7 kB / 0.72 GB, free: 12.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/0.1908, allocations: 17.72 kB / 0.72 GB, free: 12.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1908, allocations: 7.938 kB / 0.72 GB, free: 12.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001025/0.1909, allocations: 45.69 kB / 0.7201 GB, free: 12.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1909, allocations: 4 kB / 0.7201 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1909, allocations: 0 / 0.7201 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1909, allocations: 4 kB / 0.7201 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.045e-05/0.191, allocations: 4.062 kB / 0.7201 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.191, allocations: 4 kB / 0.7201 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.191, allocations: 3.938 kB / 0.7201 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.191, allocations: 4 kB / 0.7201 GB, free: 12.27 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.349e-05/0.1911, allocations: 113.8 kB / 0.7202 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.1911, allocations: 3.984 kB / 0.7202 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.1912, allocations: 117 kB / 0.7203 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.538e-05/0.1913, allocations: 192.2 kB / 0.7205 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.397e-05/0.1914, allocations: 184.2 kB / 0.7207 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.541e-05/0.1915, allocations: 176.3 kB / 0.7208 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.1918, allocations: 417 kB / 0.7212 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.253e-05/0.1918, allocations: 101 kB / 0.7213 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.1919, allocations: 104.9 kB / 0.7214 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.192, allocations: 184.3 kB / 0.7216 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.829e-05/0.1921, allocations: 176.3 kB / 0.7218 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-05/0.1922, allocations: 184.2 kB / 0.722 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.515e-05/0.1922, allocations: 176.3 kB / 0.7221 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.1924, allocations: 315.6 kB / 0.7224 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.1925, allocations: 186.1 kB / 0.7226 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.058e-05/0.1926, allocations: 180.2 kB / 0.7228 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.1928, allocations: 109.3 kB / 0.7229 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.1929, allocations: 180.2 kB / 0.7231 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/0.1929, allocations: 112.9 kB / 0.7232 GB, free: 8.898 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.047e-05/0.1929, allocations: 79.28 kB / 0.7232 GB, free: 8.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1929, allocations: 4 kB / 0.7232 GB, free: 8.816 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002601/0.1932, allocations: 23.88 kB / 0.7233 GB, free: 8.793 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.0005227/0.1937, allocations: 0.8243 MB / 0.7241 GB, free: 7.938 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.048e-05/0.1938, allocations: 12 kB / 0.7241 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1938, allocations: 0 / 0.7241 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.1938, allocations: 0 / 0.7241 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.1943, allocations: 467.6 kB / 0.7245 GB, free: 7.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.1955, allocations: 1.321 MB / 0.7258 GB, free: 6.059 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.1958, allocations: 0.6768 MB / 0.7265 GB, free: 5.355 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.854e-05/0.1958, allocations: 7.938 kB / 0.7265 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.1958, allocations: 7.438 kB / 0.7265 GB, free: 5.34 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.1958, allocations: 0 / 0.7265 GB, free: 5.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.2194, allocations: 1.51 MB / 0.728 GB, free: 3.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.368, allocations: 12.48 kB / 0.728 GB, free: 3.941 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion_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_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.170005754000158] Failed to read output from testmodel.py, exit status != 0: 8.436969360991498 8.451364083 8.260058677 Calling exit ...