Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [/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.2292/0.23, allocations: 82.22 MB / 0.5935 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00202/0.2321, allocations: 1.127 MB / 0.5946 GB, free: 4.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009381/0.2331, allocations: 0.5399 MB / 0.5951 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.2331, allocations: 8 kB / 0.5951 GB, free: 4.285 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.2332, allocations: 3.938 kB / 0.5951 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.2332, allocations: 3.938 kB / 0.5951 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.2336, allocations: 75.7 kB / 0.5952 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.355e-05/0.2337, allocations: 23.92 kB / 0.5952 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.2338, allocations: 7.984 kB / 0.5952 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.706e-05/0.2338, allocations: 11.92 kB / 0.5952 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.2339, allocations: 4 kB / 0.5952 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.2339, allocations: 8 kB / 0.5952 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.2342, allocations: 143.7 kB / 0.5954 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.2342, allocations: 11.91 kB / 0.5954 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.2343, allocations: 29.7 kB / 0.5954 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.2344, allocations: 72.08 kB / 0.5955 GB, free: 3.891 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2344, allocations: 0 / 0.5955 GB, free: 3.891 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.2345, allocations: 4 kB / 0.5955 GB, free: 3.887 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.2345, allocations: 0 / 0.5955 GB, free: 3.887 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005249/0.235, allocations: 359.2 kB / 0.5958 GB, free: 3.488 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.235, allocations: 8.031 kB / 0.5958 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003856/0.2354, allocations: 27.97 kB / 0.5959 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.2356, allocations: 171 kB / 0.596 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2356, allocations: 0 / 0.596 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.2356, allocations: 3.953 kB / 0.596 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.2359, allocations: 73.64 kB / 0.5961 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2359, allocations: 0 / 0.5961 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2359, allocations: 0 / 0.5961 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2359, allocations: 0 / 0.5961 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.2362, allocations: 67.88 kB / 0.5962 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.2367, allocations: 280.7 kB / 0.5964 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.2369, allocations: 62.55 kB / 0.5965 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.237, allocations: 32.89 kB / 0.5965 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.237, allocations: 8 kB / 0.5965 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.2371, allocations: 34.55 kB / 0.5966 GB, free: 2.617 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.2371, allocations: 3.938 kB / 0.5966 GB, free: 2.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004813/0.2376, allocations: 133.5 kB / 0.5967 GB, free: 2.477 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.2376, allocations: 51.41 kB / 0.5967 GB, free: 2.414 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.2377, allocations: 97.86 kB / 0.5968 GB, free: 2.309 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2377, allocations: 25.7 kB / 0.5969 GB, free: 2.277 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.2378, allocations: 92.25 kB / 0.5969 GB, free: 2.184 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.2378, allocations: 3.906 kB / 0.5969 GB, free: 2.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.2378, allocations: 0 / 0.5969 GB, free: 2.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2379, allocations: 318.8 kB / 0.5972 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.2381, allocations: 31.97 kB / 0.5973 GB, free: 1.828 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.2382, allocations: 35.97 kB / 0.5973 GB, free: 1.793 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.2383, allocations: 31.91 kB / 0.5973 GB, free: 1.762 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2383, allocations: 0 / 0.5973 GB, free: 1.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002607/0.2386, allocations: 101.6 kB / 0.5974 GB, free: 1.656 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2386, allocations: 4 kB / 0.5974 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2386, allocations: 0 / 0.5974 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2386, allocations: 4 kB / 0.5974 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.2388, allocations: 24.19 kB / 0.5975 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.2388, allocations: 0 / 0.5975 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.2389, allocations: 11.98 kB / 0.5975 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.2389, allocations: 0 / 0.5975 GB, free: 1.613 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.675e-05/0.239, allocations: 122.7 kB / 0.5976 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.239, allocations: 3.984 kB / 0.5976 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.2391, allocations: 7.125 kB / 0.5976 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2391, allocations: 0 / 0.5976 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2391, allocations: 4 kB / 0.5976 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2391, allocations: 0 / 0.5976 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.2392, allocations: 169.6 kB / 0.5978 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2393, allocations: 0 / 0.5978 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.2394, allocations: 15.98 kB / 0.5978 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2394, allocations: 4 kB / 0.5978 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2394, allocations: 0 / 0.5978 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2394, allocations: 0 / 0.5978 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2394, allocations: 0 / 0.5978 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.2397, allocations: 207.3 kB / 0.598 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.2398, allocations: 81.05 kB / 0.5981 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.2398, allocations: 4 kB / 0.5981 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2399, allocations: 7.984 kB / 0.5981 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.24, allocations: 4 kB / 0.5981 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.24, allocations: 8.016 kB / 0.5981 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.967e-05/0.24, allocations: 79.28 kB / 0.5982 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.24, allocations: 0 / 0.5982 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000369/0.2404, allocations: 20 kB / 0.5982 GB, free: 0.8008 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001955/0.2406, allocations: 107.2 kB / 0.5983 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.241, allocations: 71.88 kB / 0.5984 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.241, allocations: 0 / 0.5984 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.2411, allocations: 40.03 kB / 0.5984 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.2414, allocations: 0 / 0.5984 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.2418, allocations: 144.5 kB / 0.5985 GB, free: 420 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.2421, allocations: 0.677 MB / 0.5992 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.882e-05/0.2422, allocations: 12.06 kB / 0.5992 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.2422, allocations: 15.42 kB / 0.5992 GB, free: 15.68 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2422, allocations: 0 / 0.5992 GB, free: 15.68 MB / 462.1 MB Notification: Performance of Templates: time 0.002946/0.2452, allocations: 0.6961 MB / 0.5999 GB, free: 15 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: