Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.001517/0.001517, allocations: 99.86 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.001723/0.001724, 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.705/3.705, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.206/3.206, allocations: 292.6 MB / 0.5498 GB, free: 14.62 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.001113/0.001113, allocations: 17.94 kB / 0.6737 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5369/0.5381, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002982/0.5412, allocations: 1.004 MB / 0.7882 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.5428, allocations: 0.5072 MB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.726e-05/0.5429, allocations: 0 / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.5429, allocations: 0 / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.543, allocations: 11.98 kB / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000853/0.5439, allocations: 83.73 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.5441, allocations: 15.97 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.5442, allocations: 3.984 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.5443, allocations: 7.938 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.5445, allocations: 7.984 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.5445, allocations: 0 / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008005/0.5453, allocations: 159.7 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.5454, allocations: 4 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.398e-05/0.5455, allocations: 29.7 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.5459, allocations: 64.14 kB / 0.7891 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.5459, allocations: 4 kB / 0.7891 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.392e-06/0.5459, allocations: 0 / 0.7891 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.546, allocations: 0 / 0.7891 GB, free: 9.988 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.001193/0.5472, allocations: 343.3 kB / 0.7894 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 0.000124/0.5473, allocations: 8.031 kB / 0.7894 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.5474, allocations: 34.56 kB / 0.7894 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007254/0.5482, allocations: 31.95 kB / 0.7895 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.5485, allocations: 167 kB / 0.7896 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.5486, allocations: 3.938 kB / 0.7896 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.5486, allocations: 0 / 0.7896 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.5489, allocations: 53.59 kB / 0.7897 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.5489, allocations: 0 / 0.7897 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.549, allocations: 7.938 kB / 0.7897 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.549, allocations: 3.984 kB / 0.7897 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.5492, allocations: 19.98 kB / 0.7897 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.5496, allocations: 157.6 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.5499, allocations: 50.52 kB / 0.7899 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.55, allocations: 0 / 0.7899 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/0.55, allocations: 30.56 kB / 0.7899 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.55, allocations: 0 / 0.7899 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004923/0.5505, allocations: 69.72 kB / 0.79 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.5507, allocations: 55.53 kB / 0.7901 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.5509, allocations: 101.8 kB / 0.7902 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.5509, allocations: 25.7 kB / 0.7902 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.551, allocations: 80.14 kB / 0.7903 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.5511, allocations: 7.844 kB / 0.7903 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.5511, allocations: 0 / 0.7903 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003527/0.5515, allocations: 322.8 kB / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.831e-05/0.5516, allocations: 11.92 kB / 0.7906 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.5517, allocations: 19.98 kB / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.5519, allocations: 4 kB / 0.7906 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5519, allocations: 4 kB / 0.7906 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004808/0.5524, allocations: 61.66 kB / 0.7907 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/0.5524, allocations: 4.094 kB / 0.7907 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.5525, allocations: 4 kB / 0.7907 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.118e-05/0.5525, allocations: 0 / 0.7907 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.5528, allocations: 15.98 kB / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.5528, allocations: 0 / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.553, allocations: 0 / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.5531, allocations: 4 kB / 0.7907 GB, free: 8.098 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 (2): * Single equations (assignments): 2 * 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.0003219/0.5534, allocations: 109.8 kB / 0.7908 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.5535, allocations: 3.906 kB / 0.7908 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.5537, allocations: 19.11 kB / 0.7908 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.5537, allocations: 0 / 0.7908 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.5537, allocations: 3.938 kB / 0.7908 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.5538, allocations: 0 / 0.7908 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.5542, allocations: 161.6 kB / 0.791 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5542, allocations: 0 / 0.791 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.5543, allocations: 7.984 kB / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.5543, allocations: 3.938 kB / 0.791 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.5544, allocations: 8 kB / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.5544, allocations: 0 / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.5544, allocations: 3.984 kB / 0.791 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.5547, allocations: 81.06 kB / 0.7911 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.5549, allocations: 85.09 kB / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.5549, allocations: 0 / 0.7912 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.555, allocations: 12.02 kB / 0.7912 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.5551, allocations: 0 / 0.7912 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.5551, allocations: 0 / 0.7912 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.628e-05/0.5552, allocations: 79.28 kB / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.602e-06/0.5552, allocations: 0 / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004036/0.5556, allocations: 15.94 kB / 0.7913 GB, free: 7.414 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.001389/0.557, allocations: 0.6358 MB / 0.7919 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003517/0.5574, allocations: 27.97 kB / 0.7919 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.5574, allocations: 96 / 0.7919 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.5576, allocations: 23.92 kB / 0.7919 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.558, allocations: 4 kB / 0.7919 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.5591, allocations: 161 kB / 0.7921 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.5603, allocations: 0.681 MB / 0.7928 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00019/0.5605, allocations: 15.88 kB / 0.7928 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.5606, allocations: 11.42 kB / 0.7928 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of SimCode: time 8.11e-07/0.5606, allocations: 0 / 0.7928 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.5903, allocations: 1.356 MB / 0.7941 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003877/0.5908, allocations: 202.4 kB / 0.7943 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.253/3.844, allocations: 0 / 0.7943 GB, free: 4.352 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: