Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [/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.1775/0.1783, allocations: 82.22 MB / 0.5941 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001825/0.1802, allocations: 1.22 MB / 0.5953 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5647/0.7449, allocations: 128.5 MB / 0.7208 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.745, allocations: 0 / 0.7208 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.7451, allocations: 10.42 kB / 0.7208 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.44e-05/0.7451, allocations: 6.75 kB / 0.7208 GB, free: 316 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.7455, allocations: 62.28 kB / 0.7209 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.979e-05/0.7456, allocations: 53.81 kB / 0.7209 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.7458, allocations: 11.03 kB / 0.721 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.7458, allocations: 17.5 kB / 0.721 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.7459, allocations: 25.12 kB / 0.721 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.7459, allocations: 6.625 kB / 0.721 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/0.746, allocations: 15.03 kB / 0.721 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.746, allocations: 4.344 kB / 0.721 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.707e-05/0.7461, allocations: 46.48 kB / 0.7211 GB, free: 16.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.7462, allocations: 57.41 kB / 0.7211 GB, free: 16.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7463, allocations: 0 / 0.7211 GB, free: 16.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.315e-06/0.7463, allocations: 0 / 0.7211 GB, free: 16.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.7463, allocations: 0 / 0.7211 GB, free: 16.25 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000564/0.7468, allocations: 376.5 kB / 0.7215 GB, free: 15.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.7469, allocations: 10.38 kB / 0.7215 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.747, allocations: 7.438 kB / 0.7215 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.7472, allocations: 174.9 kB / 0.7217 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.7472, allocations: 6.906 kB / 0.7217 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.7472, allocations: 4.188 kB / 0.7217 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.7475, allocations: 88.98 kB / 0.7218 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.7476, allocations: 192 / 0.7218 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.7476, allocations: 3.938 kB / 0.7218 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.7476, allocations: 3.938 kB / 0.7218 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.7479, allocations: 92.44 kB / 0.7219 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.7483, allocations: 289.7 kB / 0.7221 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.7486, allocations: 67.45 kB / 0.7222 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.7487, allocations: 49.19 kB / 0.7222 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.7489, allocations: 93.83 kB / 0.7223 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.749, allocations: 30.56 kB / 0.7224 GB, free: 15.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.749, allocations: 4 kB / 0.7224 GB, free: 15.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005624/0.7495, allocations: 162 kB / 0.7225 GB, free: 15.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.7496, allocations: 54.25 kB / 0.7226 GB, free: 15.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.7497, allocations: 120.4 kB / 0.7227 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.7497, allocations: 25.7 kB / 0.7227 GB, free: 14.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.7498, allocations: 90.48 kB / 0.7228 GB, free: 14.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.7498, allocations: 17 kB / 0.7228 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.7498, allocations: 12.44 kB / 0.7228 GB, free: 14.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.75, allocations: 316.8 kB / 0.7231 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.7501, allocations: 41.17 kB / 0.7232 GB, free: 14.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.7503, allocations: 48.8 kB / 0.7232 GB, free: 14.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.7506, allocations: 89.58 kB / 0.7233 GB, free: 14.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/0.7506, allocations: 0 / 0.7233 GB, free: 14.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003455/0.7509, allocations: 119.8 kB / 0.7234 GB, free: 14.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.751, allocations: 8.672 kB / 0.7234 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.751, allocations: 0 / 0.7234 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.751, allocations: 4 kB / 0.7234 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.7512, allocations: 20.81 kB / 0.7234 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.7512, allocations: 1.859 kB / 0.7234 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.91e-05/0.7513, allocations: 20.47 kB / 0.7235 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.7513, allocations: 2.594 kB / 0.7235 GB, free: 14.46 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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.0001112/0.7514, allocations: 121.2 kB / 0.7236 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.7514, allocations: 8.391 kB / 0.7236 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004181/0.7519, allocations: 134.9 kB / 0.7237 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7519, allocations: 0 / 0.7237 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7519, allocations: 0 / 0.7237 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7519, allocations: 0 / 0.7237 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.7521, allocations: 173.2 kB / 0.7239 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.7521, allocations: 2.297 kB / 0.7239 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.728e-05/0.7522, allocations: 24.59 kB / 0.7239 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7522, allocations: 0 / 0.7239 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.7522, allocations: 0 / 0.7239 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.7522, allocations: 0 / 0.7239 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7523, allocations: 0 / 0.7239 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.7527, allocations: 222 kB / 0.7241 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.7527, allocations: 87.81 kB / 0.7242 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.7527, allocations: 3.984 kB / 0.7242 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.7529, allocations: 23.14 kB / 0.7242 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.7529, allocations: 10.39 kB / 0.7242 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.753, allocations: 2.938 kB / 0.7242 GB, free: 13.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.869e-05/0.753, allocations: 88.66 kB / 0.7243 GB, free: 13.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.753, allocations: 1.188 kB / 0.7243 GB, free: 13.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002444/0.7533, allocations: 12.56 kB / 0.7243 GB, free: 13.77 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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.0002001/0.7535, allocations: 108.4 kB / 0.7244 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.7539, allocations: 89.98 kB / 0.7245 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7539, allocations: 3.938 kB / 0.7245 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.7541, allocations: 47.48 kB / 0.7246 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.7544, allocations: 19.08 kB / 0.7246 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.7548, allocations: 180.8 kB / 0.7248 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.7552, allocations: 0.6857 MB / 0.7254 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.839e-05/0.7552, allocations: 6.438 kB / 0.7254 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.7553, allocations: 9.906 kB / 0.7255 GB, free: 12.82 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.7553, allocations: 0 / 0.7255 GB, free: 12.82 MB / 0.545 GB Notification: Performance of Templates: time 0.003765/0.759, allocations: 0.8361 MB / 0.7263 GB, free: 12.76 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: