Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0007957/0.0007957, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.005524/0.005524, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.393/1.393, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.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.715/1.715, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005179/0.0005179, allocations: 16.7 kB / 0.6743 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2128, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001629/0.2144, allocations: 1.136 MB / 0.789 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009709/0.2154, allocations: 0.6065 MB / 0.7896 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.2155, allocations: 0 / 0.7896 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.2155, allocations: 0 / 0.7896 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.2156, allocations: 3.938 kB / 0.7896 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.2159, allocations: 87.64 kB / 0.7897 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.803e-05/0.216, allocations: 27.92 kB / 0.7897 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.859e-05/0.2161, allocations: 0 / 0.7897 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.353e-05/0.2161, allocations: 4 kB / 0.7897 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.438e-05/0.2162, allocations: 19.91 kB / 0.7897 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.2162, allocations: 4 kB / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.2165, allocations: 147.7 kB / 0.7899 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.2165, allocations: 4 kB / 0.7899 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.2165, allocations: 37.62 kB / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.2167, allocations: 104 kB / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2168, allocations: 0 / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2168, allocations: 0 / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2168, allocations: 0 / 0.79 GB, free: 9.395 MB / 0.6075 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.0005224/0.2173, allocations: 355.4 kB / 0.7903 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2174, allocations: 20.02 kB / 0.7904 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004432/0.2178, allocations: 28.84 kB / 0.7904 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.218, allocations: 164.4 kB / 0.7905 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.218, allocations: 4.312 kB / 0.7905 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.218, allocations: 4.375 kB / 0.7905 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.2183, allocations: 70.2 kB / 0.7906 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2183, allocations: 192 / 0.7906 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.2183, allocations: 7.922 kB / 0.7906 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2184, allocations: 0 / 0.7906 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.2186, allocations: 67.94 kB / 0.7907 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.2192, allocations: 272.7 kB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.2195, allocations: 74.41 kB / 0.791 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.2197, allocations: 36.89 kB / 0.7911 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.2197, allocations: 0 / 0.7911 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2197, allocations: 34.56 kB / 0.7911 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.2197, allocations: 0 / 0.7911 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000573/0.2203, allocations: 133.7 kB / 0.7912 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.2204, allocations: 55.34 kB / 0.7913 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.2205, allocations: 97.86 kB / 0.7914 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.2205, allocations: 29.7 kB / 0.7914 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.2206, allocations: 80.14 kB / 0.7915 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.2206, allocations: 7.891 kB / 0.7915 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.2206, allocations: 13.72 kB / 0.7915 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.2208, allocations: 318.9 kB / 0.7918 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.2209, allocations: 27.97 kB / 0.7918 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.221, allocations: 35.97 kB / 0.7918 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.2213, allocations: 60.81 kB / 0.7919 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2213, allocations: 8.062 kB / 0.7919 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003066/0.2216, allocations: 97.56 kB / 0.792 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2217, allocations: 7.938 kB / 0.792 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2217, allocations: 32 / 0.792 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2217, allocations: 8.188 kB / 0.792 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.2218, allocations: 11.98 kB / 0.792 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2218, allocations: 0 / 0.792 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-05/0.2219, allocations: 11.98 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.222, allocations: 7.984 kB / 0.7921 GB, free: 7.059 MB / 0.6075 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 8.539e-05/0.222, allocations: 118.4 kB / 0.7922 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.2221, allocations: 3.984 kB / 0.7922 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.2221, allocations: 7.125 kB / 0.7922 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2221, allocations: 0 / 0.7922 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2222, allocations: 3.938 kB / 0.7922 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2222, allocations: 0 / 0.7922 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.2223, allocations: 169.5 kB / 0.7923 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2224, allocations: 8 kB / 0.7923 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.2225, allocations: 19.97 kB / 0.7924 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2225, allocations: 3.938 kB / 0.7924 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2225, allocations: 0 / 0.7924 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2225, allocations: 4 kB / 0.7924 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2225, allocations: 0 / 0.7924 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.2229, allocations: 199.4 kB / 0.7926 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.2229, allocations: 81.11 kB / 0.7926 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.2229, allocations: 0 / 0.7926 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.223, allocations: 12.02 kB / 0.7927 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.2231, allocations: 4 kB / 0.7927 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.2231, allocations: 0 / 0.7927 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.2231, allocations: 87.27 kB / 0.7927 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2232, allocations: 0 / 0.7927 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002461/0.2234, allocations: 12 kB / 0.7928 GB, free: 6.246 MB / 0.6075 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.0001988/0.2236, allocations: 115.2 kB / 0.7929 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.224, allocations: 67.94 kB / 0.7929 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.224, allocations: 0 / 0.7929 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.2241, allocations: 39.97 kB / 0.793 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.2244, allocations: 11.94 kB / 0.793 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.2249, allocations: 140.5 kB / 0.7931 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.2252, allocations: 0.681 MB / 0.7938 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.745e-05/0.2253, allocations: 11.94 kB / 0.7938 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.2253, allocations: 7.438 kB / 0.7938 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.2253, allocations: 0 / 0.7938 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of Templates: time 0.002995/0.2283, allocations: 0.7056 MB / 0.7945 GB, free: 4.414 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: