Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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.001321/0.001321, allocations: 74.98 kB / 19.93 MB, free: 1.77 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.001554/0.001554, allocations: 171 kB / 23.22 MB, free: 4.887 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.383/1.383, allocations: 177.2 MB / 203.5 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] 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.9112/0.9112, allocations: 114 MB / 373.9 MB, free: 13.22 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: translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.5546 GB, free: 2.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.336e-05, allocations: 5.844 kB / 0.5546 GB, free: 2.656 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1551/0.1551, allocations: 119 MB / 0.6709 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001729/0.1553, allocations: 55.75 kB / 0.6709 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.1553, allocations: 0 / 0.6709 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.1554, allocations: 7.984 kB / 0.6709 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.197e-05/0.1555, allocations: 7.875 kB / 0.6709 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009903/0.1565, allocations: 253.4 kB / 0.6712 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.1566, allocations: 39.84 kB / 0.6712 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.263e-05/0.1566, allocations: 4 kB / 0.6712 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.338e-05/0.1566, allocations: 23.92 kB / 0.6713 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.1567, allocations: 15.97 kB / 0.6713 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1567, allocations: 4 kB / 0.6713 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.1571, allocations: 171.4 kB / 0.6714 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.1572, allocations: 7.984 kB / 0.6714 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.1572, allocations: 11.98 kB / 0.6715 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.1577, allocations: 179.5 kB / 0.6716 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1577, allocations: 0 / 0.6716 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1577, allocations: 0 / 0.6716 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1577, allocations: 0 / 0.6716 GB, free: 10.41 MB / 0.5762 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.0005699/0.1583, allocations: 286 kB / 0.6719 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.1583, allocations: 12.62 kB / 0.6719 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.1584, allocations: 4.922 kB / 0.6719 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.1585, allocations: 105.8 kB / 0.672 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.1587, allocations: 55.91 kB / 0.6721 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.1587, allocations: 8.359 kB / 0.6721 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.1589, allocations: 71.7 kB / 0.6721 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1589, allocations: 0 / 0.6721 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.1589, allocations: 0 / 0.6721 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.159, allocations: 3.984 kB / 0.6721 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/0.159, allocations: 23.92 kB / 0.6722 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007904/0.1598, allocations: 252.5 kB / 0.6724 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.061e-05/0.1599, allocations: 18.52 kB / 0.6724 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.1599, allocations: 4.922 kB / 0.6724 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.977e-05/0.16, allocations: 35.97 kB / 0.6725 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.16, allocations: 30.56 kB / 0.6725 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.16, allocations: 0 / 0.6725 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001654/0.1602, allocations: 41.62 kB / 0.6725 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.1602, allocations: 51.41 kB / 0.6726 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.235e-05/0.1603, allocations: 102 kB / 0.6727 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1603, allocations: 29.7 kB / 0.6727 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.1604, allocations: 92.02 kB / 0.6728 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/0.1604, allocations: 7.953 kB / 0.6728 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.1604, allocations: 13.72 kB / 0.6728 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1606, allocations: 310.8 kB / 0.6731 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.1606, allocations: 8 kB / 0.6731 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.239e-05/0.1606, allocations: 17.7 kB / 0.6731 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.09e-05/0.1607, allocations: 25.66 kB / 0.6732 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.1607, allocations: 7.938 kB / 0.6732 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.221e-05/0.1607, allocations: 45.62 kB / 0.6732 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1608, allocations: 8 kB / 0.6732 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1608, allocations: 0 / 0.6732 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1608, allocations: 3.938 kB / 0.6732 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.1608, allocations: 8 kB / 0.6732 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1608, allocations: 0 / 0.6732 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.1609, allocations: 4 kB / 0.6732 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.1609, allocations: 0 / 0.6732 GB, free: 8.559 MB / 0.5762 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 9.268e-05/0.161, allocations: 126.9 kB / 0.6734 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.161, allocations: 0 / 0.6734 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.1611, allocations: 121 kB / 0.6735 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.762e-05/0.1612, allocations: 184.2 kB / 0.6737 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-05/0.1613, allocations: 184.2 kB / 0.6738 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.046e-05/0.1613, allocations: 180.2 kB / 0.674 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.1616, allocations: 356.9 kB / 0.6743 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.965e-05/0.1616, allocations: 108.9 kB / 0.6744 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.1617, allocations: 105 kB / 0.6745 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.385e-05/0.1617, allocations: 180.3 kB / 0.6747 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.012e-05/0.1618, allocations: 188.4 kB / 0.6749 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.556e-05/0.1619, allocations: 180.3 kB / 0.6751 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.522e-05/0.162, allocations: 192.2 kB / 0.6753 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.1621, allocations: 295.8 kB / 0.6755 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.1622, allocations: 112.9 kB / 0.6756 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/0.1623, allocations: 180.2 kB / 0.6758 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.1625, allocations: 112.9 kB / 0.6759 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.761e-05/0.1625, allocations: 176.3 kB / 0.6761 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.1626, allocations: 105 kB / 0.6762 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.723e-05/0.1626, allocations: 83.27 kB / 0.6763 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1626, allocations: 4 kB / 0.6763 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003555/0.163, allocations: 55.75 kB / 0.6763 GB, free: 5.207 MB / 0.5762 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.0003849/0.1634, allocations: 262.4 kB / 0.6766 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.14e-05/0.1635, allocations: 11.98 kB / 0.6766 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1635, allocations: 3.938 kB / 0.6766 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/0.1635, allocations: 4 kB / 0.6766 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.1639, allocations: 463.6 kB / 0.677 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.1642, allocations: 176.2 kB / 0.6772 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.014e-05/0.1643, allocations: 59.22 kB / 0.6773 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.159e-05/0.1643, allocations: 16.11 kB / 0.6773 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.4e-05/0.1644, allocations: 8.5 kB / 0.6773 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.1644, allocations: 0 / 0.6773 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of Templates: time 0.004478/0.1688, allocations: 1.344 MB / 0.6786 GB, free: 2.836 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.346844099462032] Failed to read output from testmodel.py, exit status != 0: 0.1774975322186947 0.19270783100000002 0.031931141 Calling exit ...