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/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8962/0.8962, allocations: 141.8 MB / 149.3 MB, free: 9.23 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 176.9 kB / 182.2 MB, free: 9.473 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.741/1.741, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 95.97 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 283 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.639e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5318/0.5318, allocations: 82.77 MB / 0.7574 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.592, allocations: 414.6 MB / 1.162 GB, free: 460 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/1.592, allocations: 67.03 kB / 1.162 GB, free: 428 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5666/2.159, allocations: 23.02 MB / 1.185 GB, free: 246.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.974e-06/2.159, allocations: 0 / 1.185 GB, free: 246.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.676e-06/2.159, allocations: 0 / 1.185 GB, free: 246.4 MB / 0.698 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.0003947/2.159, allocations: 365.6 kB / 1.185 GB, free: 246 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/2.159, allocations: 7.906 kB / 1.185 GB, free: 246 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/2.159, allocations: 0 / 1.185 GB, free: 246 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/2.16, allocations: 167 kB / 1.185 GB, free: 245.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/2.16, allocations: 33.39 kB / 1.185 GB, free: 245.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/2.16, allocations: 0 / 1.185 GB, free: 245.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001037/2.16, allocations: 15.91 kB / 1.185 GB, free: 245.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.523e-05/2.16, allocations: 41.44 kB / 1.186 GB, free: 245.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/2.16, allocations: 0 / 1.186 GB, free: 245.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/2.16, allocations: 0 / 1.186 GB, free: 245.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/2.16, allocations: 7.578 kB / 1.186 GB, free: 245.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/2.161, allocations: 0.5858 MB / 1.186 GB, free: 245.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.348e-05/2.161, allocations: 18.52 kB / 1.186 GB, free: 245.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/2.161, allocations: 8.844 kB / 1.186 GB, free: 245.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/2.161, allocations: 0.4974 MB / 1.187 GB, free: 244.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/2.161, allocations: 34.5 kB / 1.187 GB, free: 244.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/2.161, allocations: 0 / 1.187 GB, free: 244.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0002655/2.161, allocations: 41.44 kB / 1.187 GB, free: 244.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/2.161, allocations: 55.34 kB / 1.187 GB, free: 244.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/2.161, allocations: 100.8 kB / 1.187 GB, free: 244.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/2.161, allocations: 25.7 kB / 1.187 GB, free: 244.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/2.161, allocations: 84.05 kB / 1.187 GB, free: 244.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.052e-06/2.161, allocations: 7.781 kB / 1.187 GB, free: 244.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/2.162, allocations: 0 / 1.187 GB, free: 244.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.842e-05/2.162, allocations: 318.8 kB / 1.187 GB, free: 243.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/2.162, allocations: 8 kB / 1.187 GB, free: 243.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/2.162, allocations: 13.66 kB / 1.187 GB, free: 243.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/2.162, allocations: 23.64 kB / 1.187 GB, free: 243.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/2.162, allocations: 0 / 1.187 GB, free: 243.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001778/2.162, allocations: 53.39 kB / 1.187 GB, free: 243.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/2.162, allocations: 7.938 kB / 1.187 GB, free: 243.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/2.162, allocations: 0 / 1.187 GB, free: 243.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/2.162, allocations: 4.062 kB / 1.187 GB, free: 243.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.986e-05/2.162, allocations: 7.859 kB / 1.187 GB, free: 243.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/2.162, allocations: 3.969 kB / 1.187 GB, free: 243.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/2.162, allocations: 3.906 kB / 1.187 GB, free: 243.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/2.162, allocations: 1.25 kB / 1.187 GB, free: 243.8 MB / 0.698 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.679e-05/2.162, allocations: 108.9 kB / 1.187 GB, free: 243.7 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001319/2.162, allocations: 41.31 kB / 1.188 GB, free: 243.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/2.162, allocations: 3.969 kB / 1.188 GB, free: 243.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/2.162, allocations: 125.1 kB / 1.188 GB, free: 243.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.762e-05/2.163, allocations: 180 kB / 1.188 GB, free: 243.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.593e-05/2.163, allocations: 180.2 kB / 1.188 GB, free: 243.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.311e-05/2.163, allocations: 180.3 kB / 1.188 GB, free: 243 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/2.163, allocations: 385.3 kB / 1.189 GB, free: 242.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/2.163, allocations: 112.6 kB / 1.189 GB, free: 242.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/2.163, allocations: 101 kB / 1.189 GB, free: 242.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.405e-05/2.163, allocations: 180.2 kB / 1.189 GB, free: 242.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/2.163, allocations: 180.2 kB / 1.189 GB, free: 242 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.3e-05/2.163, allocations: 180.3 kB / 1.189 GB, free: 241.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.192e-05/2.163, allocations: 180.3 kB / 1.189 GB, free: 241.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.104e-05/2.163, allocations: 311.5 kB / 1.19 GB, free: 241.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/2.163, allocations: 190 kB / 1.19 GB, free: 241.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/2.163, allocations: 184.1 kB / 1.19 GB, free: 240.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/2.163, allocations: 104.7 kB / 1.19 GB, free: 240.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/2.163, allocations: 180.3 kB / 1.19 GB, free: 240.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/2.163, allocations: 117.9 kB / 1.19 GB, free: 240.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.898e-05/2.163, allocations: 83.22 kB / 1.191 GB, free: 240.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/2.163, allocations: 0 / 1.191 GB, free: 240.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004378/2.164, allocations: 78.92 kB / 1.191 GB, free: 240.4 MB / 0.698 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.001041/2.165, allocations: 1.359 MB / 1.192 GB, free: 239.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.955e-05/2.165, allocations: 15.72 kB / 1.192 GB, free: 239.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/2.165, allocations: 0 / 1.192 GB, free: 239.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/2.165, allocations: 0 / 1.192 GB, free: 239.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/2.165, allocations: 0.5185 MB / 1.192 GB, free: 238.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/2.166, allocations: 184.8 kB / 1.193 GB, free: 238.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/2.166, allocations: 0.6786 MB / 1.193 GB, free: 238 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.087e-05/2.166, allocations: 3.25 kB / 1.193 GB, free: 238 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/2.166, allocations: 10.69 kB / 1.193 GB, free: 238 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/2.166, allocations: 0 / 1.193 GB, free: 238 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/2.193, allocations: 5.381 MB / 1.199 GB, free: 237.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/2.194, allocations: 157.3 kB / 1.199 GB, free: 237.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/4.058, allocations: 3.906 kB / 1.199 GB, free: 237.1 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)