Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 222.1 MB, free: 5.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5613/0.5613, allocations: 95.59 MB / 366 MB, free: 10.44 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005364/0.0005365, allocations: 23.98 kB / 446.8 MB, free: 9.449 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2883, allocations: 70.32 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001778/0.2901, allocations: 1.117 MB / 0.5061 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2912, allocations: 0.6646 MB / 0.5067 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.2913, allocations: 0 / 0.5067 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.2913, allocations: 7.938 kB / 0.5067 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.062e-05/0.2914, allocations: 7.984 kB / 0.5067 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.2919, allocations: 119.6 kB / 0.5069 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.917e-05/0.292, allocations: 11.98 kB / 0.5069 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.2921, allocations: 4 kB / 0.5069 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.005e-05/0.2921, allocations: 11.98 kB / 0.5069 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.2922, allocations: 11.92 kB / 0.5069 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.2922, allocations: 4 kB / 0.5069 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.2926, allocations: 223.6 kB / 0.5071 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.2926, allocations: 0 / 0.5071 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.2927, allocations: 29.7 kB / 0.5071 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.2929, allocations: 97.78 kB / 0.5072 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2929, allocations: 0 / 0.5072 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.2929, allocations: 0 / 0.5072 GB, free: 14.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2929, allocations: 0 / 0.5072 GB, free: 14.2 MB / 382.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.00047/0.2934, allocations: 367.2 kB / 0.5076 GB, free: 13.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2934, allocations: 11.98 kB / 0.5076 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.2935, allocations: 7.984 kB / 0.5076 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.699e-05/0.2936, allocations: 159.1 kB / 0.5078 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.2936, allocations: 4 kB / 0.5078 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.2936, allocations: 8 kB / 0.5078 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.2938, allocations: 65.56 kB / 0.5078 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2938, allocations: 0 / 0.5078 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2939, allocations: 0 / 0.5078 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2939, allocations: 3.938 kB / 0.5078 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.294, allocations: 43.91 kB / 0.5079 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.2944, allocations: 256.8 kB / 0.5081 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.2945, allocations: 42.5 kB / 0.5082 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2945, allocations: 64 / 0.5082 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.2946, allocations: 38.56 kB / 0.5082 GB, free: 13.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2946, allocations: 0 / 0.5082 GB, free: 13.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003525/0.2949, allocations: 93.77 kB / 0.5083 GB, free: 12.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.295, allocations: 55.41 kB / 0.5083 GB, free: 12.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.335e-05/0.295, allocations: 105.8 kB / 0.5084 GB, free: 12.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.295, allocations: 25.7 kB / 0.5085 GB, free: 12.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.2951, allocations: 84.14 kB / 0.5085 GB, free: 12.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.2951, allocations: 3.906 kB / 0.5085 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.2951, allocations: 0 / 0.5085 GB, free: 12.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.2952, allocations: 314.8 kB / 0.5088 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.2952, allocations: 31.92 kB / 0.5089 GB, free: 12.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.992e-05/0.2953, allocations: 15.98 kB / 0.5089 GB, free: 12.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.85e-05/0.2954, allocations: 23.98 kB / 0.5089 GB, free: 12.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2954, allocations: 4.062 kB / 0.5089 GB, free: 12.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001854/0.2956, allocations: 77.61 kB / 0.509 GB, free: 12.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2956, allocations: 4 kB / 0.509 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.2957, allocations: 4 kB / 0.509 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2957, allocations: 0 / 0.509 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.2958, allocations: 16.02 kB / 0.509 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.2958, allocations: 0 / 0.509 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.2958, allocations: 7.984 kB / 0.509 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.2958, allocations: 4 kB / 0.509 GB, free: 12.14 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.2959, allocations: 109.8 kB / 0.5091 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.2959, allocations: 3.953 kB / 0.5091 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.2962, allocations: 92.58 kB / 0.5092 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2962, allocations: 0 / 0.5092 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2962, allocations: 0 / 0.5092 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2962, allocations: 4 kB / 0.5092 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.2963, allocations: 165.6 kB / 0.5094 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2963, allocations: 0 / 0.5094 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.2964, allocations: 12.03 kB / 0.5094 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2964, allocations: 7.891 kB / 0.5094 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.2964, allocations: 4 kB / 0.5094 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2964, allocations: 3.984 kB / 0.5094 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2964, allocations: 0 / 0.5094 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.2966, allocations: 171.5 kB / 0.5096 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.2967, allocations: 81.09 kB / 0.5097 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.2967, allocations: 3.953 kB / 0.5097 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.2967, allocations: 11.94 kB / 0.5097 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.2968, allocations: 7.984 kB / 0.5097 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.2968, allocations: 4.031 kB / 0.5097 GB, free: 11.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.361e-05/0.2968, allocations: 79.28 kB / 0.5098 GB, free: 11.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2968, allocations: 0 / 0.5098 GB, free: 11.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.2971, allocations: 20 kB / 0.5098 GB, free: 11.27 MB / 382.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 (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.0001769/0.2973, allocations: 127.2 kB / 0.5099 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.2975, allocations: 47.97 kB / 0.5099 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2975, allocations: 0 / 0.5099 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/0.2976, allocations: 23.92 kB / 0.51 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.2978, allocations: 7.984 kB / 0.51 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.2981, allocations: 124.7 kB / 0.5101 GB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.2982, allocations: 0.677 MB / 0.5108 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.654e-05/0.2982, allocations: 7.984 kB / 0.5108 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.2983, allocations: 7.438 kB / 0.5108 GB, free: 10.2 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2983, allocations: 3.938 kB / 0.5108 GB, free: 10.2 MB / 382.1 MB Notification: Performance of Templates: time 0.002832/0.3011, allocations: 0.7489 MB / 0.5115 GB, free: 9.449 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: