Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_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.51/1.51, allocations: 252 MB / 267 MB, free: 10.98 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.001092/0.001092, allocations: 179.9 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.178/2.178, allocations: 205.4 MB / 0.5777 GB, free: 20.56 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.0008185/0.0008187, allocations: 86.89 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003241, allocations: 10.53 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2343, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001619/0.236, allocations: 1.122 MB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.2368, allocations: 0.5668 MB / 0.9019 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.2369, allocations: 0 / 0.9019 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.2369, allocations: 0 / 0.9019 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.59e-05/0.237, allocations: 3.938 kB / 0.9019 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.2374, allocations: 83.7 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.473e-05/0.2374, allocations: 31.86 kB / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.652e-05/0.2375, allocations: 0 / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.2376, allocations: 15.91 kB / 0.9021 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.566e-05/0.2376, allocations: 11.98 kB / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.2376, allocations: 7.875 kB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.2379, allocations: 139.8 kB / 0.9022 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.425e-06/0.2379, allocations: 4 kB / 0.9022 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.2379, allocations: 29.64 kB / 0.9023 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.2381, allocations: 72.12 kB / 0.9023 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2381, allocations: 4 kB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2381, allocations: 0 / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2381, allocations: 0 / 0.9023 GB, free: 62.09 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000388/0.2385, allocations: 355.3 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.2386, allocations: 12.03 kB / 0.9027 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.2386, allocations: 30.56 kB / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004212/0.239, allocations: 35.86 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.765e-05/0.2391, allocations: 179 kB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2391, allocations: 0 / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.2392, allocations: 0 / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.2394, allocations: 69.64 kB / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2394, allocations: 7.938 kB / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2394, allocations: 0 / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2394, allocations: 0 / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.2397, allocations: 63.94 kB / 0.9031 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.2401, allocations: 284.6 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.2403, allocations: 62.53 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.2405, allocations: 36.89 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.2405, allocations: 0 / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.2405, allocations: 42.5 kB / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2405, allocations: 0 / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004848/0.241, allocations: 129.6 kB / 0.9036 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.241, allocations: 55.36 kB / 0.9036 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.904e-05/0.2411, allocations: 101.8 kB / 0.9037 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.2411, allocations: 25.7 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.305e-05/0.2411, allocations: 80.14 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.2412, allocations: 8.031 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.2412, allocations: 4 kB / 0.9038 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.2412, allocations: 314.8 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.2414, allocations: 31.97 kB / 0.9042 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.2415, allocations: 35.91 kB / 0.9042 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.2416, allocations: 31.97 kB / 0.9042 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2416, allocations: 0 / 0.9042 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002884/0.2419, allocations: 101.7 kB / 0.9043 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2419, allocations: 4 kB / 0.9043 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.242, allocations: 0 / 0.9043 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.242, allocations: 0 / 0.9043 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.2421, allocations: 23.95 kB / 0.9044 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2421, allocations: 0 / 0.9044 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.547e-05/0.2422, allocations: 23.78 kB / 0.9044 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.2423, allocations: 0 / 0.9044 GB, free: 59.76 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 5.591e-05/0.2423, allocations: 109.8 kB / 0.9045 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.2423, allocations: 4 kB / 0.9045 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.2424, allocations: 11.11 kB / 0.9045 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2424, allocations: 0 / 0.9045 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2424, allocations: 0 / 0.9045 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2424, allocations: 0 / 0.9045 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.2425, allocations: 169.6 kB / 0.9047 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2425, allocations: 3.938 kB / 0.9047 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.2427, allocations: 15.98 kB / 0.9047 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2427, allocations: 3.938 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.2427, allocations: 3.984 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2427, allocations: 4 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2427, allocations: 3.984 kB / 0.9047 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.243, allocations: 195.5 kB / 0.9049 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.243, allocations: 81.28 kB / 0.905 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.2431, allocations: 0 / 0.905 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.2432, allocations: 11.98 kB / 0.905 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.2432, allocations: 7.984 kB / 0.905 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.2432, allocations: 4 kB / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.195e-05/0.2433, allocations: 83.31 kB / 0.9051 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2433, allocations: 0 / 0.9051 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002154/0.2435, allocations: 15.98 kB / 0.9051 GB, free: 58.96 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.000533/0.244, allocations: 0.7435 MB / 0.9058 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.2443, allocations: 67.97 kB / 0.9059 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2443, allocations: 0 / 0.9059 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.2445, allocations: 39.91 kB / 0.9059 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.2447, allocations: 8.109 kB / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005171/0.2453, allocations: 166.2 kB / 0.9061 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.2454, allocations: 0.6731 MB / 0.9067 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.032e-05/0.2455, allocations: 19.92 kB / 0.9068 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.2455, allocations: 7.438 kB / 0.9068 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2455, allocations: 0 / 0.9068 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01168/0.2572, allocations: 1.405 MB / 0.9081 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.2575, allocations: 207 kB / 0.9083 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/1.73, allocations: 0 / 0.9083 GB, free: 55.67 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)