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.001182/0.001182, allocations: 108 kB / 15.61 MB, free: 152 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.001102/0.001102, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 222.4 MB, free: 4.605 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 1.639/1.639, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001368/0.001368, allocations: 61.34 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2331, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002742/0.2359, allocations: 1.413 MB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00093/0.2368, allocations: 0.5985 MB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.2369, allocations: 0 / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.2369, allocations: 0 / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.072e-05/0.237, allocations: 7.922 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.2374, allocations: 99.56 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.991e-05/0.2375, allocations: 23.94 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2376, allocations: 7.984 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/0.2377, allocations: 8 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.2377, allocations: 15.92 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2377, allocations: 0 / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.238, allocations: 143.7 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.2381, allocations: 8 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.2381, allocations: 11.94 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.2383, allocations: 108 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2384, allocations: 0 / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2384, allocations: 0 / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.2384, allocations: 0 / 0.7858 GB, free: 10.93 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.0004992/0.2389, allocations: 355.4 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2389, allocations: 8.031 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.239, allocations: 34.75 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000412/0.2394, allocations: 32.89 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2395, allocations: 164.4 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-06/0.2395, allocations: 384 / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.2395, allocations: 4.359 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.2398, allocations: 66.14 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.2398, allocations: 11.88 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2398, allocations: 4 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2398, allocations: 7.938 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.2401, allocations: 47.94 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.2406, allocations: 280.8 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.2408, allocations: 66.41 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.2409, allocations: 28.89 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.241, allocations: 0 / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.241, allocations: 42.56 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.241, allocations: 0 / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0005228/0.2415, allocations: 105.6 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.2416, allocations: 55.53 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.2417, allocations: 101.8 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.2417, allocations: 29.7 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.2417, allocations: 80.14 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.2418, allocations: 3.906 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.2418, allocations: 25.64 kB / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2419, allocations: 310.8 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.2421, allocations: 27.97 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.2422, allocations: 27.97 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.2424, allocations: 56.86 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2425, allocations: 7.938 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003096/0.2428, allocations: 85.64 kB / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2428, allocations: 4 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2428, allocations: 0 / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2428, allocations: 4 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.243, allocations: 20 kB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.243, allocations: 3.938 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.581e-05/0.2431, allocations: 4 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.2431, allocations: 3.984 kB / 0.7879 GB, free: 8.621 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.346e-05/0.2432, allocations: 113.8 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.2432, allocations: 3.906 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.2433, allocations: 11.12 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2433, allocations: 0 / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.2433, allocations: 4 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2433, allocations: 0 / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.2435, allocations: 165.5 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2435, allocations: 0 / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.2436, allocations: 15.97 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2436, allocations: 3.938 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2436, allocations: 4 kB / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2436, allocations: 0 / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2436, allocations: 4 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.244, allocations: 187.4 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.244, allocations: 77.11 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.244, allocations: 4 kB / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.2442, allocations: 12.02 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.2442, allocations: 4.188 kB / 0.7884 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.2442, allocations: 3.984 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.059e-05/0.2443, allocations: 83.27 kB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2443, allocations: 0 / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002423/0.2445, allocations: 16 kB / 0.7885 GB, free: 7.828 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 (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.0006909/0.2452, allocations: 0.7241 MB / 0.7893 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.2455, allocations: 71.89 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2455, allocations: 0 / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.2457, allocations: 27.97 kB / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.246, allocations: 8 kB / 0.7894 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.2466, allocations: 172.2 kB / 0.7895 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.2469, allocations: 0.6807 MB / 0.7902 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.636e-05/0.247, allocations: 7.938 kB / 0.7902 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.247, allocations: 11.44 kB / 0.7902 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2471, allocations: 4 kB / 0.7902 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.2648, allocations: 1.629 MB / 0.7918 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/7.535, allocations: 10.84 kB / 0.7918 GB, free: 4.477 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/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)