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.001176/0.001176, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001142/0.001142, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.22/1.22, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.605/1.605, allocations: 292.3 MB / 0.5495 GB, free: 17.64 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.001327/0.001328, allocations: 67.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2007, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002362/0.2031, allocations: 1.402 MB / 0.7854 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008341/0.204, allocations: 0.5975 MB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.204, allocations: 0 / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.204, allocations: 0 / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.2041, allocations: 3.938 kB / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.2044, allocations: 103.6 kB / 0.7861 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.349e-05/0.2045, allocations: 23.92 kB / 0.7861 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.2046, allocations: 4 kB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.384e-05/0.2046, allocations: 8 kB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.315e-05/0.2047, allocations: 19.91 kB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.2047, allocations: 3.938 kB / 0.7862 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.205, allocations: 147.7 kB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.205, allocations: 0 / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.205, allocations: 15.94 kB / 0.7863 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.2052, allocations: 108 kB / 0.7864 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2052, allocations: 0 / 0.7864 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2052, allocations: 0 / 0.7864 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.2052, allocations: 0 / 0.7864 GB, free: 1.383 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.0003776/0.2056, allocations: 359.4 kB / 0.7868 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.2056, allocations: 8.031 kB / 0.7868 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003707/0.206, allocations: 32.89 kB / 0.7868 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.942e-05/0.2061, allocations: 168.4 kB / 0.787 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.2061, allocations: 384 / 0.787 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.2062, allocations: 384 / 0.787 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.2064, allocations: 70.14 kB / 0.7871 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.2064, allocations: 192 / 0.7871 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.2064, allocations: 3.938 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.2064, allocations: 4 kB / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.2066, allocations: 55.94 kB / 0.7871 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.207, allocations: 272.7 kB / 0.7874 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.2072, allocations: 70.41 kB / 0.7874 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.2073, allocations: 36.89 kB / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.2074, allocations: 0 / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.2074, allocations: 34.56 kB / 0.7875 GB, free: 128 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2074, allocations: 4 kB / 0.7875 GB, free: 124 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004257/0.2078, allocations: 105.6 kB / 0.7876 GB, free: 12 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3133/0.5212, allocations: 51.41 kB / 0.7877 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.784e-05/0.5213, allocations: 101.8 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.5213, allocations: 25.7 kB / 0.7878 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/0.5213, allocations: 82.67 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.5214, allocations: 8.953 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.5214, allocations: 16.11 kB / 0.7879 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.482e-05/0.5215, allocations: 317.5 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.5216, allocations: 24.95 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.5217, allocations: 28.45 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.5219, allocations: 61.72 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5219, allocations: 1.5 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002439/0.5222, allocations: 87.25 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.5222, allocations: 5.438 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.5222, allocations: 3.047 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5222, allocations: 2.75 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.5223, allocations: 12.72 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.5223, allocations: 1.75 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.5224, allocations: 8.516 kB / 0.7884 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.5224, allocations: 5.125 kB / 0.7884 GB, free: 48.18 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 4.043e-05/0.5225, allocations: 114.4 kB / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.5225, allocations: 2.969 kB / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.5226, allocations: 12.25 kB / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5226, allocations: 3 kB / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5226, allocations: 0 / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.5226, allocations: 2.625 kB / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.5227, allocations: 162.5 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5227, allocations: 0 / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.735e-05/0.5228, allocations: 22.92 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5228, allocations: 0 / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.5228, allocations: 7.281 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5228, allocations: 0 / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5229, allocations: 0.5312 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.5231, allocations: 187.1 kB / 0.7889 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.5231, allocations: 79.17 kB / 0.789 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.5232, allocations: 7.875 kB / 0.789 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.5233, allocations: 6.359 kB / 0.789 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.5233, allocations: 5.906 kB / 0.789 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.5233, allocations: 3.234 kB / 0.789 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.641e-05/0.5233, allocations: 81.03 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.5233, allocations: 0 / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002227/0.5236, allocations: 15.97 kB / 0.7891 GB, free: 47.57 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.0001181/0.5237, allocations: 113.8 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.5239, allocations: 58.08 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5239, allocations: 0 / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.5241, allocations: 36.03 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.5243, allocations: 3.344 kB / 0.7893 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.5247, allocations: 127.3 kB / 0.7894 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.61e-05/0.5247, allocations: 0.6749 MB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.857e-05/0.5248, allocations: 14.31 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.5248, allocations: 10.72 kB / 0.7901 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.5248, allocations: 0 / 0.7901 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.002232/0.5271, allocations: 0.7791 MB / 0.7909 GB, free: 46.68 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)