Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.001401/0.001408, allocations: 100 kB / 15.05 MB, free: 1.105 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.002061/0.002061, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.513/3.513, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.322/3.322, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001437, allocations: 14.59 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6529/0.6544, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003521/0.6581, allocations: 0.9977 MB / 0.7882 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.6603, allocations: 0.5759 MB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.6604, allocations: 0 / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.6605, allocations: 0 / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.6606, allocations: 11.92 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.6617, allocations: 91.72 kB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.6618, allocations: 23.91 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.662, allocations: 4 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.662, allocations: 7.938 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.6622, allocations: 15.98 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.6622, allocations: 0 / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005865/0.6628, allocations: 151.8 kB / 0.7891 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.6629, allocations: 7.969 kB / 0.7891 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.73e-05/0.663, allocations: 33.7 kB / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.6633, allocations: 72.08 kB / 0.7892 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.6633, allocations: 0 / 0.7892 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.378e-06/0.6633, allocations: 0 / 0.7892 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.6633, allocations: 4 kB / 0.7892 GB, free: 9.852 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001208/0.6645, allocations: 347.3 kB / 0.7895 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001055/0.6647, allocations: 12.03 kB / 0.7895 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.6648, allocations: 34.5 kB / 0.7896 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007901/0.6656, allocations: 31.88 kB / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.666, allocations: 167 kB / 0.7898 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.6661, allocations: 3.984 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.6661, allocations: 4 kB / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.6665, allocations: 53.66 kB / 0.7898 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.6666, allocations: 4 kB / 0.7898 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.6666, allocations: 4 kB / 0.7898 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.6667, allocations: 0 / 0.7898 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.6669, allocations: 31.97 kB / 0.7899 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.6674, allocations: 157.6 kB / 0.79 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/0.668, allocations: 70.52 kB / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/0.6681, allocations: 4 kB / 0.7901 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.589e-05/0.6682, allocations: 34.56 kB / 0.7901 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.6682, allocations: 0 / 0.7901 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.005893/0.6741, allocations: 0.5802 MB / 0.7907 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.6743, allocations: 63.28 kB / 0.7907 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.6745, allocations: 93.86 kB / 0.7908 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.701e-05/0.6746, allocations: 33.64 kB / 0.7909 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.6748, allocations: 80.14 kB / 0.7909 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.6749, allocations: 19.7 kB / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.6749, allocations: 0 / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000435/0.6754, allocations: 318.8 kB / 0.7913 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.6756, allocations: 40.09 kB / 0.7913 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.6758, allocations: 35.97 kB / 0.7913 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.6761, allocations: 39.97 kB / 0.7914 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6761, allocations: 0 / 0.7914 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005636/0.6767, allocations: 117.6 kB / 0.7915 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.6768, allocations: 8 kB / 0.7915 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.6768, allocations: 0 / 0.7915 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.6768, allocations: 0 / 0.7915 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.6772, allocations: 27.91 kB / 0.7915 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.6772, allocations: 0 / 0.7915 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.6775, allocations: 11.98 kB / 0.7915 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.6775, allocations: 0 / 0.7915 GB, free: 7.191 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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 0.0002098/0.6777, allocations: 117.8 kB / 0.7916 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.6778, allocations: 3.906 kB / 0.7916 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.6779, allocations: 19.95 kB / 0.7917 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.678, allocations: 0 / 0.7917 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.678, allocations: 0 / 0.7917 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.678, allocations: 0 / 0.7917 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.6785, allocations: 191.7 kB / 0.7918 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6785, allocations: 0 / 0.7918 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.6789, allocations: 23.97 kB / 0.7919 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.6789, allocations: 0 / 0.7919 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.6789, allocations: 0 / 0.7919 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.679, allocations: 7.984 kB / 0.7919 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.679, allocations: 0 / 0.7919 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/0.6799, allocations: 196.9 kB / 0.7921 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.68, allocations: 77.23 kB / 0.7921 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.6801, allocations: 4 kB / 0.7921 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.6803, allocations: 12.02 kB / 0.7921 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.6804, allocations: 7.938 kB / 0.7922 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.6804, allocations: 7.984 kB / 0.7922 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.715e-05/0.6805, allocations: 83.22 kB / 0.7922 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6806, allocations: 160 / 0.7922 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004765/0.681, allocations: 31.94 kB / 0.7923 GB, free: 6.316 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.001979/0.683, allocations: 0.7567 MB / 0.793 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006528/0.6837, allocations: 83.92 kB / 0.7931 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6837, allocations: 0 / 0.7931 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.684, allocations: 51.95 kB / 0.7931 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.6844, allocations: 8 kB / 0.7932 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.6876, allocations: 0.5123 MB / 0.7937 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.6891, allocations: 0.6888 MB / 0.7943 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001085/0.6902, allocations: 31.91 kB / 0.7944 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.6905, allocations: 15.42 kB / 0.7944 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of SimCode: time 4.248e-06/0.6905, allocations: 4 kB / 0.7944 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03956/0.7301, allocations: 2.207 MB / 0.7965 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001589/0.7319, allocations: 243 kB / 0.7968 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.537/4.269, allocations: 4.062 kB / 0.7968 GB, free: 1.836 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: