Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.583/2.583, allocations: 287.3 MB / 302.3 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.00149, allocations: 190.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.228/2.228, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001084, allocations: 85.69 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006895/0.0006899, allocations: 10.78 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.257, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001661/0.2587, allocations: 1.129 MB / 0.9794 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2599, allocations: 0.5366 MB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.2599, allocations: 0 / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.26, allocations: 0 / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.745e-05/0.2601, allocations: 15.97 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.2605, allocations: 83.73 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.952e-05/0.2606, allocations: 11.98 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.2606, allocations: 7.938 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.075e-05/0.2607, allocations: 7.984 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.2608, allocations: 8 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2608, allocations: 4 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.2611, allocations: 163.7 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.2612, allocations: 3.984 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.2612, allocations: 29.64 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.2614, allocations: 72.12 kB / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2614, allocations: 0 / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2614, allocations: 0 / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2615, allocations: 0 / 0.9803 GB, free: 26.24 MB / 0.6198 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.0004668/0.2619, allocations: 365.3 kB / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.262, allocations: 12.02 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.262, allocations: 30.56 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008617/0.2629, allocations: 27.92 kB / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.263, allocations: 167.1 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2631, allocations: 8 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.2631, allocations: 0 / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.2634, allocations: 69.64 kB / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.2635, allocations: 0 / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.2635, allocations: 0 / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2635, allocations: 7.875 kB / 0.9809 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.264, allocations: 63.94 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.2646, allocations: 284.8 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.2649, allocations: 62.53 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.265, allocations: 0 / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.265, allocations: 34.56 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.004e-06/0.265, allocations: 3.938 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0007946/0.2658, allocations: 133.6 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2659, allocations: 55.41 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.231e-05/0.2659, allocations: 101.8 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.266, allocations: 29.7 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.266, allocations: 84.14 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.266, allocations: 3.906 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.2661, allocations: 0 / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.2661, allocations: 314.9 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.2663, allocations: 31.97 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.2666, allocations: 35.97 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.2668, allocations: 27.97 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.2668, allocations: 3.938 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005267/0.2674, allocations: 101.7 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2674, allocations: 9.547 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2674, allocations: 0 / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2674, allocations: 192 / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.2677, allocations: 15.98 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2677, allocations: 7.984 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.2678, allocations: 11.98 kB / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.2679, allocations: 3.984 kB / 0.9823 GB, free: 23.96 MB / 0.6198 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 7.299e-05/0.2679, allocations: 109.8 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.268, allocations: 0 / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.2681, allocations: 15.11 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2681, allocations: 4 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2681, allocations: 0 / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2681, allocations: 3.953 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.2683, allocations: 161.6 kB / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2683, allocations: 0 / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.2685, allocations: 15.98 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2685, allocations: 3.938 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.2685, allocations: 7.984 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2685, allocations: 4 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2686, allocations: 4 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005322/0.2691, allocations: 191.4 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.2691, allocations: 85.09 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.2692, allocations: 4 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.2694, allocations: 12 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.2694, allocations: 3.984 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.2694, allocations: 0 / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.292e-05/0.2695, allocations: 79.28 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.3e-07/0.2695, allocations: 4.031 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000329/0.2698, allocations: 19.89 kB / 0.983 GB, free: 23.15 MB / 0.6198 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.0008022/0.2707, allocations: 0.7397 MB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004891/0.2712, allocations: 71.97 kB / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2712, allocations: 0 / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.2714, allocations: 35.97 kB / 0.9838 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.2717, allocations: 4.125 kB / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007412/0.2724, allocations: 178.2 kB / 0.984 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.2726, allocations: 0.677 MB / 0.9847 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000145/0.2727, allocations: 12 kB / 0.9847 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.2728, allocations: 15.38 kB / 0.9847 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of SimCode: time 8.52e-07/0.2728, allocations: 0 / 0.9847 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.2939, allocations: 1.374 MB / 0.986 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/0.2942, allocations: 200.8 kB / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/2.692, allocations: 0 / 0.9862 GB, free: 19.86 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)