Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.495/1.495, allocations: 251.9 MB / 266.8 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001671/0.001671, allocations: 180.2 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008249/0.000825, allocations: 105.2 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 11.19 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2292, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001353/0.2306, allocations: 0.9961 MB / 0.9011 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007456/0.2314, allocations: 0.515 MB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.668e-05/0.2314, allocations: 0 / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.2315, allocations: 0 / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.2315, allocations: 15.98 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.2318, allocations: 79.73 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.143e-05/0.2319, allocations: 15.97 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.523e-05/0.232, allocations: 3.984 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.085e-05/0.232, allocations: 7.938 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.039e-05/0.2321, allocations: 8 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.2321, allocations: 4 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.2323, allocations: 155.7 kB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.354e-06/0.2324, allocations: 4 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.2324, allocations: 25.7 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.2325, allocations: 72.08 kB / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2325, allocations: 0 / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2325, allocations: 0 / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2326, allocations: 0 / 0.902 GB, free: 61.95 MB / 0.6042 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.0003188/0.2329, allocations: 339.4 kB / 0.9023 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2329, allocations: 12.03 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.233, allocations: 30.56 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004086/0.2334, allocations: 35.94 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.572e-05/0.2335, allocations: 167 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2335, allocations: 0 / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.2335, allocations: 0 / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.2337, allocations: 49.66 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2337, allocations: 0 / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2337, allocations: 4 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2337, allocations: 4 kB / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.2338, allocations: 19.98 kB / 0.9026 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.234, allocations: 169.4 kB / 0.9028 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.2341, allocations: 46.48 kB / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.2342, allocations: 0 / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.2342, allocations: 34.56 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.2342, allocations: 0 / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002812/0.2345, allocations: 69.72 kB / 0.9029 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.2345, allocations: 55.53 kB / 0.903 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.306e-05/0.2346, allocations: 101.8 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.2346, allocations: 25.7 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.288e-05/0.2346, allocations: 88.08 kB / 0.9032 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.2347, allocations: 11.84 kB / 0.9032 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.2347, allocations: 0 / 0.9032 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.816e-05/0.2347, allocations: 314.8 kB / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.2348, allocations: 11.98 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.868e-05/0.2349, allocations: 15.98 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.919e-05/0.2349, allocations: 12 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2349, allocations: 0 / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001412/0.2351, allocations: 57.66 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2351, allocations: 8 kB / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2351, allocations: 4.094 kB / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2351, allocations: 0 / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/0.2352, allocations: 7.984 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.2353, allocations: 0 / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.2353, allocations: 11.94 kB / 0.9036 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.2353, allocations: 0 / 0.9036 GB, free: 60.06 MB / 0.6042 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 6.613e-05/0.2354, allocations: 117.7 kB / 0.9037 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.2354, allocations: 4 kB / 0.9037 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.2355, allocations: 11.11 kB / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2355, allocations: 0 / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2355, allocations: 0 / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2355, allocations: 0 / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.054e-05/0.2356, allocations: 157.6 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2356, allocations: 0 / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.2357, allocations: 11.98 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2357, allocations: 0 / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.2357, allocations: 0 / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.2357, allocations: 4 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2357, allocations: 0 / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.2359, allocations: 85.09 kB / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.2359, allocations: 84.97 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.236, allocations: 0 / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.874e-05/0.236, allocations: 12.02 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.236, allocations: 4.125 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.236, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.2361, allocations: 91.2 kB / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2361, allocations: 0 / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002013/0.2363, allocations: 15.94 kB / 0.9042 GB, free: 59.38 MB / 0.6042 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.000388/0.2367, allocations: 0.6358 MB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.2369, allocations: 27.97 kB / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2369, allocations: 0 / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.689e-05/0.2369, allocations: 24.02 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.2371, allocations: 11.92 kB / 0.9049 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.2376, allocations: 148.9 kB / 0.905 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.2377, allocations: 0.677 MB / 0.9057 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.794e-05/0.2378, allocations: 16 kB / 0.9057 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.2379, allocations: 15.42 kB / 0.9057 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2379, allocations: 0 / 0.9057 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.2515, allocations: 1.348 MB / 0.907 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.2517, allocations: 214.4 kB / 0.9072 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/1.856, allocations: 0 / 0.9072 GB, free: 56.32 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)