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.002135/0.002135, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001712/0.001712, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.789 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.9551/0.9551, allocations: 145 MB / 457.4 MB, free: 15.29 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.002027/0.002027, allocations: 62.38 kB / 0.6331 GB, free: 6.742 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1714, allocations: 87.89 MB / 0.7189 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005849/0.1772, allocations: 3.922 MB / 0.7227 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002034/0.1774, allocations: 131.6 kB / 0.7229 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.1774, allocations: 4 kB / 0.7229 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.614e-05/0.1775, allocations: 3.938 kB / 0.7229 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.519e-05/0.1776, allocations: 15.97 kB / 0.7229 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.178, allocations: 83.67 kB / 0.723 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.184e-05/0.1781, allocations: 31.92 kB / 0.723 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.1781, allocations: 3.938 kB / 0.723 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.1781, allocations: 15.92 kB / 0.723 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.158e-05/0.1782, allocations: 19.98 kB / 0.723 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1782, allocations: 0 / 0.723 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.1784, allocations: 59.8 kB / 0.7231 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.1785, allocations: 0 / 0.7231 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.1785, allocations: 19.91 kB / 0.7231 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.1787, allocations: 55.88 kB / 0.7232 GB, free: 10.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1787, allocations: 0 / 0.7232 GB, free: 10.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1787, allocations: 3.938 kB / 0.7232 GB, free: 10.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.1787, allocations: 3.938 kB / 0.7232 GB, free: 10.46 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.0004094/0.1791, allocations: 262.3 kB / 0.7234 GB, free: 10.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1791, allocations: 12.03 kB / 0.7234 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.1792, allocations: 30.75 kB / 0.7234 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.1792, allocations: 8.922 kB / 0.7235 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1793, allocations: 106.5 kB / 0.7236 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/0.1794, allocations: 55.97 kB / 0.7236 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.1794, allocations: 4.125 kB / 0.7236 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1796, allocations: 67.39 kB / 0.7237 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1796, allocations: 0 / 0.7237 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1796, allocations: 0 / 0.7237 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.1796, allocations: 4 kB / 0.7237 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.1796, allocations: 23.92 kB / 0.7237 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1801, allocations: 224 kB / 0.7239 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.961e-05/0.1801, allocations: 22.61 kB / 0.7239 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.1801, allocations: 4.859 kB / 0.7239 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.1802, allocations: 4.062 kB / 0.724 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1802, allocations: 38.56 kB / 0.724 GB, free: 9.465 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1802, allocations: 0 / 0.724 GB, free: 9.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001394/0.1803, allocations: 37.62 kB / 0.724 GB, free: 9.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1804, allocations: 55.41 kB / 0.7241 GB, free: 9.355 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/0.1805, allocations: 102 kB / 0.7242 GB, free: 9.246 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1805, allocations: 25.7 kB / 0.7242 GB, free: 9.215 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.1805, allocations: 100 kB / 0.7243 GB, free: 9.113 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-06/0.1805, allocations: 3.953 kB / 0.7243 GB, free: 9.109 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.1806, allocations: 17.72 kB / 0.7243 GB, free: 9.086 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1807, allocations: 314.8 kB / 0.7246 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.1807, allocations: 4 kB / 0.7246 GB, free: 8.766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.1808, allocations: 21.7 kB / 0.7246 GB, free: 8.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.55e-05/0.1808, allocations: 21.66 kB / 0.7247 GB, free: 8.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1808, allocations: 4 kB / 0.7247 GB, free: 8.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.966e-05/0.1809, allocations: 49.91 kB / 0.7247 GB, free: 8.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1809, allocations: 4 kB / 0.7247 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1809, allocations: 0 / 0.7247 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1809, allocations: 4 kB / 0.7247 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.067e-05/0.1809, allocations: 7.938 kB / 0.7247 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1809, allocations: 0 / 0.7247 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.181, allocations: 3.984 kB / 0.7247 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.181, allocations: 7.984 kB / 0.7247 GB, free: 8.625 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.188e-05/0.1811, allocations: 120.9 kB / 0.7249 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.1811, allocations: 8 kB / 0.7249 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.1812, allocations: 120.9 kB / 0.725 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.937e-05/0.1813, allocations: 184.2 kB / 0.7252 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.919e-05/0.1814, allocations: 176.3 kB / 0.7253 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.539e-05/0.1814, allocations: 188.2 kB / 0.7255 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.1817, allocations: 380.2 kB / 0.7259 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.466e-05/0.1817, allocations: 104.9 kB / 0.726 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.1818, allocations: 105 kB / 0.7261 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.771e-05/0.1819, allocations: 180.3 kB / 0.7262 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/0.1819, allocations: 184.2 kB / 0.7264 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.827e-05/0.182, allocations: 180.2 kB / 0.7266 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.687e-05/0.1821, allocations: 184.2 kB / 0.7268 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.1823, allocations: 303.8 kB / 0.727 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.1823, allocations: 104.9 kB / 0.7271 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/0.1824, allocations: 184.2 kB / 0.7273 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1826, allocations: 108.9 kB / 0.7274 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.1827, allocations: 180.3 kB / 0.7276 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.1827, allocations: 105 kB / 0.7277 GB, free: 5.402 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.1828, allocations: 83.28 kB / 0.7278 GB, free: 5.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1828, allocations: 4 kB / 0.7278 GB, free: 5.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000251/0.183, allocations: 23.81 kB / 0.7278 GB, free: 5.293 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.0005081/0.1835, allocations: 0.8243 MB / 0.7286 GB, free: 4.438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.174e-05/0.1836, allocations: 11.94 kB / 0.7286 GB, free: 4.426 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1836, allocations: 0 / 0.7286 GB, free: 4.426 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.702e-06/0.1836, allocations: 8 kB / 0.7286 GB, free: 4.418 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.1841, allocations: 459.7 kB / 0.7291 GB, free: 3.965 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.1852, allocations: 1.325 MB / 0.7304 GB, free: 2.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.826e-05/0.1852, allocations: 63.34 kB / 0.7304 GB, free: 2.473 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.99e-05/0.1853, allocations: 4 kB / 0.7304 GB, free: 2.469 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.1853, allocations: 7.438 kB / 0.7304 GB, free: 2.461 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.1853, allocations: 0 / 0.7304 GB, free: 2.461 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.2127, allocations: 2.061 MB / 0.7324 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.37, allocations: 4.5 kB / 0.7324 GB, free: 0.543 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 & 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: 15.322562548331916] Failed to read output from testmodel.py, exit status != 0: 11.477825412061065 11.505291081 11.321522361 Calling exit ...