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.001327/0.001327, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001515/0.001515, allocations: 224.5 kB / 23 MB, free: 4.914 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.8895/0.8895, allocations: 145 MB / 458.2 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: translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [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.002074/0.002074, allocations: 70.48 kB / 0.6343 GB, free: 6.219 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1735, allocations: 87.88 MB / 0.7201 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005061/0.1786, allocations: 3.232 MB / 0.7233 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001001/0.1787, allocations: 47.88 kB / 0.7233 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.1787, allocations: 0 / 0.7233 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.1788, allocations: 11.92 kB / 0.7234 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.873e-05/0.1789, allocations: 11.92 kB / 0.7234 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.1795, allocations: 190.3 kB / 0.7235 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.091e-05/0.1795, allocations: 43.72 kB / 0.7236 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.1796, allocations: 4 kB / 0.7236 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.845e-05/0.1796, allocations: 19.97 kB / 0.7236 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.1797, allocations: 7.984 kB / 0.7236 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1797, allocations: 8 kB / 0.7236 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.18, allocations: 135.5 kB / 0.7238 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.18, allocations: 7.938 kB / 0.7238 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.18, allocations: 4 kB / 0.7238 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.1803, allocations: 127.7 kB / 0.7239 GB, free: 10.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1803, allocations: 0 / 0.7239 GB, free: 10.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1803, allocations: 0 / 0.7239 GB, free: 10.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.1803, allocations: 0 / 0.7239 GB, free: 10.48 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.0004153/0.1807, allocations: 266.3 kB / 0.7241 GB, free: 10.19 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1808, allocations: 12.03 kB / 0.7242 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.1808, allocations: 4.938 kB / 0.7242 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.1809, allocations: 122.4 kB / 0.7243 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.027e-05/0.181, allocations: 55.97 kB / 0.7243 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-06/0.181, allocations: 384 / 0.7243 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1812, allocations: 71.33 kB / 0.7244 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1812, allocations: 0 / 0.7244 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1812, allocations: 0 / 0.7244 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.1812, allocations: 7.984 kB / 0.7244 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.1812, allocations: 12 kB / 0.7244 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.1817, allocations: 248.5 kB / 0.7247 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.312e-05/0.1818, allocations: 22.52 kB / 0.7247 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.1818, allocations: 8.922 kB / 0.7247 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.611e-05/0.1819, allocations: 35.97 kB / 0.7247 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1819, allocations: 34.5 kB / 0.7248 GB, free: 9.465 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1819, allocations: 0 / 0.7248 GB, free: 9.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001419/0.1821, allocations: 33.64 kB / 0.7248 GB, free: 9.426 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.1821, allocations: 55.41 kB / 0.7248 GB, free: 9.359 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.1822, allocations: 101.8 kB / 0.7249 GB, free: 9.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1822, allocations: 25.7 kB / 0.725 GB, free: 9.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.1823, allocations: 96.22 kB / 0.725 GB, free: 9.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.231e-06/0.1823, allocations: 3.953 kB / 0.7251 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1823, allocations: 17.7 kB / 0.7251 GB, free: 9.094 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1825, allocations: 314.8 kB / 0.7254 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.1825, allocations: 8 kB / 0.7254 GB, free: 8.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.1825, allocations: 13.72 kB / 0.7254 GB, free: 8.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.248e-05/0.1826, allocations: 33.64 kB / 0.7254 GB, free: 8.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1826, allocations: 0 / 0.7254 GB, free: 8.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.542e-05/0.1826, allocations: 49.69 kB / 0.7255 GB, free: 8.656 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.1826, allocations: 7.938 kB / 0.7255 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1827, allocations: 4 kB / 0.7255 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1827, allocations: 0 / 0.7255 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.971e-05/0.1827, allocations: 4 kB / 0.7255 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1827, allocations: 3.938 kB / 0.7255 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.1827, allocations: 3.938 kB / 0.7255 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1827, allocations: 4 kB / 0.7255 GB, free: 8.629 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 7.686e-05/0.1828, allocations: 111.3 kB / 0.7256 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.1828, allocations: 4 kB / 0.7256 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.183, allocations: 129 kB / 0.7257 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.462e-05/0.183, allocations: 184.2 kB / 0.7259 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-05/0.1831, allocations: 176.3 kB / 0.7261 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.498e-05/0.1832, allocations: 184.2 kB / 0.7262 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.1834, allocations: 360.8 kB / 0.7266 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.24e-05/0.1835, allocations: 101 kB / 0.7267 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.1835, allocations: 108.9 kB / 0.7268 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.436e-05/0.1836, allocations: 180.3 kB / 0.727 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-05/0.1837, allocations: 176.3 kB / 0.7271 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-05/0.1838, allocations: 180.2 kB / 0.7273 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.711e-05/0.1839, allocations: 188.3 kB / 0.7275 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.184, allocations: 307.7 kB / 0.7278 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.1841, allocations: 116.9 kB / 0.7279 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.855e-05/0.1842, allocations: 180.3 kB / 0.7281 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1844, allocations: 113 kB / 0.7282 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/0.1844, allocations: 180.2 kB / 0.7283 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.749e-05/0.1845, allocations: 105 kB / 0.7284 GB, free: 5.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.1846, allocations: 87.27 kB / 0.7285 GB, free: 5.344 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1846, allocations: 0 / 0.7285 GB, free: 5.344 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002897/0.1848, allocations: 31.88 kB / 0.7286 GB, free: 5.312 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.0002868/0.1851, allocations: 236.4 kB / 0.7288 GB, free: 5.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.742e-05/0.1852, allocations: 19.98 kB / 0.7288 GB, free: 5.051 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1852, allocations: 0 / 0.7288 GB, free: 5.051 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.1852, allocations: 0 / 0.7288 GB, free: 5.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.1857, allocations: 463.6 kB / 0.7292 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.186, allocations: 203.9 kB / 0.7294 GB, free: 4.363 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.465e-05/0.1861, allocations: 59.3 kB / 0.7295 GB, free: 4.285 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.1861, allocations: 15.72 kB / 0.7295 GB, free: 4.27 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.1861, allocations: 0 / 0.7295 GB, free: 4.27 MB / 0.545 GB Notification: Performance of Templates: time 0.003026/0.1891, allocations: 1.253 MB / 0.7307 GB, free: 3.031 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.511883554980159] Failed to read output from testmodel.py, exit status != 0: 0.1971916756592691 0.210951614 0.027769364 Calling exit ...