Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 107.5 kB / 16.37 MB, free: 6.465 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.001247/0.001247, allocations: 186.3 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.877/1.877, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001482/0.001483, allocations: 79.12 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2497, allocations: 114.5 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002582/0.2523, allocations: 1.287 MB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009695/0.2533, allocations: 0.578 MB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.2533, allocations: 0 / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.2534, allocations: 0 / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.572e-05/0.2534, allocations: 3.938 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.2538, allocations: 95.55 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.074e-05/0.2539, allocations: 19.88 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.2539, allocations: 4 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.254, allocations: 7.938 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.789e-05/0.254, allocations: 15.92 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.254, allocations: 0 / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.2543, allocations: 147.8 kB / 0.7869 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.316e-06/0.2543, allocations: 0 / 0.7869 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.2543, allocations: 7.938 kB / 0.7869 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.2545, allocations: 87.78 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2545, allocations: 4 kB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2545, allocations: 0 / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2546, allocations: 0 / 0.787 GB, free: 0.8906 MB / 0.6544 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.000408/0.255, allocations: 347.5 kB / 0.7873 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.255, allocations: 12.03 kB / 0.7873 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.2554, allocations: 28.8 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2556, allocations: 164.4 kB / 0.7875 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2556, allocations: 384 / 0.7875 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.2556, allocations: 384 / 0.7875 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.2557, allocations: 54.22 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2558, allocations: 192 / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2558, allocations: 3.938 kB / 0.7876 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2558, allocations: 0 / 0.7876 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.2559, allocations: 31.89 kB / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5196/0.7755, allocations: 153.7 kB / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.7758, allocations: 42.2 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/0.7759, allocations: 16.3 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.7759, allocations: 5.109 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.776, allocations: 30.56 kB / 0.7878 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/0.776, allocations: 2.125 kB / 0.7878 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003443/0.7763, allocations: 75.62 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.7764, allocations: 52.25 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.985e-05/0.7764, allocations: 100.9 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.7765, allocations: 25.7 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.929e-05/0.7765, allocations: 83.39 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.7765, allocations: 8.453 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.7766, allocations: 22.19 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.666e-05/0.7766, allocations: 313.9 kB / 0.7885 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.7767, allocations: 8.391 kB / 0.7885 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.563e-05/0.7768, allocations: 19.17 kB / 0.7885 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.7769, allocations: 33.03 kB / 0.7886 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7769, allocations: 0.5938 kB / 0.7886 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001533/0.7771, allocations: 61.64 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.7771, allocations: 9.938 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7771, allocations: 6.75 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.7771, allocations: 0 / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.7772, allocations: 8.203 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.7772, allocations: 2.812 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.081e-05/0.7773, allocations: 4.406 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.7773, allocations: 6.938 kB / 0.7886 GB, free: 48.03 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.428e-05/0.7774, allocations: 109.1 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.7774, allocations: 0.5938 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.7775, allocations: 10.94 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.7775, allocations: 0 / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7775, allocations: 0.6562 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7775, allocations: 0 / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.799e-05/0.7776, allocations: 163 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7776, allocations: 0.5312 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.7777, allocations: 8.656 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7777, allocations: 1.406 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.7777, allocations: 0 / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7777, allocations: 5 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7777, allocations: 0 / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.7779, allocations: 92.28 kB / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.778, allocations: 80.77 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.778, allocations: 0.8438 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.852e-05/0.778, allocations: 6.547 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.7781, allocations: 0.875 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.7781, allocations: 2.5 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.716e-05/0.7781, allocations: 89.36 kB / 0.7892 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.81e-07/0.7781, allocations: 1 kB / 0.7892 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002098/0.7783, allocations: 12.72 kB / 0.7892 GB, free: 47.49 MB / 0.6544 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 (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.0001631/0.7785, allocations: 112 kB / 0.7893 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.7787, allocations: 29.44 kB / 0.7893 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7787, allocations: 0.5469 kB / 0.7893 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.253e-05/0.7788, allocations: 20.5 kB / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.779, allocations: 9.906 kB / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.7794, allocations: 147.5 kB / 0.7895 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.7795, allocations: 0.676 MB / 0.7902 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.7795, allocations: 13.77 kB / 0.7902 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.7795, allocations: 0 / 0.7902 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of Templates: time 0.002331/0.7819, allocations: 0.7902 MB / 0.791 GB, free: 46.57 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)