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.2284/0.2303, allocations: 80.83 MB / 0.5897 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003427/0.2339, allocations: 1.352 MB / 0.591 GB, free: 5.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.2352, allocations: 0.633 MB / 0.5916 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.2353, allocations: 0 / 0.5916 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.2353, allocations: 0 / 0.5916 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.009e-05/0.2354, allocations: 11.92 kB / 0.5916 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.2358, allocations: 87.64 kB / 0.5917 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.673e-05/0.2359, allocations: 27.92 kB / 0.5918 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.22e-05/0.236, allocations: 3.984 kB / 0.5918 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.236, allocations: 11.94 kB / 0.5918 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.2361, allocations: 11.98 kB / 0.5918 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.2361, allocations: 0 / 0.5918 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.2364, allocations: 151.7 kB / 0.5919 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.2365, allocations: 0 / 0.5919 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.2365, allocations: 11.94 kB / 0.5919 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.2367, allocations: 99.98 kB / 0.592 GB, free: 4.699 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2367, allocations: 4 kB / 0.592 GB, free: 4.695 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2367, allocations: 0 / 0.592 GB, free: 4.695 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2368, allocations: 0 / 0.592 GB, free: 4.695 MB / 446.1 MB 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.0005722/0.2373, allocations: 359.4 kB / 0.5924 GB, free: 4.297 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.2374, allocations: 8.031 kB / 0.5924 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004944/0.2379, allocations: 32.89 kB / 0.5924 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.2381, allocations: 160.4 kB / 0.5926 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.2381, allocations: 4.375 kB / 0.5926 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.2381, allocations: 384 / 0.5926 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.2383, allocations: 61.78 kB / 0.5926 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2383, allocations: 0 / 0.5926 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2384, allocations: 3.938 kB / 0.5926 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.2384, allocations: 3.984 kB / 0.5926 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.2385, allocations: 31.92 kB / 0.5927 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.2388, allocations: 161.6 kB / 0.5928 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.2391, allocations: 70.58 kB / 0.5929 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.484e-05/0.2392, allocations: 28.94 kB / 0.5929 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.2393, allocations: 0 / 0.5929 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.2393, allocations: 38.44 kB / 0.593 GB, free: 3.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2393, allocations: 0 / 0.593 GB, free: 3.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003523/0.2428, allocations: 0.5762 MB / 0.5935 GB, free: 2.961 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.2429, allocations: 51.41 kB / 0.5936 GB, free: 2.898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.243, allocations: 93.86 kB / 0.5937 GB, free: 2.797 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.243, allocations: 25.7 kB / 0.5937 GB, free: 2.766 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.243, allocations: 84.14 kB / 0.5938 GB, free: 2.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.2431, allocations: 19.7 kB / 0.5938 GB, free: 2.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.2432, allocations: 25.83 kB / 0.5938 GB, free: 2.629 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2433, allocations: 314.8 kB / 0.5941 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.2435, allocations: 43.94 kB / 0.5942 GB, free: 2.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.2436, allocations: 39.95 kB / 0.5942 GB, free: 2.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.2439, allocations: 84.81 kB / 0.5943 GB, free: 2.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.2439, allocations: 0 / 0.5943 GB, free: 2.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003611/0.2443, allocations: 125.4 kB / 0.5944 GB, free: 2.016 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.2443, allocations: 12 kB / 0.5944 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2443, allocations: 0 / 0.5944 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2444, allocations: 0 / 0.5944 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.2446, allocations: 23.97 kB / 0.5944 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2446, allocations: 4.062 kB / 0.5944 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.2448, allocations: 11.98 kB / 0.5944 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.2448, allocations: 3.984 kB / 0.5944 GB, free: 1.961 MB / 446.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 (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 0.0001146/0.2449, allocations: 118.7 kB / 0.5946 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.2449, allocations: 7.875 kB / 0.5946 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.245, allocations: 11.97 kB / 0.5946 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.245, allocations: 0 / 0.5946 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.245, allocations: 0 / 0.5946 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.245, allocations: 3.984 kB / 0.5946 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.2453, allocations: 191.5 kB / 0.5948 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2453, allocations: 0 / 0.5948 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.2455, allocations: 23.91 kB / 0.5948 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2455, allocations: 7.984 kB / 0.5948 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.2455, allocations: 0 / 0.5948 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2455, allocations: 0 / 0.5948 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2455, allocations: 3.938 kB / 0.5948 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.2461, allocations: 201 kB / 0.595 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.2462, allocations: 85.02 kB / 0.5951 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.2462, allocations: 0 / 0.5951 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.2464, allocations: 12.05 kB / 0.5951 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.2464, allocations: 4 kB / 0.5951 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.2464, allocations: 3.984 kB / 0.5951 GB, free: 1.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.989e-05/0.2465, allocations: 79.28 kB / 0.5952 GB, free: 1.125 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.405e-06/0.2465, allocations: 0 / 0.5952 GB, free: 1.125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000267/0.2468, allocations: 39.88 kB / 0.5952 GB, free: 1.086 MB / 446.1 MB 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.0002718/0.2471, allocations: 119.2 kB / 0.5953 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.2474, allocations: 88.02 kB / 0.5954 GB, free: 0.875 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2474, allocations: 0 / 0.5954 GB, free: 0.875 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.2476, allocations: 51.89 kB / 0.5955 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.248, allocations: 11.94 kB / 0.5955 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.2487, allocations: 168.1 kB / 0.5956 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.2491, allocations: 0.677 MB / 0.5963 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002268/0.2494, allocations: 31.33 kB / 0.5963 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/0.2494, allocations: 19.36 kB / 0.5963 GB, free: 15.87 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2494, allocations: 0 / 0.5963 GB, free: 15.87 MB / 462.1 MB Notification: Performance of Templates: time 0.004759/0.2542, allocations: 1.447 MB / 0.5977 GB, free: 14.47 MB / 462.1 MB 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)