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.001248/0.001248, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001342/0.001342, allocations: 215.6 kB / 23.01 MB, free: 4.566 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.863/0.863, allocations: 145 MB / 458.2 MB, free: 15.56 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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [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.001967/0.001967, allocations: 66.44 kB / 0.6344 GB, free: 6.855 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1506, allocations: 87.88 MB / 0.7202 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005833/0.1564, allocations: 4.146 MB / 0.7242 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000212/0.1567, allocations: 155.5 kB / 0.7244 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.1567, allocations: 4 kB / 0.7244 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.091e-05/0.1568, allocations: 3.938 kB / 0.7244 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.681e-05/0.1568, allocations: 11.91 kB / 0.7244 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.1572, allocations: 91.69 kB / 0.7245 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.456e-05/0.1573, allocations: 31.91 kB / 0.7245 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.1573, allocations: 0 / 0.7245 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.1573, allocations: 19.92 kB / 0.7245 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.969e-05/0.1574, allocations: 19.91 kB / 0.7246 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.1574, allocations: 4 kB / 0.7246 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.1576, allocations: 75.78 kB / 0.7246 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.879e-05/0.1577, allocations: 11.98 kB / 0.7247 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.1577, allocations: 11.98 kB / 0.7247 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1579, allocations: 63.8 kB / 0.7247 GB, free: 10.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1579, allocations: 0 / 0.7247 GB, free: 10.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1579, allocations: 0 / 0.7247 GB, free: 10.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1579, allocations: 0 / 0.7247 GB, free: 10.31 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.0003616/0.1582, allocations: 258.3 kB / 0.725 GB, free: 10.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.1583, allocations: 12.03 kB / 0.725 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.1583, allocations: 0.9375 kB / 0.725 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.1584, allocations: 114.5 kB / 0.7251 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.923e-05/0.1585, allocations: 55.95 kB / 0.7251 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.1585, allocations: 384 / 0.7251 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.1586, allocations: 49.62 kB / 0.7252 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1586, allocations: 0 / 0.7252 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1586, allocations: 0 / 0.7252 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.1586, allocations: 0 / 0.7252 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.492e-05/0.1587, allocations: 19.98 kB / 0.7252 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.1591, allocations: 235.9 kB / 0.7254 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.904e-05/0.1591, allocations: 18.58 kB / 0.7255 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.1591, allocations: 8.844 kB / 0.7255 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.107e-05/0.1592, allocations: 8.062 kB / 0.7255 GB, free: 9.418 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.1592, allocations: 30.56 kB / 0.7255 GB, free: 9.379 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1592, allocations: 3.938 kB / 0.7255 GB, free: 9.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.1593, allocations: 45.62 kB / 0.7255 GB, free: 9.324 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.1594, allocations: 59.34 kB / 0.7256 GB, free: 9.254 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.339e-05/0.1595, allocations: 97.86 kB / 0.7257 GB, free: 9.148 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1595, allocations: 25.7 kB / 0.7257 GB, free: 9.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.1595, allocations: 92.08 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.943e-06/0.1595, allocations: 7.891 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.1596, allocations: 17.72 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1597, allocations: 314.8 kB / 0.7261 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.1597, allocations: 12.11 kB / 0.7261 GB, free: 8.664 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.683e-05/0.1597, allocations: 13.72 kB / 0.7262 GB, free: 8.645 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.1598, allocations: 21.66 kB / 0.7262 GB, free: 8.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1598, allocations: 0 / 0.7262 GB, free: 8.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.777e-05/0.1599, allocations: 45.69 kB / 0.7262 GB, free: 8.566 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1599, allocations: 8 kB / 0.7262 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1599, allocations: 4.062 kB / 0.7262 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1599, allocations: 0 / 0.7262 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.114e-05/0.1599, allocations: 7.938 kB / 0.7262 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1599, allocations: 4 kB / 0.7262 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.16, allocations: 3.984 kB / 0.7262 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.16, allocations: 0 / 0.7262 GB, free: 8.539 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.127e-05/0.16, allocations: 119.1 kB / 0.7264 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.1601, allocations: 0 / 0.7264 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.1602, allocations: 120.9 kB / 0.7265 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-05/0.1602, allocations: 188.2 kB / 0.7267 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.051e-05/0.1603, allocations: 176.3 kB / 0.7268 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.547e-05/0.1604, allocations: 188.2 kB / 0.727 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.1606, allocations: 380.2 kB / 0.7274 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.517e-05/0.1607, allocations: 109 kB / 0.7275 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.1607, allocations: 108.9 kB / 0.7276 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.747e-05/0.1608, allocations: 176.3 kB / 0.7277 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.092e-05/0.1609, allocations: 188.2 kB / 0.7279 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-05/0.1609, allocations: 176.3 kB / 0.7281 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.717e-05/0.161, allocations: 176.3 kB / 0.7283 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.1611, allocations: 315.7 kB / 0.7286 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.1612, allocations: 108.9 kB / 0.7287 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.685e-05/0.1613, allocations: 176.3 kB / 0.7288 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1614, allocations: 105 kB / 0.7289 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.1615, allocations: 196.1 kB / 0.7291 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.1616, allocations: 101 kB / 0.7292 GB, free: 5.309 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.1616, allocations: 79.28 kB / 0.7293 GB, free: 5.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1616, allocations: 0 / 0.7293 GB, free: 5.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002737/0.1619, allocations: 23.88 kB / 0.7293 GB, free: 5.207 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.0001833/0.1621, allocations: 198.4 kB / 0.7295 GB, free: 5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.587e-05/0.1622, allocations: 15.94 kB / 0.7295 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1622, allocations: 0 / 0.7295 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.1622, allocations: 0 / 0.7295 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.1626, allocations: 459.7 kB / 0.73 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.1629, allocations: 200 kB / 0.7301 GB, free: 4.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1632, allocations: 0.6807 MB / 0.7308 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.1632, allocations: 11.44 kB / 0.7308 GB, free: 3.586 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.1632, allocations: 0 / 0.7308 GB, free: 3.586 MB / 0.545 GB Notification: Performance of Templates: time 0.002282/0.1655, allocations: 0.7365 MB / 0.7315 GB, free: 2.855 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.3345308259595186] Failed to read output from testmodel.py, exit status != 0: 0.17373694595880806 0.18785680200000002 0.027004611 Calling exit ...