Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_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.001559/0.001559, allocations: 108 kB / 15.6 MB, free: 132 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.001981/0.001981, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002332/0.002332, allocations: 279 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.008/1.008, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 95.98 kB / 0.5953 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1914, allocations: 86.99 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002946/0.1944, allocations: 1.396 MB / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1954, allocations: 0.5876 MB / 0.6822 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.1955, allocations: 4.531 kB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.1955, allocations: 0.5312 kB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.644e-05/0.1956, allocations: 4.594 kB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.1961, allocations: 101.4 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.115e-05/0.1962, allocations: 27.86 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.1963, allocations: 4 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.1964, allocations: 6.656 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.831e-05/0.1964, allocations: 15.92 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1964, allocations: 4 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.1968, allocations: 151.7 kB / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.1968, allocations: 0 / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.1968, allocations: 11.94 kB / 0.6825 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.1971, allocations: 99.75 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1971, allocations: 4.781 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1971, allocations: 0 / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1971, allocations: 0.875 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB 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.0004533/0.1975, allocations: 352 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1976, allocations: 13.16 kB / 0.683 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.1976, allocations: 30.75 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004408/0.1981, allocations: 37.73 kB / 0.6831 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1982, allocations: 164.3 kB / 0.6832 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1982, allocations: 8.312 kB / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.1983, allocations: 12.36 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.1985, allocations: 62.2 kB / 0.6833 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1985, allocations: 3.938 kB / 0.6833 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1985, allocations: 0 / 0.6833 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1985, allocations: 0 / 0.6833 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.1988, allocations: 55.94 kB / 0.6834 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.1993, allocations: 272.9 kB / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.1995, allocations: 66.41 kB / 0.6837 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.1997, allocations: 32.89 kB / 0.6837 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1997, allocations: 0 / 0.6837 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.1997, allocations: 30.56 kB / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1997, allocations: 4 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005209/0.2003, allocations: 117.5 kB / 0.6839 GB, free: 12.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2003, allocations: 55.34 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.226e-05/0.2004, allocations: 97.84 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2004, allocations: 29.83 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.2005, allocations: 88.14 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.2005, allocations: 11.78 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.2006, allocations: 17.7 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.2007, allocations: 314.8 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.2008, allocations: 23.97 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.2009, allocations: 31.97 kB / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.2012, allocations: 56.8 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2012, allocations: 3.938 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003102/0.2015, allocations: 89.64 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2015, allocations: 4 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2015, allocations: 0 / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2016, allocations: 0 / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.2017, allocations: 15.97 kB / 0.6847 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2017, allocations: 0 / 0.6847 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.644e-05/0.2018, allocations: 12.03 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.2018, allocations: 3.984 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB 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 7.518e-05/0.2019, allocations: 115.1 kB / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.2019, allocations: 4 kB / 0.6848 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.202, allocations: 3.125 kB / 0.6848 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.202, allocations: 0 / 0.6848 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.202, allocations: 0 / 0.6848 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.202, allocations: 0 / 0.6848 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.2022, allocations: 177.6 kB / 0.685 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2022, allocations: 0 / 0.685 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.2023, allocations: 11.98 kB / 0.685 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2023, allocations: 0 / 0.685 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.2023, allocations: 0 / 0.685 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2023, allocations: 4 kB / 0.685 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2023, allocations: 0 / 0.685 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.2027, allocations: 195.3 kB / 0.6852 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.2028, allocations: 77.11 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.2028, allocations: 4 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.203, allocations: 11.98 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.203, allocations: 192 / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.203, allocations: 8.016 kB / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.201e-05/0.2031, allocations: 87.27 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2031, allocations: 3.938 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.2033, allocations: 12 kB / 0.6854 GB, free: 11.05 MB / 494.1 MB 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.0007293/0.2041, allocations: 0.7357 MB / 0.6861 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.2044, allocations: 59.88 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.2044, allocations: 4.094 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.2046, allocations: 27.97 kB / 0.6862 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.2049, allocations: 8 kB / 0.6862 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.2055, allocations: 164.9 kB / 0.6863 GB, free: 9.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.2058, allocations: 0.6768 MB / 0.687 GB, free: 9.289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.294e-05/0.2059, allocations: 15.84 kB / 0.687 GB, free: 9.273 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.2059, allocations: 11.44 kB / 0.687 GB, free: 9.262 MB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2059, allocations: 0 / 0.687 GB, free: 9.262 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.227, allocations: 1.653 MB / 0.6886 GB, free: 7.738 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.158, allocations: 5.969 kB / 0.6886 GB, free: 7.734 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)