Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_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.002263/0.002262, 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.003292/0.003293, allocations: 177.3 kB / 15.94 MB, free: 228 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.978/3.978, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.313/3.313, 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.001129/0.001129, allocations: 13.06 kB / 0.6736 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5843, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003701/0.5881, allocations: 1.121 MB / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.5897, allocations: 0.5446 MB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.5898, allocations: 4 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.5899, allocations: 3.938 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.59, allocations: 0 / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008573/0.5909, allocations: 91.72 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.591, allocations: 7.984 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.5912, allocations: 15.97 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.5913, allocations: 7.938 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.865e-05/0.5914, allocations: 11.98 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.5914, allocations: 4 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005121/0.5919, allocations: 155.7 kB / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.5919, allocations: 0 / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.592, allocations: 29.7 kB / 0.7892 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.5923, allocations: 76.12 kB / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5923, allocations: 0 / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.12e-06/0.5923, allocations: 0 / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.5924, allocations: 0 / 0.7892 GB, free: 9.805 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0009711/0.5933, allocations: 359.2 kB / 0.7896 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.851e-05/0.5934, allocations: 12.03 kB / 0.7896 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.592e-05/0.5935, allocations: 38.5 kB / 0.7896 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006453/0.5942, allocations: 27.95 kB / 0.7897 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.5944, allocations: 163 kB / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.5944, allocations: 0 / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.5945, allocations: 11.94 kB / 0.7898 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.5949, allocations: 65.64 kB / 0.7899 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5949, allocations: 0 / 0.7899 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.5949, allocations: 4 kB / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5949, allocations: 0 / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.5954, allocations: 67.94 kB / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006994/0.5961, allocations: 272.8 kB / 0.7902 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.5964, allocations: 66.53 kB / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.5965, allocations: 0 / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.5965, allocations: 30.56 kB / 0.7903 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5965, allocations: 4 kB / 0.7903 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0008409/0.5974, allocations: 137.6 kB / 0.7904 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.5975, allocations: 55.36 kB / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.5977, allocations: 105.8 kB / 0.7906 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.5977, allocations: 25.7 kB / 0.7906 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.5979, allocations: 84.12 kB / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.5979, allocations: 3.906 kB / 0.7907 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.5979, allocations: 3.938 kB / 0.7907 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002669/0.5982, allocations: 326.9 kB / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.5984, allocations: 27.97 kB / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.5986, allocations: 31.97 kB / 0.7911 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.5989, allocations: 32.05 kB / 0.7911 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5989, allocations: 0 / 0.7911 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0008119/0.5997, allocations: 101.6 kB / 0.7912 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.5998, allocations: 8 kB / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.5999, allocations: 4 kB / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.5999, allocations: 0 / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.6002, allocations: 11.98 kB / 0.7912 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.6002, allocations: 0 / 0.7912 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.6004, allocations: 19.97 kB / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.6004, allocations: 4 kB / 0.7912 GB, free: 7.52 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.0002557/0.6007, allocations: 113.8 kB / 0.7914 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.6008, allocations: 0 / 0.7914 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.6009, allocations: 7.125 kB / 0.7914 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.6009, allocations: 3.938 kB / 0.7914 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.6009, allocations: 4 kB / 0.7914 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6009, allocations: 0 / 0.7914 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.6014, allocations: 169.6 kB / 0.7915 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.6014, allocations: 0 / 0.7915 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.6016, allocations: 15.97 kB / 0.7915 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.6016, allocations: 0 / 0.7915 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.6016, allocations: 4 kB / 0.7916 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.6016, allocations: 0 / 0.7916 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6016, allocations: 0 / 0.7916 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/0.6022, allocations: 211.5 kB / 0.7918 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.6023, allocations: 81.09 kB / 0.7918 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.6024, allocations: 0 / 0.7918 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.6026, allocations: 11.98 kB / 0.7918 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.6027, allocations: 0 / 0.7918 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.6027, allocations: 4 kB / 0.7918 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.173e-05/0.6028, allocations: 79.27 kB / 0.7919 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6028, allocations: 0 / 0.7919 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005536/0.6034, allocations: 16 kB / 0.7919 GB, free: 6.719 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.001357/0.6048, allocations: 0.7475 MB / 0.7927 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004957/0.6053, allocations: 71.91 kB / 0.7927 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6053, allocations: 0 / 0.7927 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.6055, allocations: 35.95 kB / 0.7928 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.6059, allocations: 4 kB / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.607, allocations: 178.3 kB / 0.7929 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.6077, allocations: 0.677 MB / 0.7936 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000155/0.6079, allocations: 11.94 kB / 0.7936 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.608, allocations: 15.42 kB / 0.7936 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.608, allocations: 0 / 0.7936 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.6313, allocations: 1.37 MB / 0.795 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003648/0.6317, allocations: 198.5 kB / 0.7952 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.182/3.814, allocations: 0.75 kB / 0.7952 GB, free: 3.418 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: