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.2143/0.2165, allocations: 80.84 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002735/0.2193, allocations: 1.28 MB / 0.6719 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2205, allocations: 0.617 MB / 0.6725 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.2205, allocations: 0 / 0.6725 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.2205, allocations: 0 / 0.6725 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.2206, allocations: 3.938 kB / 0.6725 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.2211, allocations: 115.5 kB / 0.6726 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.462e-05/0.2211, allocations: 23.92 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.2212, allocations: 0 / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.687e-05/0.2212, allocations: 15.92 kB / 0.6727 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.2213, allocations: 11.98 kB / 0.6727 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.2213, allocations: 0 / 0.6727 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.2216, allocations: 143.7 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.2216, allocations: 7.922 kB / 0.6728 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.2217, allocations: 4 kB / 0.6728 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.2219, allocations: 107.8 kB / 0.6729 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2219, allocations: 0 / 0.6729 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2219, allocations: 0 / 0.6729 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.2219, allocations: 3.938 kB / 0.6729 GB, free: 15.67 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.0005077/0.2224, allocations: 351.5 kB / 0.6733 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2225, allocations: 8.031 kB / 0.6733 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004235/0.2229, allocations: 28.91 kB / 0.6733 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.2231, allocations: 176.3 kB / 0.6735 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.2231, allocations: 384 / 0.6735 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.2231, allocations: 384 / 0.6735 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.2233, allocations: 61.72 kB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2234, allocations: 0 / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.2234, allocations: 3.938 kB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.2234, allocations: 4 kB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.2236, allocations: 31.97 kB / 0.6736 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.2238, allocations: 169.6 kB / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.2241, allocations: 66.58 kB / 0.6738 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.652e-05/0.2242, allocations: 32.92 kB / 0.6738 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2243, allocations: 0 / 0.6738 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.2243, allocations: 38.44 kB / 0.6738 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.2243, allocations: 0 / 0.6738 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.003206/0.2275, allocations: 0.5685 MB / 0.6744 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.2276, allocations: 55.41 kB / 0.6745 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.68e-05/0.2276, allocations: 97.84 kB / 0.6746 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2277, allocations: 25.7 kB / 0.6746 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.2277, allocations: 80.14 kB / 0.6747 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.2277, allocations: 23.78 kB / 0.6747 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.2278, allocations: 29.69 kB / 0.6747 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2279, allocations: 318.8 kB / 0.675 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.2281, allocations: 31.97 kB / 0.675 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.2282, allocations: 39.95 kB / 0.6751 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.2285, allocations: 88.75 kB / 0.6752 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2285, allocations: 0 / 0.6752 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003338/0.2288, allocations: 125.5 kB / 0.6753 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2288, allocations: 8 kB / 0.6753 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2289, allocations: 0 / 0.6753 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.2289, allocations: 0 / 0.6753 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.2291, allocations: 23.97 kB / 0.6753 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2291, allocations: 0 / 0.6753 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.2293, allocations: 7.984 kB / 0.6753 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.2293, allocations: 11.98 kB / 0.6753 GB, free: 12.93 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 9.063e-05/0.2294, allocations: 113.8 kB / 0.6754 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.2294, allocations: 11.84 kB / 0.6754 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.084e-05/0.2295, allocations: 7.969 kB / 0.6755 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2295, allocations: 0 / 0.6755 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2295, allocations: 0 / 0.6755 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2295, allocations: 0 / 0.6755 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.2297, allocations: 203.4 kB / 0.6757 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2297, allocations: 0 / 0.6757 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.2299, allocations: 23.97 kB / 0.6757 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2299, allocations: 0 / 0.6757 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.23, allocations: 3.984 kB / 0.6757 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.23, allocations: 4 kB / 0.6757 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.23, allocations: 0 / 0.6757 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005445/0.2305, allocations: 193 kB / 0.6759 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.2306, allocations: 81.05 kB / 0.6759 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.2306, allocations: 3.984 kB / 0.6759 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.2308, allocations: 16.09 kB / 0.676 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.2308, allocations: 3.984 kB / 0.676 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.2308, allocations: 4 kB / 0.676 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.397e-05/0.2308, allocations: 75.28 kB / 0.676 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2309, allocations: 0 / 0.676 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002416/0.2311, allocations: 35.98 kB / 0.6761 GB, free: 12.06 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.0002504/0.2314, allocations: 125.4 kB / 0.6762 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.2317, allocations: 96.02 kB / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2317, allocations: 0 / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.2319, allocations: 43.91 kB / 0.6763 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.2321, allocations: 20.58 kB / 0.6763 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.2328, allocations: 166 kB / 0.6765 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.233, allocations: 0.6807 MB / 0.6772 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001607/0.2332, allocations: 35.86 kB / 0.6772 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.2333, allocations: 15.42 kB / 0.6772 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2333, allocations: 0 / 0.6772 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of Templates: time 0.004462/0.2378, allocations: 1.486 MB / 0.6787 GB, free: 9.383 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)