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.001106/0.001106, allocations: 106.6 kB / 16.4 MB, free: 6.508 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.001263/0.001263, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.537/1.537, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7553/0.7553, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 71.02 kB / 0.5572 GB, free: 32.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2133, allocations: 76.17 MB / 0.6316 GB, free: 4.996 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 1.231/1.444, allocations: 135.4 MB / 0.7638 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0003511/1.445, allocations: 50.3 kB / 0.7638 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/1.445, allocations: 0.6875 kB / 0.7638 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002062/1.445, allocations: 7 kB / 0.7638 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001342/1.445, allocations: 11.12 kB / 0.7638 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/1.447, allocations: 241.9 kB / 0.7641 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000148/1.447, allocations: 27.95 kB / 0.7641 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.776e-05/1.447, allocations: 3.641 kB / 0.7641 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.562e-05/1.447, allocations: 23.97 kB / 0.7641 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/1.448, allocations: 9.984 kB / 0.7641 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/1.448, allocations: 0 / 0.7641 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007527/1.448, allocations: 242.9 kB / 0.7643 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.363e-05/1.448, allocations: 7.922 kB / 0.7644 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/1.448, allocations: 9.875 kB / 0.7644 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006696/1.449, allocations: 193 kB / 0.7646 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.679e-06/1.449, allocations: 1.125 kB / 0.7646 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.918e-06/1.449, allocations: 0 / 0.7646 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.394e-05/1.449, allocations: 0 / 0.7646 GB, free: 15.15 MB / 0.5919 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.0007646/1.45, allocations: 361.9 kB / 0.7649 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.602e-05/1.45, allocations: 10.34 kB / 0.7649 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.724e-05/1.45, allocations: 34.75 kB / 0.7649 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/1.45, allocations: 6.656 kB / 0.7649 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/1.45, allocations: 171.7 kB / 0.7651 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/1.451, allocations: 30.22 kB / 0.7651 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/1.451, allocations: 3.938 kB / 0.7651 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/1.451, allocations: 45.06 kB / 0.7652 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/1.451, allocations: 0 / 0.7652 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/1.451, allocations: 0 / 0.7652 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/1.451, allocations: 0.875 kB / 0.7652 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.564e-05/1.451, allocations: 21.27 kB / 0.7652 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/1.452, allocations: 0.593 MB / 0.7658 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.952e-05/1.452, allocations: 27.81 kB / 0.7658 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/1.452, allocations: 4.859 kB / 0.7658 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003693/1.453, allocations: 332.8 kB / 0.7661 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/1.453, allocations: 38.12 kB / 0.7662 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/1.453, allocations: 0 / 0.7662 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0002361/1.453, allocations: 35.17 kB / 0.7662 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/1.453, allocations: 55.34 kB / 0.7663 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/1.453, allocations: 102 kB / 0.7664 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/1.453, allocations: 26.45 kB / 0.7664 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/1.454, allocations: 87.77 kB / 0.7665 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/1.454, allocations: 12.73 kB / 0.7665 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/1.454, allocations: 19.83 kB / 0.7665 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.454, allocations: 317.2 kB / 0.7668 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/1.454, allocations: 8.969 kB / 0.7668 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.542e-05/1.454, allocations: 12.12 kB / 0.7668 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.262e-05/1.454, allocations: 20.95 kB / 0.7668 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.454, allocations: 7.562 kB / 0.7668 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00012/1.454, allocations: 45.89 kB / 0.7669 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.454, allocations: 5.688 kB / 0.7669 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.454, allocations: 1.859 kB / 0.7669 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/1.454, allocations: 4.219 kB / 0.7669 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/1.454, allocations: 6.266 kB / 0.7669 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/1.454, allocations: 0 / 0.7669 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.703e-05/1.454, allocations: 0 / 0.7669 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/1.454, allocations: 7.5 kB / 0.7669 GB, free: 12.64 MB / 0.5919 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 0.0001297/1.454, allocations: 121.4 kB / 0.767 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/1.455, allocations: 0 / 0.767 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/1.455, allocations: 120.7 kB / 0.7671 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.725e-05/1.455, allocations: 180.2 kB / 0.7673 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001019/1.455, allocations: 178.8 kB / 0.7675 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001101/1.455, allocations: 185.8 kB / 0.7677 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/1.456, allocations: 417.2 kB / 0.7681 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.418e-05/1.456, allocations: 102.1 kB / 0.7682 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/1.456, allocations: 105.9 kB / 0.7683 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-05/1.456, allocations: 177.8 kB / 0.7684 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.83e-05/1.456, allocations: 181.5 kB / 0.7686 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001035/1.456, allocations: 184.2 kB / 0.7688 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001058/1.456, allocations: 178.3 kB / 0.7689 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/1.456, allocations: 312.8 kB / 0.7692 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.456, allocations: 194.8 kB / 0.7694 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/1.457, allocations: 184.2 kB / 0.7696 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/1.457, allocations: 105.9 kB / 0.7697 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.561e-05/1.457, allocations: 186.9 kB / 0.7699 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/1.457, allocations: 101 kB / 0.77 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.068e-05/1.457, allocations: 88.39 kB / 0.7701 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.457, allocations: 0 / 0.7701 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005353/1.458, allocations: 56.25 kB / 0.7701 GB, free: 9.262 MB / 0.5919 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.00102/1.459, allocations: 0.884 MB / 0.771 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001354/1.459, allocations: 10.44 kB / 0.771 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.459, allocations: 0 / 0.771 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/1.459, allocations: 0.875 kB / 0.771 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/1.459, allocations: 461.5 kB / 0.7714 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/1.461, allocations: 1.345 MB / 0.7727 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/1.461, allocations: 0.6775 MB / 0.7734 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.835e-05/1.461, allocations: 5.875 kB / 0.7734 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/1.461, allocations: 9.781 kB / 0.7734 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of SimCode: time 8.12e-07/1.461, allocations: 4 kB / 0.7734 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/1.495, allocations: 2.215 MB / 0.7756 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/14.66, allocations: 14.3 kB / 0.7756 GB, free: 5.453 MB / 0.5919 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)