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.001829/0.001829, allocations: 100.8 kB / 16.45 MB, free: 6.449 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.00217/0.00217, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.9065/0.9065, allocations: 145 MB / 453.8 MB, free: 0.7305 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="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.001985/0.001985, allocations: 65.77 kB / 0.628 GB, free: 10.65 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1936, allocations: 87.82 MB / 0.7138 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006842/0.2005, allocations: 3.372 MB / 0.7171 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001479/0.2006, allocations: 55.8 kB / 0.7171 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.2007, allocations: 0 / 0.7171 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.2008, allocations: 3.938 kB / 0.7171 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.2009, allocations: 19.91 kB / 0.7172 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007156/0.2016, allocations: 185.9 kB / 0.7173 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.2017, allocations: 31.84 kB / 0.7174 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.2018, allocations: 8 kB / 0.7174 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.117e-05/0.2018, allocations: 12 kB / 0.7174 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.2019, allocations: 19.91 kB / 0.7174 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.2019, allocations: 7.938 kB / 0.7174 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003921/0.2023, allocations: 179.5 kB / 0.7176 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.2024, allocations: 3.984 kB / 0.7176 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.2024, allocations: 12 kB / 0.7176 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.2028, allocations: 135.9 kB / 0.7177 GB, free: 14.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2028, allocations: 0 / 0.7177 GB, free: 14.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2028, allocations: 0 / 0.7177 GB, free: 14.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.2028, allocations: 0 / 0.7177 GB, free: 14.79 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.0005207/0.2033, allocations: 351.2 kB / 0.7181 GB, free: 14.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.2034, allocations: 16.03 kB / 0.7181 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.752e-05/0.2034, allocations: 30.75 kB / 0.7181 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.2034, allocations: 4.875 kB / 0.7181 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.2036, allocations: 168.3 kB / 0.7183 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/0.2037, allocations: 34.25 kB / 0.7183 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.2037, allocations: 4.125 kB / 0.7183 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.2038, allocations: 45.61 kB / 0.7184 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2038, allocations: 4 kB / 0.7184 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.2038, allocations: 0 / 0.7184 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.2039, allocations: 4 kB / 0.7184 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.225e-05/0.2039, allocations: 19.92 kB / 0.7184 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000756/0.2047, allocations: 0.5833 MB / 0.719 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/0.2047, allocations: 14.58 kB / 0.719 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.2047, allocations: 4.859 kB / 0.719 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004268/0.2052, allocations: 340.5 kB / 0.7193 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.2052, allocations: 38.56 kB / 0.7193 GB, free: 12.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.2052, allocations: 0 / 0.7193 GB, free: 12.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001905/0.2054, allocations: 41.62 kB / 0.7194 GB, free: 12.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.2054, allocations: 51.41 kB / 0.7194 GB, free: 12.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.2055, allocations: 102 kB / 0.7195 GB, free: 12.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.2056, allocations: 29.69 kB / 0.7196 GB, free: 12.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.2056, allocations: 92.03 kB / 0.7196 GB, free: 12.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.825e-06/0.2056, allocations: 8.078 kB / 0.7196 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.2057, allocations: 17.72 kB / 0.7197 GB, free: 12.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2058, allocations: 314.8 kB / 0.72 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.2059, allocations: 7.984 kB / 0.72 GB, free: 12.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.2059, allocations: 21.75 kB / 0.72 GB, free: 12.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.2059, allocations: 17.66 kB / 0.72 GB, free: 12.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2059, allocations: 4 kB / 0.72 GB, free: 12.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.761e-05/0.206, allocations: 49.69 kB / 0.7201 GB, free: 12.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.206, allocations: 4 kB / 0.7201 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.206, allocations: 3.938 kB / 0.7201 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2061, allocations: 0 / 0.7201 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.2061, allocations: 15.98 kB / 0.7201 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2061, allocations: 0 / 0.7201 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.2061, allocations: 0 / 0.7201 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2062, allocations: 7.938 kB / 0.7201 GB, free: 11.98 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 0.0001006/0.2063, allocations: 117.8 kB / 0.7202 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.2063, allocations: 0 / 0.7202 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.2064, allocations: 119 kB / 0.7203 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001859/0.2066, allocations: 180.2 kB / 0.7205 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-05/0.2067, allocations: 184.3 kB / 0.7207 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001016/0.2068, allocations: 188.3 kB / 0.7208 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.2072, allocations: 409.1 kB / 0.7212 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.604e-05/0.2073, allocations: 108.9 kB / 0.7213 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.2073, allocations: 104.9 kB / 0.7214 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.535e-05/0.2074, allocations: 180.2 kB / 0.7216 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-05/0.2075, allocations: 184.2 kB / 0.7218 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-05/0.2076, allocations: 180.3 kB / 0.722 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-05/0.2076, allocations: 180.2 kB / 0.7221 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.2078, allocations: 307.8 kB / 0.7224 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.2079, allocations: 186 kB / 0.7226 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.208, allocations: 184.3 kB / 0.7228 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.2082, allocations: 116.9 kB / 0.7229 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.2083, allocations: 176.3 kB / 0.7231 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/0.2084, allocations: 101 kB / 0.7232 GB, free: 8.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.624e-05/0.2084, allocations: 83.27 kB / 0.7232 GB, free: 8.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2084, allocations: 0 / 0.7232 GB, free: 8.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003547/0.2088, allocations: 39.81 kB / 0.7233 GB, free: 8.504 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.0007981/0.2096, allocations: 0.8671 MB / 0.7241 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.446e-05/0.2097, allocations: 12 kB / 0.7241 GB, free: 7.594 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2097, allocations: 0 / 0.7241 GB, free: 7.594 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.2097, allocations: 3.938 kB / 0.7241 GB, free: 7.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.2103, allocations: 460 kB / 0.7246 GB, free: 7.137 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.2118, allocations: 1.34 MB / 0.7259 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.2122, allocations: 0.669 MB / 0.7265 GB, free: 5.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.148e-05/0.2122, allocations: 14.17 kB / 0.7265 GB, free: 5.004 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.2122, allocations: 11.44 kB / 0.7266 GB, free: 4.992 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.2122, allocations: 0 / 0.7266 GB, free: 4.992 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.2419, allocations: 2.238 MB / 0.7287 GB, free: 2.965 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.277, allocations: 0 / 0.7287 GB, free: 2.965 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.069140210995101] Failed to read output from testmodel.py, exit status != 0: 8.34531300899107 8.372688192 8.165163585 Calling exit ...