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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6916/0.6916, allocations: 92 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.734/1.734, allocations: 223.2 MB / 354.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 108.2 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003912, allocations: 11.94 kB / 0.4982 GB, free: 42.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2049, allocations: 72.31 MB / 0.5689 GB, free: 1.953 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.369/1.574, allocations: 408.2 MB / 0.9675 GB, free: 57.14 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/1.574, allocations: 75.97 kB / 0.9676 GB, free: 57.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.04598/1.62, allocations: 23.51 MB / 0.9906 GB, free: 35.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.472e-06/1.62, allocations: 0 / 0.9906 GB, free: 35.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.765e-06/1.62, allocations: 0 / 0.9906 GB, free: 35.64 MB / 0.5886 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.0003425/1.62, allocations: 367.8 kB / 0.9909 GB, free: 35.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/1.62, allocations: 8.031 kB / 0.9909 GB, free: 35.22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/1.621, allocations: 0 / 0.9909 GB, free: 35.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.971e-05/1.621, allocations: 163.1 kB / 0.9911 GB, free: 35.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/1.621, allocations: 29.7 kB / 0.9911 GB, free: 34.99 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/1.621, allocations: 3.984 kB / 0.9911 GB, free: 34.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/1.621, allocations: 49.64 kB / 0.9912 GB, free: 34.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/1.621, allocations: 0 / 0.9912 GB, free: 34.93 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/1.621, allocations: 7.938 kB / 0.9912 GB, free: 34.92 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/1.621, allocations: 7.938 kB / 0.9912 GB, free: 34.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/1.621, allocations: 11.98 kB / 0.9912 GB, free: 34.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/1.622, allocations: 0.5795 MB / 0.9917 GB, free: 34.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.394e-05/1.622, allocations: 26.53 kB / 0.9918 GB, free: 34.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/1.622, allocations: 0.4987 MB / 0.9923 GB, free: 33.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/1.622, allocations: 30.56 kB / 0.9923 GB, free: 33.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/1.622, allocations: 0 / 0.9923 GB, free: 33.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001625/1.622, allocations: 37.64 kB / 0.9923 GB, free: 33.47 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/1.622, allocations: 55.53 kB / 0.9924 GB, free: 33.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.973e-05/1.622, allocations: 101 kB / 0.9925 GB, free: 33.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/1.622, allocations: 25.7 kB / 0.9925 GB, free: 33.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/1.622, allocations: 91.98 kB / 0.9926 GB, free: 33.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/1.622, allocations: 3.906 kB / 0.9926 GB, free: 33.17 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/1.622, allocations: 7.938 kB / 0.9926 GB, free: 33.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.142e-05/1.622, allocations: 310.8 kB / 0.9929 GB, free: 32.85 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/1.622, allocations: 7.984 kB / 0.9929 GB, free: 32.84 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/1.622, allocations: 17.72 kB / 0.9929 GB, free: 32.82 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.285e-05/1.622, allocations: 11.94 kB / 0.9929 GB, free: 32.81 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.622, allocations: 0 / 0.9929 GB, free: 32.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.084e-05/1.622, allocations: 49.64 kB / 0.993 GB, free: 32.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.622, allocations: 4 kB / 0.993 GB, free: 32.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.622, allocations: 4 kB / 0.993 GB, free: 32.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.622, allocations: 0 / 0.993 GB, free: 32.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/1.623, allocations: 4 kB / 0.993 GB, free: 32.74 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.623, allocations: 8 kB / 0.993 GB, free: 32.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/1.623, allocations: 0 / 0.993 GB, free: 32.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/1.623, allocations: 7.984 kB / 0.993 GB, free: 32.73 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/1.623, allocations: 105.8 kB / 0.9931 GB, free: 32.61 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/1.623, allocations: 7.953 kB / 0.9931 GB, free: 32.61 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/1.623, allocations: 117 kB / 0.9932 GB, free: 32.48 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-05/1.623, allocations: 188.2 kB / 0.9934 GB, free: 32.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.984e-05/1.623, allocations: 176.3 kB / 0.9936 GB, free: 32.11 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.3e-05/1.623, allocations: 176.3 kB / 0.9937 GB, free: 31.93 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/1.623, allocations: 416 kB / 0.9941 GB, free: 31.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/1.623, allocations: 101 kB / 0.9942 GB, free: 31.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-05/1.623, allocations: 108.9 kB / 0.9943 GB, free: 31.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.107e-05/1.623, allocations: 184.2 kB / 0.9945 GB, free: 31.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/1.623, allocations: 184.2 kB / 0.9947 GB, free: 30.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.698e-05/1.623, allocations: 184.2 kB / 0.9949 GB, free: 30.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.508e-05/1.623, allocations: 184.3 kB / 0.995 GB, free: 30.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.069e-05/1.623, allocations: 303.8 kB / 0.9953 GB, free: 30.18 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/1.623, allocations: 190 kB / 0.9955 GB, free: 29.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/1.624, allocations: 176.3 kB / 0.9957 GB, free: 29.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/1.624, allocations: 112.9 kB / 0.9958 GB, free: 29.68 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/1.624, allocations: 184.2 kB / 0.996 GB, free: 29.49 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/1.624, allocations: 105 kB / 0.9961 GB, free: 29.38 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.374e-05/1.624, allocations: 87.28 kB / 0.9961 GB, free: 29.29 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/1.624, allocations: 0 / 0.9961 GB, free: 29.29 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004209/1.624, allocations: 91.84 kB / 0.9962 GB, free: 29.2 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007733/1.625, allocations: 0.6364 MB / 0.9969 GB, free: 28.56 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.923e-05/1.625, allocations: 11.94 kB / 0.9969 GB, free: 28.55 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.625, allocations: 0 / 0.9969 GB, free: 28.55 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/1.625, allocations: 4 kB / 0.9969 GB, free: 28.54 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/1.625, allocations: 0.5186 MB / 0.9974 GB, free: 28.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002105/1.626, allocations: 188.4 kB / 0.9976 GB, free: 27.81 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/1.626, allocations: 0.6809 MB / 0.9982 GB, free: 27.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.695e-05/1.626, allocations: 20.45 kB / 0.9982 GB, free: 27.08 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/1.626, allocations: 7.438 kB / 0.9982 GB, free: 27.07 MB / 0.5886 GB Notification: Performance of SimCode: time 4.2e-07/1.626, allocations: 0 / 0.9982 GB, free: 27.07 MB / 0.5886 GB Notification: Performance of Templates: time 0.00945/1.635, allocations: 7.336 MB / 1.005 GB, free: 19.73 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (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)