Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001278/0.001278, allocations: 106.9 kB / 16.27 MB, free: 6.414 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.001326/0.001326, allocations: 189.4 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.00211, allocations: 286.9 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8992/0.8992, allocations: 169.2 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 93.8 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2121, allocations: 86.98 MB / 0.6808 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.003225/0.2154, allocations: 1.29 MB / 0.6821 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2166, allocations: 0.5577 MB / 0.6826 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.2166, allocations: 0 / 0.6826 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.2167, allocations: 0 / 0.6826 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.2168, allocations: 7.922 kB / 0.6827 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.2173, allocations: 95.56 kB / 0.6827 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.835e-05/0.2173, allocations: 19.86 kB / 0.6828 GB, free: 6.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.2174, allocations: 4 kB / 0.6828 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/0.2175, allocations: 15.94 kB / 0.6828 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.2175, allocations: 4 kB / 0.6828 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.2175, allocations: 0 / 0.6828 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.2179, allocations: 147.7 kB / 0.6829 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.2179, allocations: 4 kB / 0.6829 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.218, allocations: 7.938 kB / 0.6829 GB, free: 6.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.2182, allocations: 92.05 kB / 0.683 GB, free: 5.914 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2182, allocations: 0 / 0.683 GB, free: 5.914 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2182, allocations: 4 kB / 0.683 GB, free: 5.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2182, allocations: 0 / 0.683 GB, free: 5.91 MB / 494.1 MB 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.0004744/0.2187, allocations: 343.5 kB / 0.6834 GB, free: 5.523 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.2188, allocations: 11.97 kB / 0.6834 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004988/0.2193, allocations: 28.91 kB / 0.6834 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.2195, allocations: 172.3 kB / 0.6836 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2195, allocations: 384 / 0.6836 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.2195, allocations: 384 / 0.6836 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.2197, allocations: 54.17 kB / 0.6836 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.2197, allocations: 192 / 0.6836 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2197, allocations: 3.938 kB / 0.6836 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2197, allocations: 0 / 0.6836 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.2199, allocations: 19.97 kB / 0.6836 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.2201, allocations: 161.7 kB / 0.6838 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.2203, allocations: 46.58 kB / 0.6838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.729e-05/0.2204, allocations: 20.91 kB / 0.6839 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2204, allocations: 0 / 0.6839 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.2205, allocations: 34.5 kB / 0.6839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2205, allocations: 0 / 0.6839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003313/0.2208, allocations: 77.59 kB / 0.684 GB, free: 4.785 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.2209, allocations: 51.41 kB / 0.684 GB, free: 4.723 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.221, allocations: 93.86 kB / 0.6841 GB, free: 4.621 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.221, allocations: 25.7 kB / 0.6841 GB, free: 4.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.221, allocations: 88.08 kB / 0.6842 GB, free: 4.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.2211, allocations: 7.844 kB / 0.6842 GB, free: 4.492 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.908e-05/0.2212, allocations: 21.83 kB / 0.6842 GB, free: 4.465 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2213, allocations: 310.8 kB / 0.6845 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.2214, allocations: 15.98 kB / 0.6845 GB, free: 4.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/0.2215, allocations: 15.98 kB / 0.6846 GB, free: 4.121 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.2216, allocations: 32.84 kB / 0.6846 GB, free: 4.086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2216, allocations: 0 / 0.6846 GB, free: 4.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001806/0.2218, allocations: 53.67 kB / 0.6846 GB, free: 4.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2218, allocations: 10.19 kB / 0.6847 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2219, allocations: 7.922 kB / 0.6847 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2219, allocations: 0 / 0.6847 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.222, allocations: 4 kB / 0.6847 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.222, allocations: 4.031 kB / 0.6847 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.012e-05/0.2221, allocations: 11.98 kB / 0.6847 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2221, allocations: 0 / 0.6847 GB, free: 3.992 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.8e-05/0.2222, allocations: 105.8 kB / 0.6848 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.2222, allocations: 4.188 kB / 0.6848 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.2223, allocations: 11.05 kB / 0.6848 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2223, allocations: 3.938 kB / 0.6848 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.2223, allocations: 4 kB / 0.6848 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2223, allocations: 7.922 kB / 0.6848 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.2225, allocations: 157.7 kB / 0.685 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2225, allocations: 0 / 0.685 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.447e-05/0.2226, allocations: 11.98 kB / 0.685 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2226, allocations: 0 / 0.685 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.2226, allocations: 3.938 kB / 0.685 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2226, allocations: 0 / 0.685 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2226, allocations: 0 / 0.685 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.2228, allocations: 89.02 kB / 0.6851 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.2229, allocations: 81.09 kB / 0.6851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.2229, allocations: 7.938 kB / 0.6851 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.223, allocations: 4 kB / 0.6852 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.223, allocations: 3.984 kB / 0.6852 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.2231, allocations: 0 / 0.6852 GB, free: 3.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.643e-05/0.2231, allocations: 87.25 kB / 0.6852 GB, free: 3.324 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2231, allocations: 0 / 0.6852 GB, free: 3.324 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.2233, allocations: 16 kB / 0.6853 GB, free: 3.309 MB / 494.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 (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.0001895/0.2235, allocations: 111.2 kB / 0.6854 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.2238, allocations: 31.97 kB / 0.6854 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2238, allocations: 4.062 kB / 0.6854 GB, free: 3.152 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.2238, allocations: 11.98 kB / 0.6854 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.2241, allocations: 9.125 kB / 0.6854 GB, free: 3.133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.2245, allocations: 152.3 kB / 0.6856 GB, free: 2.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.2248, allocations: 0.6807 MB / 0.6862 GB, free: 2.246 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.2249, allocations: 11.42 kB / 0.6862 GB, free: 2.234 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2249, allocations: 0 / 0.6862 GB, free: 2.234 MB / 494.1 MB Notification: Performance of Templates: time 0.002805/0.2277, allocations: 0.7916 MB / 0.687 GB, free: 1.457 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)