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.001383/0.001383, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001964/0.001964, allocations: 218.8 kB / 23.03 MB, free: 4.922 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9289/0.9289, allocations: 145 MB / 458.2 MB, free: 15.27 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.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.002014/0.002014, allocations: 70.41 kB / 0.6339 GB, free: 6.676 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1714, allocations: 87.89 MB / 0.7197 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005037/0.1765, allocations: 3.232 MB / 0.7228 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001146/0.1766, allocations: 51.88 kB / 0.7229 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.1766, allocations: 0 / 0.7229 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.1767, allocations: 11.92 kB / 0.7229 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.897e-05/0.1768, allocations: 7.938 kB / 0.7229 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005992/0.1774, allocations: 187.3 kB / 0.7231 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.595e-05/0.1775, allocations: 35.84 kB / 0.7231 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.94e-05/0.1776, allocations: 8 kB / 0.7231 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.1776, allocations: 11.98 kB / 0.7231 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.106e-05/0.1777, allocations: 23.92 kB / 0.7232 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.1777, allocations: 0 / 0.7232 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.178, allocations: 131.5 kB / 0.7233 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.178, allocations: 3.984 kB / 0.7233 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.1781, allocations: 11.98 kB / 0.7233 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.1783, allocations: 127.7 kB / 0.7234 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1783, allocations: 0 / 0.7234 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1783, allocations: 0 / 0.7234 GB, free: 10.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.1784, allocations: 0 / 0.7234 GB, free: 10.96 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.0004877/0.1788, allocations: 270.3 kB / 0.7237 GB, free: 10.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1789, allocations: 8.031 kB / 0.7237 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.276e-05/0.1789, allocations: 4.188 kB / 0.7237 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.1789, allocations: 42.69 kB / 0.7237 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.179, allocations: 0.9375 kB / 0.7237 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1791, allocations: 114.4 kB / 0.7239 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.853e-05/0.1792, allocations: 59.97 kB / 0.7239 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1792, allocations: 3.938 kB / 0.7239 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1793, allocations: 67.38 kB / 0.724 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.1793, allocations: 4 kB / 0.724 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1793, allocations: 3.984 kB / 0.724 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.1793, allocations: 0 / 0.724 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.1794, allocations: 19.94 kB / 0.724 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.1799, allocations: 267.9 kB / 0.7243 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.853e-05/0.18, allocations: 14.58 kB / 0.7243 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.18, allocations: 4.859 kB / 0.7243 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.1801, allocations: 36.03 kB / 0.7243 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.1801, allocations: 34.56 kB / 0.7243 GB, free: 9.871 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.1801, allocations: 0 / 0.7243 GB, free: 9.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001616/0.1803, allocations: 33.64 kB / 0.7244 GB, free: 9.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.1803, allocations: 55.53 kB / 0.7244 GB, free: 9.766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.957e-05/0.1804, allocations: 105.8 kB / 0.7245 GB, free: 9.652 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1804, allocations: 25.7 kB / 0.7246 GB, free: 9.621 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.1805, allocations: 92.09 kB / 0.7246 GB, free: 9.527 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-06/0.1805, allocations: 3.953 kB / 0.7246 GB, free: 9.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.1805, allocations: 17.7 kB / 0.7247 GB, free: 9.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1807, allocations: 318.8 kB / 0.725 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.1807, allocations: 8 kB / 0.725 GB, free: 9.172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.1807, allocations: 17.7 kB / 0.725 GB, free: 9.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.1808, allocations: 25.66 kB / 0.725 GB, free: 9.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1808, allocations: 4 kB / 0.725 GB, free: 9.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.035e-05/0.1809, allocations: 45.69 kB / 0.7251 GB, free: 9.062 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1809, allocations: 4 kB / 0.7251 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1809, allocations: 0 / 0.7251 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1809, allocations: 4 kB / 0.7251 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.155e-05/0.1809, allocations: 11.88 kB / 0.7251 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.181, allocations: 0 / 0.7251 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.181, allocations: 3.938 kB / 0.7251 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.181, allocations: 7.938 kB / 0.7251 GB, free: 9.031 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.737e-05/0.1811, allocations: 113.9 kB / 0.7252 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.1811, allocations: 4 kB / 0.7252 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.1812, allocations: 117 kB / 0.7253 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.273e-05/0.1813, allocations: 184.2 kB / 0.7255 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-05/0.1814, allocations: 180.2 kB / 0.7257 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.336e-05/0.1815, allocations: 184.2 kB / 0.7258 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.1817, allocations: 384.2 kB / 0.7262 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.696e-05/0.1818, allocations: 105 kB / 0.7263 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.1818, allocations: 104.9 kB / 0.7264 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.46e-05/0.1819, allocations: 180.3 kB / 0.7266 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.429e-05/0.1819, allocations: 184.2 kB / 0.7268 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-05/0.182, allocations: 184.3 kB / 0.7269 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.245e-05/0.1821, allocations: 176.3 kB / 0.7271 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.1823, allocations: 311.7 kB / 0.7274 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.1823, allocations: 108.9 kB / 0.7275 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-05/0.1824, allocations: 188.2 kB / 0.7277 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.1826, allocations: 109 kB / 0.7278 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.1827, allocations: 180.5 kB / 0.728 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.1827, allocations: 101 kB / 0.7281 GB, free: 5.805 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.882e-05/0.1828, allocations: 95.2 kB / 0.7281 GB, free: 5.711 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1828, allocations: 4 kB / 0.7281 GB, free: 5.707 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000293/0.1831, allocations: 31.88 kB / 0.7282 GB, free: 5.676 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.0006442/0.1837, allocations: 0.8688 MB / 0.729 GB, free: 4.777 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.042e-05/0.1838, allocations: 4 kB / 0.729 GB, free: 4.773 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1838, allocations: 0 / 0.729 GB, free: 4.773 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/0.1838, allocations: 3.938 kB / 0.729 GB, free: 4.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.1843, allocations: 472.4 kB / 0.7295 GB, free: 4.305 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.1855, allocations: 1.332 MB / 0.7308 GB, free: 2.887 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.848e-05/0.1856, allocations: 59.34 kB / 0.7308 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.964e-05/0.1856, allocations: 10.31 kB / 0.7309 GB, free: 2.801 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.1857, allocations: 7.438 kB / 0.7309 GB, free: 2.793 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.1857, allocations: 0 / 0.7309 GB, free: 2.793 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.209, allocations: 2.401 MB / 0.7332 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/11.94, allocations: 10.23 kB / 0.7332 GB, free: 0.5977 MB / 0.545 GB " [Timeout remaining time 648] (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: 15.715891808038577] Failed to read output from testmodel.py, exit status != 0: 12.110838409047574 12.140494519 11.956171607 Calling exit ...