Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002261/0.002261, allocations: 284.3 kB / 303.6 MB, free: 3.688 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 180.9 MB / 0.5268 GB, free: 2.684 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002717, allocations: 95.83 kB / 0.7259 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4918, allocations: 94.15 MB / 0.8178 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1603/0.6521, allocations: 135.8 MB / 0.9504 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001638/0.6523, allocations: 51.86 kB / 0.9505 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.6523, allocations: 4 kB / 0.9505 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.6524, allocations: 3.938 kB / 0.9505 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 7.479e-05/0.6525, allocations: 11.91 kB / 0.9505 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008492/0.6533, allocations: 243 kB / 0.9507 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 7.893e-05/0.6534, allocations: 27.91 kB / 0.9508 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.6534, allocations: 4 kB / 0.9508 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.169e-05/0.6535, allocations: 27.84 kB / 0.9508 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.6535, allocations: 11.98 kB / 0.9508 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.6536, allocations: 0 / 0.9508 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.654, allocations: 251.4 kB / 0.951 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.6541, allocations: 8 kB / 0.9511 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.6541, allocations: 15.91 kB / 0.9511 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.6545, allocations: 179.2 kB / 0.9512 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.6545, allocations: 3.938 kB / 0.9512 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6545, allocations: 0 / 0.9512 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.6545, allocations: 0 / 0.9512 GB, free: 8.051 MB / 0.6856 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.0004351/0.6549, allocations: 363.1 kB / 0.9516 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.6549, allocations: 15.97 kB / 0.9516 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.655, allocations: 0.9375 kB / 0.9516 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.6551, allocations: 160.4 kB / 0.9518 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/0.6552, allocations: 38.25 kB / 0.9518 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.6552, allocations: 3.938 kB / 0.9518 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.6553, allocations: 45.67 kB / 0.9518 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.6553, allocations: 0 / 0.9518 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.6553, allocations: 0 / 0.9518 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.6553, allocations: 4 kB / 0.9518 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.6554, allocations: 15.98 kB / 0.9519 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007766/0.6562, allocations: 0.6027 MB / 0.9525 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 4.061e-05/0.6562, allocations: 18.58 kB / 0.9525 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.6562, allocations: 4.859 kB / 0.9525 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002254/0.6564, allocations: 336.5 kB / 0.9528 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.6565, allocations: 34.56 kB / 0.9528 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.6565, allocations: 0 / 0.9528 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.6566, allocations: 37.72 kB / 0.9529 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.6567, allocations: 59.41 kB / 0.9529 GB, free: 6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.6568, allocations: 105.8 kB / 0.953 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.6568, allocations: 25.7 kB / 0.953 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.6568, allocations: 88.09 kB / 0.9531 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/0.6568, allocations: 0 / 0.9531 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.6569, allocations: 29.58 kB / 0.9532 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.657, allocations: 314.8 kB / 0.9535 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.657, allocations: 8 kB / 0.9535 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.153e-05/0.657, allocations: 21.7 kB / 0.9535 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.6e-05/0.6571, allocations: 17.66 kB / 0.9535 GB, free: 5.355 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6571, allocations: 0 / 0.9535 GB, free: 5.355 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.097e-05/0.6572, allocations: 45.69 kB / 0.9535 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.6572, allocations: 9.719 kB / 0.9536 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.6572, allocations: 4.062 kB / 0.9536 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.6572, allocations: 0 / 0.9536 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.531e-05/0.6572, allocations: 11.94 kB / 0.9536 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.6572, allocations: 4 kB / 0.9536 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.6573, allocations: 3.953 kB / 0.9536 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.6573, allocations: 3.938 kB / 0.9536 GB, free: 5.27 MB / 0.6856 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.398e-05/0.6574, allocations: 117.8 kB / 0.9537 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.6574, allocations: 0 / 0.9537 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.6575, allocations: 117 kB / 0.9538 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.283e-05/0.6576, allocations: 180.2 kB / 0.954 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.287e-05/0.6577, allocations: 184.2 kB / 0.9542 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.599e-05/0.6578, allocations: 184.2 kB / 0.9543 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.658, allocations: 405.2 kB / 0.9547 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-05/0.6581, allocations: 109 kB / 0.9548 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.6581, allocations: 104.9 kB / 0.9549 GB, free: 3.785 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.529e-05/0.6582, allocations: 180.3 kB / 0.9551 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/0.6583, allocations: 180.2 kB / 0.9553 GB, free: 3.418 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001345/0.6585, allocations: 184.2 kB / 0.9554 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.065e-05/0.6585, allocations: 176.3 kB / 0.9556 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.6587, allocations: 311.7 kB / 0.9559 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.6588, allocations: 186.2 kB / 0.9561 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.408e-05/0.6589, allocations: 180.3 kB / 0.9563 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.659, allocations: 105 kB / 0.9564 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.6591, allocations: 192.2 kB / 0.9565 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.6591, allocations: 105 kB / 0.9566 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.6592, allocations: 83.22 kB / 0.9567 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.6592, allocations: 0 / 0.9567 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003103/0.6595, allocations: 63.73 kB / 0.9568 GB, free: 1.773 MB / 0.6856 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.000313/0.6598, allocations: 254.3 kB / 0.957 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.633e-05/0.6599, allocations: 15.92 kB / 0.957 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6599, allocations: 0 / 0.957 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.6599, allocations: 0 / 0.957 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.6603, allocations: 467 kB / 0.9575 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.6606, allocations: 219.9 kB / 0.9577 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.6609, allocations: 0.6768 MB / 0.9584 GB, free: 88 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.661, allocations: 7.438 kB / 0.9584 GB, free: 80 kB / 0.6856 GB Notification: Performance of SimCode: time 3.01e-07/0.661, allocations: 4 kB / 0.9584 GB, free: 76 kB / 0.6856 GB Notification: Performance of Templates: time 0.003046/0.664, allocations: 1.237 MB / 0.9596 GB, free: 14.85 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.20854764804244] Failed to read output from testmodel.py, exit status != 0: 0.6719155500177294 0.684222432 0.027147622000000003 Calling exit ...