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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 104.5 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 196.8 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.663/0.663, allocations: 115.3 MB / 406.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 60.14 kB / 493.2 MB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2791, allocations: 76.17 MB / 0.556 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1159/0.395, allocations: 133.5 MB / 0.6863 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000132/0.3952, allocations: 55.84 kB / 0.6864 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.3952, allocations: 0 / 0.6864 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.293e-05/0.3953, allocations: 7.938 kB / 0.6864 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.773e-05/0.3954, allocations: 11.92 kB / 0.6864 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007616/0.3962, allocations: 222.2 kB / 0.6866 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.3963, allocations: 35.86 kB / 0.6866 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.293e-05/0.3963, allocations: 3.984 kB / 0.6867 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.3963, allocations: 15.98 kB / 0.6867 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.308e-05/0.3964, allocations: 7.828 kB / 0.6867 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.3964, allocations: 4 kB / 0.6867 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004382/0.3969, allocations: 247.4 kB / 0.6869 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.3969, allocations: 7.984 kB / 0.6869 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.3969, allocations: 19.86 kB / 0.6869 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.3973, allocations: 189.9 kB / 0.6871 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3973, allocations: 0 / 0.6871 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3973, allocations: 0 / 0.6871 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.3973, allocations: 0 / 0.6871 GB, free: 13.95 MB / 0.5294 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.0003537/0.3977, allocations: 359.4 kB / 0.6875 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3977, allocations: 8.031 kB / 0.6875 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.3978, allocations: 38.75 kB / 0.6875 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.3978, allocations: 0.9375 kB / 0.6875 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.919e-05/0.3979, allocations: 164.3 kB / 0.6877 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/0.398, allocations: 42 kB / 0.6877 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-06/0.398, allocations: 0 / 0.6877 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.3981, allocations: 45.67 kB / 0.6878 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3981, allocations: 0 / 0.6878 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.3981, allocations: 0 / 0.6878 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.3982, allocations: 4 kB / 0.6878 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.202e-05/0.3982, allocations: 15.92 kB / 0.6878 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006589/0.3989, allocations: 0.595 MB / 0.6884 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.542e-05/0.3989, allocations: 22.58 kB / 0.6884 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.3989, allocations: 4.859 kB / 0.6884 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.3991, allocations: 336.5 kB / 0.6887 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.3991, allocations: 34.56 kB / 0.6887 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3991, allocations: 0 / 0.6887 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001259/0.3993, allocations: 41.64 kB / 0.6888 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.3993, allocations: 55.41 kB / 0.6888 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.273e-05/0.3994, allocations: 101.8 kB / 0.6889 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.3994, allocations: 25.7 kB / 0.6889 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.3994, allocations: 92.05 kB / 0.689 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.3994, allocations: 7.844 kB / 0.689 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.3995, allocations: 17.7 kB / 0.6891 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.3996, allocations: 322.9 kB / 0.6894 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.3996, allocations: 4 kB / 0.6894 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-05/0.3996, allocations: 17.7 kB / 0.6894 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/0.3997, allocations: 21.66 kB / 0.6894 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3997, allocations: 3.938 kB / 0.6894 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.229e-05/0.3997, allocations: 53.62 kB / 0.6895 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.3998, allocations: 10.09 kB / 0.6895 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3998, allocations: 0 / 0.6895 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.3998, allocations: 0 / 0.6895 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.879e-05/0.3998, allocations: 4 kB / 0.6895 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3998, allocations: 4 kB / 0.6895 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.3999, allocations: 3.938 kB / 0.6895 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.3999, allocations: 0 / 0.6895 GB, free: 11.14 MB / 0.5294 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 5.862e-05/0.3999, allocations: 113.8 kB / 0.6896 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.4, allocations: 288 / 0.6896 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.374e-05/0.4001, allocations: 124.9 kB / 0.6897 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.507e-05/0.4001, allocations: 180.2 kB / 0.6899 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.834e-05/0.4002, allocations: 188.2 kB / 0.6901 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.384e-05/0.4002, allocations: 184.1 kB / 0.6902 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.4004, allocations: 409.2 kB / 0.6906 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.657e-05/0.4004, allocations: 104.9 kB / 0.6907 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.4005, allocations: 101 kB / 0.6908 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.192e-05/0.4005, allocations: 176.3 kB / 0.691 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.4006, allocations: 188.2 kB / 0.6912 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.436e-05/0.4006, allocations: 180.2 kB / 0.6913 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.615e-05/0.4007, allocations: 184.2 kB / 0.6915 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.4008, allocations: 307.7 kB / 0.6918 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.4008, allocations: 186 kB / 0.692 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/0.4009, allocations: 184.3 kB / 0.6922 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.401, allocations: 104.9 kB / 0.6923 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.4011, allocations: 188.2 kB / 0.6924 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.4011, allocations: 104.9 kB / 0.6925 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.4012, allocations: 91.16 kB / 0.6926 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4012, allocations: 0 / 0.6926 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002812/0.4015, allocations: 59.92 kB / 0.6927 GB, free: 7.629 MB / 0.5294 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.0004778/0.4019, allocations: 0.8753 MB / 0.6935 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.489e-05/0.402, allocations: 15.94 kB / 0.6936 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.402, allocations: 0 / 0.6936 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.402, allocations: 0 / 0.6936 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.4024, allocations: 468.1 kB / 0.694 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/0.4032, allocations: 1.352 MB / 0.6953 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.4034, allocations: 0.6768 MB / 0.696 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.4034, allocations: 4 kB / 0.696 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.4035, allocations: 11.44 kB / 0.696 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.4035, allocations: 0 / 0.696 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.235/1.639, allocations: 2.106 MB / 0.6981 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/1.639, allocations: 210.1 kB / 0.6983 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.776/4.415, allocations: 2.672 kB / 0.6983 GB, free: 1.887 MB / 0.5294 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/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)