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.001554/0.001554, allocations: 106.7 kB / 16.36 MB, free: 6.477 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.001833/0.001833, allocations: 195.3 kB / 17.3 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.361/1.361, 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.807/1.807, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001485/0.001485, allocations: 68.31 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2298, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003532/0.2333, allocations: 1.411 MB / 0.7862 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2346, allocations: 0.5897 MB / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.2347, allocations: 8 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.2347, allocations: 3.938 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.2348, allocations: 7.922 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.2354, allocations: 91.58 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.2355, allocations: 23.92 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.2357, allocations: 7.984 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.2357, allocations: 7.984 kB / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.2358, allocations: 19.92 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.2358, allocations: 4 kB / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.2362, allocations: 135.8 kB / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.2362, allocations: 7.969 kB / 0.787 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.2362, allocations: 11.94 kB / 0.787 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.2365, allocations: 103.7 kB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2366, allocations: 4 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2366, allocations: 0 / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.2366, allocations: 0 / 0.7871 GB, free: 0.7031 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005822/0.2372, allocations: 367.3 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2372, allocations: 8.031 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004981/0.2377, allocations: 24.91 kB / 0.7875 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.2379, allocations: 164.4 kB / 0.7877 GB, free: 64 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2379, allocations: 384 / 0.7877 GB, free: 64 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.2379, allocations: 4.375 kB / 0.7877 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3776/0.6155, allocations: 70.2 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.6155, allocations: 3 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.6156, allocations: 0 / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.6156, allocations: 1.359 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.6159, allocations: 47.62 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.6163, allocations: 284.7 kB / 0.7881 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.6165, allocations: 64.45 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.6167, allocations: 32.88 kB / 0.7882 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.6167, allocations: 0 / 0.7882 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.6167, allocations: 37.25 kB / 0.7882 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.6167, allocations: 5.656 kB / 0.7882 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004519/0.6172, allocations: 105.8 kB / 0.7883 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.6172, allocations: 55.5 kB / 0.7884 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.365e-05/0.6173, allocations: 101.2 kB / 0.7885 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.6173, allocations: 29.95 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.6173, allocations: 80.14 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.6174, allocations: 9.328 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.6174, allocations: 14.47 kB / 0.7886 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.055e-05/0.6175, allocations: 320.3 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.6176, allocations: 25.72 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.6177, allocations: 27.27 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.6179, allocations: 64.08 kB / 0.789 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6179, allocations: 0 / 0.789 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002585/0.6182, allocations: 87.64 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.6182, allocations: 9.344 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6182, allocations: 0 / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.6183, allocations: 3.188 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.6184, allocations: 15.06 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.6184, allocations: 0 / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.6185, allocations: 11.66 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.6185, allocations: 3.141 kB / 0.7891 GB, free: 47.95 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.235e-05/0.6186, allocations: 112.7 kB / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.6186, allocations: 0.875 kB / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.6186, allocations: 7.625 kB / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.6187, allocations: 3.375 kB / 0.7893 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.6187, allocations: 1.875 kB / 0.7893 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.6187, allocations: 0 / 0.7893 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.6188, allocations: 172.4 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6188, allocations: 0 / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.6189, allocations: 16.94 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6189, allocations: 3.344 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.6189, allocations: 1.875 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6189, allocations: 0 / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.619, allocations: 1.094 kB / 0.7894 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.6192, allocations: 193.4 kB / 0.7896 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.6193, allocations: 77.73 kB / 0.7897 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.6193, allocations: 3.516 kB / 0.7897 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.6194, allocations: 9.578 kB / 0.7897 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.6195, allocations: 6.25 kB / 0.7897 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.6195, allocations: 0 / 0.7897 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.026e-05/0.6195, allocations: 78.5 kB / 0.7898 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6195, allocations: 0.625 kB / 0.7898 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000244/0.6198, allocations: 25.84 kB / 0.7898 GB, free: 47.34 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.0001362/0.6199, allocations: 111.8 kB / 0.7899 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.6202, allocations: 60.83 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6202, allocations: 0 / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.6203, allocations: 37.58 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.6206, allocations: 2.719 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.621, allocations: 126.7 kB / 0.7901 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.915e-05/0.6211, allocations: 0.6715 MB / 0.7908 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.16e-05/0.6212, allocations: 15.98 kB / 0.7908 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.6212, allocations: 10.69 kB / 0.7908 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/0.6212, allocations: 0 / 0.7908 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.002558/0.6238, allocations: 0.7832 MB / 0.7916 GB, free: 46.43 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)