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.0006771/0.0006771, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007279/0.0007278, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.181/1.181, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6028/0.6028, allocations: 113.7 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002736/0.0002736, allocations: 8.531 kB / 493.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3335/0.4512, allocations: 122.6 MB / 0.6766 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001179/0.4513, allocations: 51.58 kB / 0.6766 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.531e-05/0.4514, allocations: 4 kB / 0.6766 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.221e-05/0.4515, allocations: 3.984 kB / 0.6766 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.922e-05/0.4515, allocations: 3.938 kB / 0.6766 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005725/0.4521, allocations: 196.3 kB / 0.6768 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.803e-05/0.4522, allocations: 47.81 kB / 0.6769 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.785e-05/0.4522, allocations: 0 / 0.6769 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.209e-05/0.4523, allocations: 16 kB / 0.6769 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.4523, allocations: 15.91 kB / 0.6769 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.4523, allocations: 8 kB / 0.6769 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.4527, allocations: 155 kB / 0.6771 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.4527, allocations: 7.969 kB / 0.6771 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.4527, allocations: 29.7 kB / 0.6771 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.4529, allocations: 102.1 kB / 0.6772 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4529, allocations: 0 / 0.6772 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4529, allocations: 0 / 0.6772 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.4529, allocations: 0 / 0.6772 GB, free: 15.22 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.0002895/0.4532, allocations: 355.3 kB / 0.6775 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.4532, allocations: 8.031 kB / 0.6775 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.4533, allocations: 34.56 kB / 0.6776 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.4533, allocations: 4.781 kB / 0.6776 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.921e-05/0.4534, allocations: 163.1 kB / 0.6777 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/0.4535, allocations: 33.62 kB / 0.6778 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.4535, allocations: 11.94 kB / 0.6778 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.828e-05/0.4536, allocations: 41.69 kB / 0.6778 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.4536, allocations: 0 / 0.6778 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.4536, allocations: 0 / 0.6778 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.4536, allocations: 4 kB / 0.6778 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.674e-05/0.4537, allocations: 19.92 kB / 0.6778 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.4543, allocations: 0.5999 MB / 0.6784 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.097e-05/0.4543, allocations: 18.58 kB / 0.6784 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.085e-05/0.4543, allocations: 8.859 kB / 0.6785 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.4545, allocations: 336.5 kB / 0.6788 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.4545, allocations: 31.62 kB / 0.6788 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.4545, allocations: 0 / 0.6788 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001092/0.4546, allocations: 41.62 kB / 0.6788 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.4547, allocations: 55.41 kB / 0.6789 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.084e-05/0.4547, allocations: 97.84 kB / 0.679 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.4548, allocations: 29.83 kB / 0.679 GB, free: 13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.4548, allocations: 92.05 kB / 0.6791 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-06/0.4548, allocations: 4.5 kB / 0.6791 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.4548, allocations: 0 / 0.6791 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.4549, allocations: 310.8 kB / 0.6794 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.4549, allocations: 8 kB / 0.6794 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.4549, allocations: 17.7 kB / 0.6794 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.774e-05/0.455, allocations: 11.95 kB / 0.6794 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.455, allocations: 3.938 kB / 0.6794 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.288e-05/0.455, allocations: 49.62 kB / 0.6795 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.455, allocations: 4 kB / 0.6795 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.4551, allocations: 0 / 0.6795 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.4551, allocations: 4 kB / 0.6795 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.512e-05/0.4551, allocations: 4 kB / 0.6795 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.4551, allocations: 0 / 0.6795 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.4551, allocations: 3.906 kB / 0.6795 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.4552, allocations: 4 kB / 0.6795 GB, free: 12.46 MB / 0.4981 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 6.559e-05/0.4552, allocations: 130.4 kB / 0.6796 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.4553, allocations: 4 kB / 0.6796 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.008e-05/0.4553, allocations: 109 kB / 0.6797 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.541e-05/0.4554, allocations: 184.2 kB / 0.6799 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.755e-05/0.4554, allocations: 185.9 kB / 0.6801 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.301e-05/0.4555, allocations: 184.3 kB / 0.6803 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.4557, allocations: 405.2 kB / 0.6807 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.927e-05/0.4557, allocations: 104.9 kB / 0.6808 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.4557, allocations: 108.9 kB / 0.6809 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-05/0.4558, allocations: 180.3 kB / 0.681 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.4558, allocations: 180.3 kB / 0.6812 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.447e-05/0.4559, allocations: 184.2 kB / 0.6814 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.014e-05/0.4559, allocations: 176.3 kB / 0.6816 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.456, allocations: 308 kB / 0.6818 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.4561, allocations: 186 kB / 0.682 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.4562, allocations: 184.2 kB / 0.6822 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.4563, allocations: 117.8 kB / 0.6823 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.4563, allocations: 180.2 kB / 0.6825 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.4564, allocations: 105 kB / 0.6826 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.406e-05/0.4564, allocations: 80.16 kB / 0.6827 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4564, allocations: 0 / 0.6827 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000255/0.4567, allocations: 59.92 kB / 0.6827 GB, free: 8.965 MB / 0.4981 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.000418/0.4571, allocations: 0.8876 MB / 0.6836 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.633e-05/0.4572, allocations: 8 kB / 0.6836 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4572, allocations: 0 / 0.6836 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.746e-06/0.4572, allocations: 4 kB / 0.6836 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.4575, allocations: 0.5303 MB / 0.6841 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.4578, allocations: 249.9 kB / 0.6844 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.458, allocations: 0.6731 MB / 0.685 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.4581, allocations: 4 kB / 0.685 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.4581, allocations: 15.44 kB / 0.685 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4581, allocations: 0 / 0.685 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0103/0.4684, allocations: 1.954 MB / 0.6869 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.4686, allocations: 196 kB / 0.6871 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.399/1.867, allocations: 3.938 kB / 0.6871 GB, free: 4.445 MB / 0.4981 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) Environment - environmentSimulation: