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.005145/0.005145, allocations: 101.2 kB / 15.88 MB, free: 6.32 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.001138/0.001137, allocations: 199 kB / 16.79 MB, free: 6.246 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.289/1.289, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.65/0.65, allocations: 115.3 MB / 406 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 55.88 kB / 493 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1189, allocations: 76.19 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3463/0.4652, allocations: 133.3 MB / 0.686 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00015/0.4654, allocations: 50.42 kB / 0.686 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.4654, allocations: 0 / 0.686 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.4655, allocations: 3.938 kB / 0.686 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.636e-05/0.4656, allocations: 19.91 kB / 0.6861 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007739/0.4664, allocations: 216.9 kB / 0.6863 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.612e-05/0.4665, allocations: 62.95 kB / 0.6863 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.255e-05/0.4666, allocations: 0 / 0.6863 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.793e-05/0.4666, allocations: 15.97 kB / 0.6863 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.03e-05/0.4667, allocations: 15.98 kB / 0.6864 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.4667, allocations: 0 / 0.6864 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005894/0.4673, allocations: 249 kB / 0.6866 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.4673, allocations: 0 / 0.6866 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.4674, allocations: 15.98 kB / 0.6866 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004377/0.4678, allocations: 193.8 kB / 0.6868 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4679, allocations: 0 / 0.6868 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4679, allocations: 0 / 0.6868 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4679, allocations: 4 kB / 0.6868 GB, free: 0.7773 MB / 0.4981 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.0004456/0.4683, allocations: 351.5 kB / 0.6871 GB, free: 396 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4684, allocations: 12.03 kB / 0.6871 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.4684, allocations: 30.75 kB / 0.6872 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.4685, allocations: 9.641 kB / 0.6872 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.4686, allocations: 168.3 kB / 0.6873 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.4686, allocations: 26.27 kB / 0.6874 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.4687, allocations: 3.938 kB / 0.6874 GB, free: 96 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.4688, allocations: 45.69 kB / 0.6874 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.4688, allocations: 4 kB / 0.6874 GB, free: 40 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.4688, allocations: 0 / 0.6874 GB, free: 40 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.4688, allocations: 3.938 kB / 0.6874 GB, free: 36 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.609e-05/0.4689, allocations: 23.92 kB / 0.6874 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007399/0.4696, allocations: 0.595 MB / 0.688 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.37e-05/0.4697, allocations: 18.52 kB / 0.688 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.4697, allocations: 12.92 kB / 0.6881 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.4699, allocations: 336.4 kB / 0.6884 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.4699, allocations: 34.5 kB / 0.6884 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.4699, allocations: 0 / 0.6884 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.4701, allocations: 37.69 kB / 0.6884 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.4701, allocations: 51.41 kB / 0.6885 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/0.4702, allocations: 105.8 kB / 0.6886 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.4702, allocations: 29.83 kB / 0.6886 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.4703, allocations: 84.05 kB / 0.6887 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.4703, allocations: 7.844 kB / 0.6887 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.4703, allocations: 17.72 kB / 0.6887 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.4704, allocations: 322.8 kB / 0.689 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.4704, allocations: 4 kB / 0.689 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.4705, allocations: 21.89 kB / 0.6891 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.622e-05/0.4705, allocations: 25.66 kB / 0.6891 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4705, allocations: 0 / 0.6891 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.163e-05/0.4706, allocations: 49.62 kB / 0.6891 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4706, allocations: 4 kB / 0.6891 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4706, allocations: 0 / 0.6891 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.4707, allocations: 4 kB / 0.6891 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.474e-05/0.4707, allocations: 7.984 kB / 0.6891 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.4707, allocations: 1.016 kB / 0.6891 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.4707, allocations: 4.062 kB / 0.6892 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.4708, allocations: 11.94 kB / 0.6892 GB, free: 13.96 MB / 0.5137 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 6.55e-05/0.4708, allocations: 105.8 kB / 0.6893 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.4709, allocations: 4 kB / 0.6893 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.896e-05/0.471, allocations: 116.9 kB / 0.6894 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-05/0.471, allocations: 184.3 kB / 0.6896 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-05/0.4711, allocations: 180.3 kB / 0.6897 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.726e-05/0.4712, allocations: 180.2 kB / 0.6899 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.4714, allocations: 413.1 kB / 0.6903 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.529e-05/0.4714, allocations: 104.9 kB / 0.6904 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.4715, allocations: 105 kB / 0.6905 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.718e-05/0.4715, allocations: 184.3 kB / 0.6907 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.268e-05/0.4716, allocations: 180.2 kB / 0.6908 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.066e-05/0.4717, allocations: 176.3 kB / 0.691 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.042e-05/0.4717, allocations: 186.5 kB / 0.6912 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.4719, allocations: 319.6 kB / 0.6915 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.4719, allocations: 182.1 kB / 0.6917 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.472, allocations: 176.3 kB / 0.6918 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.4722, allocations: 120.9 kB / 0.6919 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.4723, allocations: 176.3 kB / 0.6921 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.4723, allocations: 104.9 kB / 0.6922 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.599e-05/0.4723, allocations: 99.2 kB / 0.6923 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4724, allocations: 0 / 0.6923 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003047/0.4727, allocations: 47.94 kB / 0.6924 GB, free: 10.47 MB / 0.5137 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.000547/0.4732, allocations: 0.8793 MB / 0.6932 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.749e-05/0.4733, allocations: 15.94 kB / 0.6932 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4733, allocations: 0 / 0.6932 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.4733, allocations: 4 kB / 0.6932 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.4737, allocations: 0.5264 MB / 0.6937 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.4748, allocations: 1.347 MB / 0.6951 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.4751, allocations: 0.6692 MB / 0.6957 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.953e-05/0.4752, allocations: 17.19 kB / 0.6957 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.4752, allocations: 7.438 kB / 0.6957 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.4752, allocations: 0 / 0.6957 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0757/0.5509, allocations: 2.07 MB / 0.6978 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/0.5512, allocations: 208.8 kB / 0.698 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.46, allocations: 3.938 kB / 0.698 GB, free: 4.641 MB / 0.5137 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)