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.001136/0.001136, allocations: 102.9 kB / 16.29 MB, free: 5.914 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.001099/0.001099, allocations: 180.8 kB / 17.22 MB, free: 5.551 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.252/1.252, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.595/1.595, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.0013/0.0013, allocations: 76.44 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2004, allocations: 114.6 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002154/0.2026, allocations: 1.271 MB / 0.7853 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008452/0.2035, allocations: 0.5741 MB / 0.7859 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.692e-05/0.2035, allocations: 0 / 0.7859 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.2035, allocations: 7.922 kB / 0.7859 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.904e-05/0.2036, allocations: 3.938 kB / 0.7859 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.2039, allocations: 95.56 kB / 0.786 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.877e-05/0.204, allocations: 23.86 kB / 0.786 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.2041, allocations: 4 kB / 0.786 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.998e-05/0.2041, allocations: 4 kB / 0.786 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.2041, allocations: 11.94 kB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.487e-06/0.2041, allocations: 0 / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.2044, allocations: 147.7 kB / 0.7862 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.2044, allocations: 4 kB / 0.7862 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.2045, allocations: 11.92 kB / 0.7862 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.2046, allocations: 84.12 kB / 0.7863 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2046, allocations: 0 / 0.7863 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2046, allocations: 4 kB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2047, allocations: 4 kB / 0.7863 GB, free: 1.641 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.0003729/0.205, allocations: 339.5 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.2051, allocations: 8.031 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/0.2055, allocations: 32.8 kB / 0.7866 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2056, allocations: 168.4 kB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.2056, allocations: 384 / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.2056, allocations: 4.375 kB / 0.7868 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.2058, allocations: 42.23 kB / 0.7868 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.2058, allocations: 8.109 kB / 0.7868 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2058, allocations: 7.922 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2058, allocations: 0 / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.2059, allocations: 19.98 kB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.2061, allocations: 165.7 kB / 0.787 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.2062, allocations: 42.58 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.861e-05/0.2063, allocations: 20.91 kB / 0.7871 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.2063, allocations: 0 / 0.7871 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.2063, allocations: 38.56 kB / 0.7871 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.265e-06/0.2063, allocations: 0 / 0.7871 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002673/0.2066, allocations: 77.53 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.2066, allocations: 51.41 kB / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.198e-05/0.2067, allocations: 93.86 kB / 0.7873 GB, free: 360 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2067, allocations: 25.7 kB / 0.7874 GB, free: 328 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.2068, allocations: 92.25 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.2068, allocations: 7.844 kB / 0.7875 GB, free: 224 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.2068, allocations: 13.72 kB / 0.7875 GB, free: 204 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3242/0.5311, allocations: 315.6 kB / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.5312, allocations: 11.38 kB / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/0.5313, allocations: 13.59 kB / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.5314, allocations: 34.48 kB / 0.7878 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5314, allocations: 0.5312 kB / 0.7878 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001712/0.5316, allocations: 60.95 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5316, allocations: 5.562 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5316, allocations: 3.75 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.5317, allocations: 4.219 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.5318, allocations: 6.234 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5318, allocations: 2.156 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.603e-05/0.5319, allocations: 8.531 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.5319, allocations: 1.359 kB / 0.7879 GB, free: 48.49 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.535e-05/0.5319, allocations: 116.7 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.5319, allocations: 3.75 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.532, allocations: 9.406 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.532, allocations: 0 / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.532, allocations: 3.938 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.532, allocations: 0 / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.396e-05/0.5321, allocations: 153 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5321, allocations: 3.656 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.791e-05/0.5322, allocations: 5.953 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5322, allocations: 4.5 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.5322, allocations: 0.5 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5322, allocations: 0 / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5322, allocations: 3.938 kB / 0.7882 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.5324, allocations: 88.31 kB / 0.7883 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.5324, allocations: 86.97 kB / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.5324, allocations: 0 / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.464e-05/0.5325, allocations: 5.594 kB / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.5325, allocations: 7.75 kB / 0.7884 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.5325, allocations: 2.719 kB / 0.7884 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.327e-05/0.5325, allocations: 80.89 kB / 0.7885 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5326, allocations: 0 / 0.7885 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001956/0.5328, allocations: 12.78 kB / 0.7885 GB, free: 47.95 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.0001312/0.5329, allocations: 115.8 kB / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.5331, allocations: 32.66 kB / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5331, allocations: 0.5312 kB / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.315e-05/0.5331, allocations: 18.67 kB / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.5334, allocations: 6.156 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.5337, allocations: 113.3 kB / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.503e-05/0.5338, allocations: 0.6778 MB / 0.7894 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.475e-05/0.5338, allocations: 11.86 kB / 0.7894 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.5339, allocations: 11.53 kB / 0.7894 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.5339, allocations: 0 / 0.7894 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.00237/0.5362, allocations: 0.7394 MB / 0.7902 GB, free: 47.07 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)