Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2067/0.2101, allocations: 80.84 MB / 0.6707 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002233/0.2124, allocations: 1.269 MB / 0.6719 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009809/0.2134, allocations: 0.6131 MB / 0.6725 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.09e-05/0.2134, allocations: 3.938 kB / 0.6725 GB, free: 92 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.2135, allocations: 0 / 0.6725 GB, free: 92 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.275e-05/0.2135, allocations: 11.92 kB / 0.6725 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.214, allocations: 103.6 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.214, allocations: 27.81 kB / 0.6726 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.2141, allocations: 3.984 kB / 0.6726 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.753e-05/0.2141, allocations: 15.92 kB / 0.6726 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.762e-05/0.2142, allocations: 8 kB / 0.6727 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.2142, allocations: 3.938 kB / 0.6727 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.2145, allocations: 143.8 kB / 0.6728 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.2145, allocations: 7.922 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.2145, allocations: 12 kB / 0.6728 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.2147, allocations: 95.77 kB / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2147, allocations: 0 / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2147, allocations: 0 / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2147, allocations: 0 / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004464/0.2152, allocations: 355.5 kB / 0.6732 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.2152, allocations: 11.97 kB / 0.6733 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004361/0.2157, allocations: 28.91 kB / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2158, allocations: 172.3 kB / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.2158, allocations: 384 / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.2158, allocations: 384 / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.216, allocations: 57.78 kB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.216, allocations: 0 / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.216, allocations: 4 kB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2161, allocations: 4 kB / 0.6735 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.2162, allocations: 35.91 kB / 0.6735 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.2164, allocations: 169.5 kB / 0.6737 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.2167, allocations: 74.52 kB / 0.6738 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.354e-05/0.2168, allocations: 28.92 kB / 0.6738 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.2169, allocations: 0 / 0.6738 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.2169, allocations: 38.48 kB / 0.6738 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2169, allocations: 0 / 0.6738 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.003344/0.2202, allocations: 0.5682 MB / 0.6744 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.2203, allocations: 55.34 kB / 0.6745 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.192e-05/0.2204, allocations: 93.86 kB / 0.6745 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.2204, allocations: 25.7 kB / 0.6746 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.2205, allocations: 88.25 kB / 0.6747 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.2205, allocations: 27.59 kB / 0.6747 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.2206, allocations: 25.69 kB / 0.6747 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2207, allocations: 318.8 kB / 0.675 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.2209, allocations: 31.97 kB / 0.675 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.221, allocations: 39.95 kB / 0.6751 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.2213, allocations: 80.81 kB / 0.6752 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2213, allocations: 4 kB / 0.6752 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003496/0.2217, allocations: 125.7 kB / 0.6753 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2217, allocations: 11.94 kB / 0.6753 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2217, allocations: 0 / 0.6753 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2217, allocations: 0 / 0.6753 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.2219, allocations: 23.97 kB / 0.6753 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2219, allocations: 0 / 0.6753 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.2221, allocations: 11.98 kB / 0.6753 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2221, allocations: 0 / 0.6753 GB, free: 12.92 MB / 0.5137 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 (7): * Single equations (assignments): 7 * 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.917e-05/0.2222, allocations: 117.8 kB / 0.6754 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.2223, allocations: 7.844 kB / 0.6754 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.2223, allocations: 11.97 kB / 0.6755 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2223, allocations: 0 / 0.6755 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2223, allocations: 4 kB / 0.6755 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2224, allocations: 0 / 0.6755 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.2226, allocations: 195.4 kB / 0.6756 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2226, allocations: 0 / 0.6756 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.2228, allocations: 23.97 kB / 0.6757 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2229, allocations: 0 / 0.6757 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.2229, allocations: 3.984 kB / 0.6757 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2229, allocations: 3.938 kB / 0.6757 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2229, allocations: 0 / 0.6757 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.2235, allocations: 197 kB / 0.6759 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.2236, allocations: 77.11 kB / 0.6759 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.2236, allocations: 4 kB / 0.6759 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.2238, allocations: 16.08 kB / 0.676 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.2238, allocations: 0 / 0.676 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.2238, allocations: 7.984 kB / 0.676 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.02e-05/0.2239, allocations: 75.28 kB / 0.676 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2239, allocations: 0 / 0.676 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002472/0.2241, allocations: 32 kB / 0.6761 GB, free: 12.05 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002403/0.2244, allocations: 135.3 kB / 0.6762 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003556/0.2248, allocations: 95.8 kB / 0.6763 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.2248, allocations: 4 kB / 0.6763 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.2249, allocations: 43.97 kB / 0.6763 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.2252, allocations: 12.58 kB / 0.6763 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006704/0.2259, allocations: 173.9 kB / 0.6765 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.2262, allocations: 0.6807 MB / 0.6772 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.2263, allocations: 27.94 kB / 0.6772 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.2264, allocations: 19.41 kB / 0.6772 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.2264, allocations: 0 / 0.6772 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of Templates: time 0.005182/0.2316, allocations: 1.513 MB / 0.6787 GB, free: 9.344 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)