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.5128/0.5152, allocations: 80.81 MB / 0.5904 GB, free: 22.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003786/0.5191, allocations: 1.486 MB / 0.5919 GB, free: 20.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1732/0.6922, allocations: 132.1 MB / 0.7208 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.098e-05/0.6924, allocations: 0 / 0.7208 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.611e-05/0.6925, allocations: 11.75 kB / 0.7209 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.6926, allocations: 11.88 kB / 0.7209 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.6931, allocations: 66.25 kB / 0.7209 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.6932, allocations: 47.8 kB / 0.721 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.6934, allocations: 23.97 kB / 0.721 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.897e-05/0.6934, allocations: 23.92 kB / 0.721 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.823e-05/0.6935, allocations: 19.92 kB / 0.721 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.6935, allocations: 4 kB / 0.721 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.6937, allocations: 19.98 kB / 0.7211 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.6937, allocations: 11.92 kB / 0.7211 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.6937, allocations: 23.88 kB / 0.7211 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.6939, allocations: 59.8 kB / 0.7212 GB, free: 448 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6939, allocations: 0 / 0.7212 GB, free: 448 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6939, allocations: 0 / 0.7212 GB, free: 448 kB / 0.545 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.694, allocations: 4 kB / 0.7212 GB, free: 444 kB / 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.0006382/0.6946, allocations: 375.3 kB / 0.7215 GB, free: 16 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.6946, allocations: 8.031 kB / 0.7215 GB, free: 8 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.6947, allocations: 4.938 kB / 0.7215 GB, free: 4 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.6949, allocations: 176.2 kB / 0.7217 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.6949, allocations: 384 / 0.7217 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.6949, allocations: 4.375 kB / 0.7217 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.6952, allocations: 78.2 kB / 0.7218 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.6952, allocations: 4.188 kB / 0.7218 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.6953, allocations: 7.938 kB / 0.7218 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.6953, allocations: 0 / 0.7218 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.6956, allocations: 71.86 kB / 0.7219 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.6961, allocations: 288.7 kB / 0.7221 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.6963, allocations: 54.55 kB / 0.7222 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.6965, allocations: 40.91 kB / 0.7222 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.6967, allocations: 93.09 kB / 0.7223 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.6968, allocations: 34.56 kB / 0.7223 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.462e-06/0.6968, allocations: 0 / 0.7223 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005991/0.6974, allocations: 133.5 kB / 0.7225 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.6974, allocations: 55.41 kB / 0.7225 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.6976, allocations: 117.8 kB / 0.7226 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.6976, allocations: 25.7 kB / 0.7227 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.6977, allocations: 92.05 kB / 0.7227 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.6977, allocations: 7.844 kB / 0.7228 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/0.6978, allocations: 21.7 kB / 0.7228 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.698, allocations: 314.8 kB / 0.7231 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.6982, allocations: 35.97 kB / 0.7231 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.6983, allocations: 31.95 kB / 0.7231 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.6986, allocations: 69.06 kB / 0.7232 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6986, allocations: 4 kB / 0.7232 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003324/0.6989, allocations: 105.5 kB / 0.7233 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.6989, allocations: 4 kB / 0.7233 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.699, allocations: 0 / 0.7233 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.699, allocations: 4 kB / 0.7233 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.6991, allocations: 11.98 kB / 0.7233 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.6992, allocations: 4 kB / 0.7233 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.441e-05/0.6992, allocations: 15.97 kB / 0.7233 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.6993, allocations: 4 kB / 0.7234 GB, free: 13.94 MB / 0.5606 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 9.018e-05/0.6994, allocations: 113.8 kB / 0.7235 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.6994, allocations: 4 kB / 0.7235 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.6998, allocations: 109.5 kB / 0.7236 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6998, allocations: 4 kB / 0.7236 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6998, allocations: 0 / 0.7236 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6998, allocations: 0 / 0.7236 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.7, allocations: 181.4 kB / 0.7237 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7, allocations: 0 / 0.7237 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.104e-05/0.7001, allocations: 15.98 kB / 0.7238 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.7001, allocations: 0 / 0.7238 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.7002, allocations: 0 / 0.7238 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7002, allocations: 0 / 0.7238 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7002, allocations: 4 kB / 0.7238 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.7006, allocations: 203.3 kB / 0.724 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.7006, allocations: 81.02 kB / 0.724 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.7006, allocations: 0 / 0.724 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.7008, allocations: 19.98 kB / 0.7241 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.7008, allocations: 11.98 kB / 0.7241 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.7008, allocations: 0 / 0.7241 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.219e-05/0.7009, allocations: 92.36 kB / 0.7242 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7009, allocations: 0 / 0.7242 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002339/0.7011, allocations: 12 kB / 0.7242 GB, free: 13 MB / 0.5606 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.0001718/0.7013, allocations: 107.2 kB / 0.7243 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003637/0.7017, allocations: 71.92 kB / 0.7243 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.7017, allocations: 0 / 0.7243 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.7019, allocations: 43.91 kB / 0.7244 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.7022, allocations: 16.08 kB / 0.7244 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.7027, allocations: 159.6 kB / 0.7245 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.703, allocations: 0.6807 MB / 0.7252 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.061e-05/0.7031, allocations: 4 kB / 0.7252 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.7031, allocations: 11.44 kB / 0.7252 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.7031, allocations: 0 / 0.7252 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of Templates: time 0.003867/0.707, allocations: 0.9999 MB / 0.7262 GB, free: 10.88 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (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)