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.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.001773/0.001773, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.00193/0.00193, allocations: 173.2 kB / 22.76 MB, free: 1.668 MB / 18.57 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.607/1.607, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003565/0.003565, allocations: 242.5 kB / 259.8 MB, free: 12.87 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.173/1.173, allocations: 138.4 MB / 454.7 MB, free: 1.504 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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 1.783e-06/1.783e-06, allocations: 0 / 0.5543 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.495e-05/3.674e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.918 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4126/0.4126, allocations: 130.8 MB / 0.6821 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001457/0.4128, allocations: 49.34 kB / 0.6821 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.4128, allocations: 0 / 0.6821 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.4129, allocations: 2.781 kB / 0.6821 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.388e-05/0.413, allocations: 18.56 kB / 0.6821 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008077/0.4138, allocations: 251.1 kB / 0.6824 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.522e-05/0.4139, allocations: 33.19 kB / 0.6824 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.4139, allocations: 4 kB / 0.6824 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.145e-05/0.4139, allocations: 19.28 kB / 0.6824 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.801e-05/0.414, allocations: 13.67 kB / 0.6824 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.414, allocations: 2.531 kB / 0.6824 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.4143, allocations: 176.5 kB / 0.6826 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.4144, allocations: 6.938 kB / 0.6826 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.4144, allocations: 13.83 kB / 0.6826 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.4147, allocations: 174.6 kB / 0.6828 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4148, allocations: 8 kB / 0.6828 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4148, allocations: 3.406 kB / 0.6828 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.4148, allocations: 0 / 0.6828 GB, free: 22.16 MB / 0.5105 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.000358/0.4151, allocations: 388.6 kB / 0.6832 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4152, allocations: 9.281 kB / 0.6832 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.4152, allocations: 5.5 kB / 0.6832 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.257e-05/0.4153, allocations: 107.6 kB / 0.6833 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.4153, allocations: 51.97 kB / 0.6833 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.4154, allocations: 3.031 kB / 0.6833 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.4155, allocations: 69.36 kB / 0.6834 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.4155, allocations: 7.469 kB / 0.6834 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.4155, allocations: 3.938 kB / 0.6834 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.4155, allocations: 3.984 kB / 0.6834 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.099e-05/0.4156, allocations: 9.5 kB / 0.6834 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.4161, allocations: 310.5 kB / 0.6837 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.193e-05/0.4161, allocations: 29.84 kB / 0.6838 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.4161, allocations: 10.69 kB / 0.6838 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.947e-05/0.4162, allocations: 29 kB / 0.6838 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.4162, allocations: 37.39 kB / 0.6838 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.4162, allocations: 0 / 0.6838 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001596/0.4164, allocations: 39.33 kB / 0.6839 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.4164, allocations: 54.09 kB / 0.6839 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.4164, allocations: 171.8 kB / 0.6841 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.4164, allocations: 25.7 kB / 0.6841 GB, free: 20.76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.4165, allocations: 133.4 kB / 0.6842 GB, free: 20.63 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-06/0.4165, allocations: 3.953 kB / 0.6842 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.4165, allocations: 26.39 kB / 0.6843 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.4166, allocations: 494.8 kB / 0.6847 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.4166, allocations: 6.969 kB / 0.6847 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.858e-05/0.4166, allocations: 26.3 kB / 0.6848 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.4166, allocations: 25.22 kB / 0.6848 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4166, allocations: 0 / 0.6848 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.98e-05/0.4167, allocations: 55.94 kB / 0.6848 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4167, allocations: 5.688 kB / 0.6849 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4167, allocations: 0 / 0.6849 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4167, allocations: 0 / 0.6849 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.203e-05/0.4168, allocations: 9.656 kB / 0.6849 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.4168, allocations: 0 / 0.6849 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.4168, allocations: 3.094 kB / 0.6849 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.4168, allocations: 0 / 0.6849 GB, free: 19.99 MB / 0.5105 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 4.949e-05/0.4168, allocations: 159.3 kB / 0.685 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.4169, allocations: 3.938 kB / 0.685 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.775e-05/0.4169, allocations: 170 kB / 0.6852 GB, free: 19.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/0.417, allocations: 264.1 kB / 0.6854 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-05/0.417, allocations: 270.6 kB / 0.6857 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.31e-05/0.417, allocations: 280 kB / 0.686 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.4172, allocations: 498.1 kB / 0.6864 GB, free: 18.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/0.4172, allocations: 148.8 kB / 0.6866 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.4172, allocations: 160.6 kB / 0.6867 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.953e-05/0.4173, allocations: 266.6 kB / 0.687 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.4173, allocations: 268 kB / 0.6872 GB, free: 17.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.321e-05/0.4173, allocations: 267.1 kB / 0.6875 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-05/0.4174, allocations: 268 kB / 0.6878 GB, free: 16.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.359e-05/0.4174, allocations: 445.5 kB / 0.6882 GB, free: 16.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.4175, allocations: 155.7 kB / 0.6883 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.4175, allocations: 267.2 kB / 0.6886 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.4176, allocations: 163.7 kB / 0.6887 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.4176, allocations: 268.1 kB / 0.689 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.4177, allocations: 148.9 kB / 0.6891 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.99e-05/0.4177, allocations: 128.3 kB / 0.6893 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.4177, allocations: 3.5 kB / 0.6893 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002734/0.418, allocations: 57.58 kB / 0.6893 GB, free: 15.32 MB / 0.5105 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.0002884/0.4183, allocations: 302.1 kB / 0.6896 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.69e-05/0.4183, allocations: 17.81 kB / 0.6896 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4183, allocations: 2.719 kB / 0.6896 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.4183, allocations: 0 / 0.6896 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.4186, allocations: 0.7082 MB / 0.6903 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000232/0.4189, allocations: 230.5 kB / 0.6905 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.4189, allocations: 61.14 kB / 0.6906 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.4189, allocations: 4.297 kB / 0.6906 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.419, allocations: 12.48 kB / 0.6906 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of SimCode: time 4.11e-07/0.419, allocations: 2.656 kB / 0.6906 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.004641/0.4236, allocations: 1.375 MB / 0.692 GB, free: 13.36 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.3826466869795695]