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: "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 179.6 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4687/0.4687, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.299/1.299, allocations: 221.3 MB / 348.3 MB, free: 476 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009844/0.0009844, allocations: 102.8 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.505e-05/3.508e-05, allocations: 4 kB / 0.4897 GB, free: 5.281 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4136, allocations: 72.3 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.541, allocations: 408.2 MB / 0.9589 GB, free: 140.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/1.541, allocations: 71.36 kB / 0.959 GB, free: 140.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04384/1.585, allocations: 23.43 MB / 0.9819 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/1.585, allocations: 0 / 0.9819 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.585, allocations: 0 / 0.9819 GB, free: 137.1 MB / 0.6042 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.0003579/1.585, allocations: 368.4 kB / 0.9822 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.585, allocations: 11.73 kB / 0.9822 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/1.585, allocations: 33.75 kB / 0.9823 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/1.585, allocations: 7.781 kB / 0.9823 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/1.586, allocations: 159.1 kB / 0.9824 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/1.586, allocations: 33.22 kB / 0.9825 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/1.586, allocations: 0 / 0.9825 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/1.586, allocations: 44.45 kB / 0.9825 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.586, allocations: 4 kB / 0.9825 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/1.586, allocations: 0 / 0.9825 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/1.586, allocations: 0 / 0.9825 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.392e-05/1.586, allocations: 14.94 kB / 0.9825 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/1.586, allocations: 0.602 MB / 0.9831 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.784e-05/1.587, allocations: 24.3 kB / 0.9831 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/1.587, allocations: 7.734 kB / 0.9831 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/1.587, allocations: 0.4946 MB / 0.9836 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/1.587, allocations: 33.12 kB / 0.9837 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/1.587, allocations: 7.875 kB / 0.9837 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001272/1.587, allocations: 29.58 kB / 0.9837 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/1.587, allocations: 55.44 kB / 0.9837 GB, free: 135 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.527e-05/1.587, allocations: 99.25 kB / 0.9838 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/1.587, allocations: 29.58 kB / 0.9839 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/1.587, allocations: 87.98 kB / 0.9839 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.264e-06/1.587, allocations: 7.219 kB / 0.984 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/1.587, allocations: 0 / 0.984 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/1.587, allocations: 314 kB / 0.9843 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/1.587, allocations: 3.938 kB / 0.9843 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/1.587, allocations: 20.09 kB / 0.9843 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.844e-05/1.587, allocations: 3.812 kB / 0.9843 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/1.587, allocations: 3.938 kB / 0.9843 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.569e-05/1.587, allocations: 53.95 kB / 0.9843 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/1.587, allocations: 3.938 kB / 0.9843 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.587, allocations: 0.6562 kB / 0.9843 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/1.587, allocations: 0 / 0.9843 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.658e-05/1.588, allocations: 7.781 kB / 0.9843 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/1.588, allocations: 4.062 kB / 0.9844 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/1.588, allocations: 7.938 kB / 0.9844 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/1.588, allocations: 7.219 kB / 0.9844 GB, free: 134.4 MB / 0.6042 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 () * 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.276e-05/1.588, allocations: 101 kB / 0.9845 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/1.588, allocations: 11.12 kB / 0.9845 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/1.588, allocations: 116.2 kB / 0.9846 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.355e-05/1.588, allocations: 187.3 kB / 0.9848 GB, free: 134 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.824e-05/1.588, allocations: 180.1 kB / 0.9849 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.792e-05/1.588, allocations: 176.3 kB / 0.9851 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/1.588, allocations: 407.9 kB / 0.9855 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/1.588, allocations: 101 kB / 0.9856 GB, free: 133.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/1.588, allocations: 104.9 kB / 0.9857 GB, free: 133 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-05/1.588, allocations: 187.9 kB / 0.9859 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/1.588, allocations: 183.2 kB / 0.986 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.125e-05/1.588, allocations: 183.7 kB / 0.9862 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-05/1.588, allocations: 180.3 kB / 0.9864 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.743e-05/1.588, allocations: 318.6 kB / 0.9867 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/1.588, allocations: 181.9 kB / 0.9869 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/1.589, allocations: 191.4 kB / 0.987 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/1.589, allocations: 104.9 kB / 0.9871 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/1.589, allocations: 180.2 kB / 0.9873 GB, free: 131.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/1.589, allocations: 104.9 kB / 0.9874 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.018e-05/1.589, allocations: 90.67 kB / 0.9875 GB, free: 131 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/1.589, allocations: 0 / 0.9875 GB, free: 131 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004383/1.589, allocations: 81.55 kB / 0.9876 GB, free: 131 MB / 0.6042 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 () * 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.0007948/1.59, allocations: 1.278 MB / 0.9888 GB, free: 130 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.764e-05/1.59, allocations: 11.88 kB / 0.9888 GB, free: 130 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.59, allocations: 0 / 0.9888 GB, free: 130 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.925e-06/1.59, allocations: 7.734 kB / 0.9889 GB, free: 130 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/1.59, allocations: 0.5277 MB / 0.9894 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/1.591, allocations: 181.2 kB / 0.9895 GB, free: 129.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/1.591, allocations: 0.6808 MB / 0.9902 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.887e-05/1.591, allocations: 11.86 kB / 0.9902 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/1.591, allocations: 14.36 kB / 0.9902 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/1.591, allocations: 0 / 0.9902 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/1.612, allocations: 11.25 MB / 1.001 GB, free: 127.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/1.612, allocations: 155.7 kB / 1.001 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/3.498, allocations: 4 kB / 1.001 GB, free: 127.4 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)