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.002072/0.002072, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5846/0.5846, allocations: 91.98 MB / 108.5 MB, free: 13.04 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.745/1.745, allocations: 223.2 MB / 354.3 MB, free: 12.12 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.0009246/0.0009247, allocations: 104.2 kB / 427.4 MB, free: 3.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004873, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1952, allocations: 72.31 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.441, allocations: 408.3 MB / 0.9676 GB, free: 56.92 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.441, allocations: 69.47 kB / 0.9677 GB, free: 56.89 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0486/1.49, allocations: 23.51 MB / 0.9906 GB, free: 35.47 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.858e-06/1.49, allocations: 0 / 0.9906 GB, free: 35.47 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.49, allocations: 4 kB / 0.9906 GB, free: 35.46 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.0005182/1.49, allocations: 367.8 kB / 0.991 GB, free: 35.06 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.851e-05/1.49, allocations: 12.03 kB / 0.991 GB, free: 35.05 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.88e-05/1.491, allocations: 34.55 kB / 0.991 GB, free: 35 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/1.491, allocations: 0 / 0.991 GB, free: 35 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/1.491, allocations: 163.1 kB / 0.9912 GB, free: 34.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.919e-05/1.491, allocations: 29.7 kB / 0.9912 GB, free: 34.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/1.491, allocations: 0 / 0.9912 GB, free: 34.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/1.491, allocations: 53.56 kB / 0.9913 GB, free: 34.71 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/1.491, allocations: 0 / 0.9913 GB, free: 34.71 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/1.491, allocations: 0 / 0.9913 GB, free: 34.71 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/1.491, allocations: 4 kB / 0.9913 GB, free: 34.71 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.231e-05/1.491, allocations: 11.98 kB / 0.9913 GB, free: 34.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008221/1.492, allocations: 0.5989 MB / 0.9919 GB, free: 33.97 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.029e-05/1.492, allocations: 14.58 kB / 0.9919 GB, free: 33.95 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/1.492, allocations: 0.4948 MB / 0.9924 GB, free: 33.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/1.493, allocations: 34.5 kB / 0.9924 GB, free: 33.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.994e-06/1.493, allocations: 4 kB / 0.9924 GB, free: 33.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002148/1.493, allocations: 33.7 kB / 0.9924 GB, free: 33.26 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.493, allocations: 51.41 kB / 0.9925 GB, free: 33.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/1.493, allocations: 96.98 kB / 0.9926 GB, free: 33.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/1.493, allocations: 29.7 kB / 0.9926 GB, free: 33.06 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/1.493, allocations: 87.98 kB / 0.9927 GB, free: 32.97 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/1.493, allocations: 3.906 kB / 0.9927 GB, free: 32.96 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/1.493, allocations: 0 / 0.9927 GB, free: 32.96 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.302e-05/1.493, allocations: 326.9 kB / 0.993 GB, free: 32.64 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/1.493, allocations: 4 kB / 0.993 GB, free: 32.63 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/1.493, allocations: 17.84 kB / 0.993 GB, free: 32.61 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.092e-05/1.493, allocations: 8 kB / 0.993 GB, free: 32.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.493, allocations: 0 / 0.993 GB, free: 32.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.03e-05/1.493, allocations: 45.64 kB / 0.9931 GB, free: 32.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.493, allocations: 4 kB / 0.9931 GB, free: 32.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.493, allocations: 8.062 kB / 0.9931 GB, free: 32.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.493, allocations: 96 / 0.9931 GB, free: 32.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/1.493, allocations: 15.92 kB / 0.9931 GB, free: 32.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/1.493, allocations: 0 / 0.9931 GB, free: 32.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/1.493, allocations: 7.984 kB / 0.9931 GB, free: 32.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/1.493, allocations: 0 / 0.9931 GB, free: 32.52 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.98e-05/1.493, allocations: 105.8 kB / 0.9932 GB, free: 32.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/1.493, allocations: 7.953 kB / 0.9932 GB, free: 32.39 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.944e-05/1.494, allocations: 128.9 kB / 0.9933 GB, free: 32.26 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-05/1.494, allocations: 180.2 kB / 0.9935 GB, free: 32.08 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.358e-05/1.494, allocations: 176.3 kB / 0.9937 GB, free: 31.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-05/1.494, allocations: 183.2 kB / 0.9939 GB, free: 31.71 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/1.494, allocations: 405.2 kB / 0.9942 GB, free: 31.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/1.494, allocations: 105 kB / 0.9943 GB, free: 31.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/1.494, allocations: 112.9 kB / 0.9944 GB, free: 31.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.164e-05/1.494, allocations: 180.2 kB / 0.9946 GB, free: 30.85 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/1.494, allocations: 184.2 kB / 0.9948 GB, free: 30.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.82e-05/1.494, allocations: 176.3 kB / 0.995 GB, free: 30.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.374e-05/1.494, allocations: 192.3 kB / 0.9951 GB, free: 30.29 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.812e-05/1.494, allocations: 307.8 kB / 0.9954 GB, free: 29.96 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/1.494, allocations: 186 kB / 0.9956 GB, free: 29.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/1.494, allocations: 180.3 kB / 0.9958 GB, free: 29.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/1.494, allocations: 108.9 kB / 0.9959 GB, free: 29.46 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/1.494, allocations: 188.2 kB / 0.9961 GB, free: 29.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/1.494, allocations: 101 kB / 0.9962 GB, free: 29.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.354e-05/1.495, allocations: 87.27 kB / 0.9963 GB, free: 29.08 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.1e-07/1.495, allocations: 0 / 0.9963 GB, free: 29.08 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004196/1.495, allocations: 87.86 kB / 0.9963 GB, free: 28.99 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.0009659/1.496, allocations: 1.286 MB / 0.9976 GB, free: 27.68 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.66e-05/1.496, allocations: 8 kB / 0.9976 GB, free: 27.67 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.496, allocations: 4 kB / 0.9976 GB, free: 27.67 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.317e-06/1.496, allocations: 3.938 kB / 0.9976 GB, free: 27.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/1.496, allocations: 0.5212 MB / 0.9981 GB, free: 27.14 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/1.497, allocations: 250.1 kB / 0.9984 GB, free: 26.86 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/1.497, allocations: 0.6809 MB / 0.999 GB, free: 26.15 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.186e-05/1.497, allocations: 7.938 kB / 0.999 GB, free: 26.14 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/1.497, allocations: 11.44 kB / 0.999 GB, free: 26.13 MB / 0.5886 GB Notification: Performance of SimCode: time 2.194e-06/1.497, allocations: 0 / 0.999 GB, free: 26.13 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/1.521, allocations: 9.764 MB / 1.009 GB, free: 16.48 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/1.521, allocations: 184.7 kB / 1.009 GB, free: 16.23 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/3.436, allocations: 0 / 1.009 GB, free: 16.23 MB / 0.5886 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)