Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001882/0.001882, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.002288/0.002288, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.545/1.545, allocations: 230.6 MB / 254.2 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9861/0.9861, allocations: 150 MB / 460.2 MB, free: 5.652 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00198/0.00198, allocations: 69.17 kB / 0.6368 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.154, allocations: 89.14 MB / 0.7238 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005535/0.1595, allocations: 3.36 MB / 0.7271 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001111/0.1596, allocations: 51.84 kB / 0.7272 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.1597, allocations: 0 / 0.7272 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.1598, allocations: 3.938 kB / 0.7272 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.249e-05/0.1599, allocations: 15.92 kB / 0.7272 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.1605, allocations: 191.2 kB / 0.7274 GB, free: 416 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.274e-05/0.1606, allocations: 23.92 kB / 0.7274 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.1606, allocations: 11.98 kB / 0.7274 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.191e-05/0.1606, allocations: 19.86 kB / 0.7274 GB, free: 360 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.1607, allocations: 15.92 kB / 0.7274 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.1607, allocations: 0 / 0.7274 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.1611, allocations: 187.5 kB / 0.7276 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.1611, allocations: 3.984 kB / 0.7276 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.1612, allocations: 15.92 kB / 0.7276 GB, free: 136 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.1615, allocations: 139.9 kB / 0.7278 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1615, allocations: 0 / 0.7278 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1615, allocations: 0 / 0.7278 GB, free: 15.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1615, allocations: 0 / 0.7278 GB, free: 15.99 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.0004707/0.1619, allocations: 347.2 kB / 0.7281 GB, free: 15.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.162, allocations: 12.03 kB / 0.7281 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.194e-05/0.162, allocations: 4.188 kB / 0.7281 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.162, allocations: 38.73 kB / 0.7282 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.1621, allocations: 0.9375 kB / 0.7282 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.1622, allocations: 164.4 kB / 0.7283 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.1623, allocations: 26.27 kB / 0.7283 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/0.1623, allocations: 3.938 kB / 0.7283 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.1625, allocations: 49.62 kB / 0.7284 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1625, allocations: 0 / 0.7284 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1625, allocations: 4 kB / 0.7284 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.1625, allocations: 0 / 0.7284 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.779e-05/0.1625, allocations: 11.98 kB / 0.7284 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.1633, allocations: 0.5872 MB / 0.729 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.808e-05/0.1633, allocations: 14.58 kB / 0.729 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.689e-05/0.1633, allocations: 8.922 kB / 0.729 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.1636, allocations: 348.4 kB / 0.7293 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1637, allocations: 34.5 kB / 0.7294 GB, free: 14.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1637, allocations: 0 / 0.7294 GB, free: 14.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.1638, allocations: 37.66 kB / 0.7294 GB, free: 14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.1639, allocations: 55.34 kB / 0.7295 GB, free: 13.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.301e-05/0.1639, allocations: 101.8 kB / 0.7296 GB, free: 13.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.164, allocations: 29.7 kB / 0.7296 GB, free: 13.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.164, allocations: 84.22 kB / 0.7297 GB, free: 13.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.264e-06/0.164, allocations: 7.938 kB / 0.7297 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.1641, allocations: 21.7 kB / 0.7297 GB, free: 13.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002546/0.1643, allocations: 318.8 kB / 0.73 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.1643, allocations: 8 kB / 0.73 GB, free: 13.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.874e-05/0.1644, allocations: 21.84 kB / 0.73 GB, free: 13.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.1644, allocations: 21.7 kB / 0.73 GB, free: 13.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1644, allocations: 4 kB / 0.7301 GB, free: 13.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.76e-05/0.1645, allocations: 53.58 kB / 0.7301 GB, free: 13.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1645, allocations: 4 kB / 0.7301 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1645, allocations: 3.938 kB / 0.7301 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1645, allocations: 4.094 kB / 0.7301 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.433e-05/0.1646, allocations: 7.984 kB / 0.7301 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1646, allocations: 0 / 0.7301 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.1646, allocations: 0 / 0.7301 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1646, allocations: 11.94 kB / 0.7301 GB, free: 13.19 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.952e-05/0.1647, allocations: 109.9 kB / 0.7302 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.1647, allocations: 7.984 kB / 0.7302 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.1648, allocations: 114.7 kB / 0.7304 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.964e-05/0.1649, allocations: 184.3 kB / 0.7305 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.665e-05/0.165, allocations: 180.2 kB / 0.7307 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001537/0.1652, allocations: 184.3 kB / 0.7309 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.1654, allocations: 413.2 kB / 0.7313 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.706e-05/0.1655, allocations: 104.9 kB / 0.7314 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.1655, allocations: 101 kB / 0.7315 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.579e-05/0.1656, allocations: 184.2 kB / 0.7316 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.822e-05/0.1657, allocations: 180.3 kB / 0.7318 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.063e-05/0.1658, allocations: 176.3 kB / 0.732 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.271e-05/0.1659, allocations: 184.2 kB / 0.7322 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.1661, allocations: 307.7 kB / 0.7325 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.526e-05/0.1661, allocations: 182.1 kB / 0.7326 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.844e-05/0.1662, allocations: 188.2 kB / 0.7328 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.1664, allocations: 116.9 kB / 0.7329 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.1665, allocations: 180.2 kB / 0.7331 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.1666, allocations: 108.9 kB / 0.7332 GB, free: 9.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.672e-05/0.1666, allocations: 95.22 kB / 0.7333 GB, free: 9.742 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1666, allocations: 0 / 0.7333 GB, free: 9.742 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002912/0.1669, allocations: 35.88 kB / 0.7333 GB, free: 9.707 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.0006375/0.1676, allocations: 0.8555 MB / 0.7342 GB, free: 8.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.18e-05/0.1676, allocations: 11.94 kB / 0.7342 GB, free: 8.809 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1676, allocations: 0 / 0.7342 GB, free: 8.809 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.1676, allocations: 4 kB / 0.7342 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.1681, allocations: 462.8 kB / 0.7346 GB, free: 8.352 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.1695, allocations: 1.332 MB / 0.7359 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.17, allocations: 0.6729 MB / 0.7366 GB, free: 6.234 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.528e-05/0.1701, allocations: 9.688 kB / 0.7366 GB, free: 6.227 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.1701, allocations: 19.31 kB / 0.7366 GB, free: 6.207 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1701, allocations: 0 / 0.7366 GB, free: 6.207 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.1893, allocations: 2.202 MB / 0.7387 GB, free: 4.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.638/8.828, allocations: 13.08 kB / 0.7388 GB, free: 4.223 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.70711813197704] Failed to read output from testmodel.py, exit status != 0: 8.949822399998084 8.967209752 8.802699119 Calling exit ...