Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.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.234/0.2369, allocations: 80.83 MB / 0.5897 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003072/0.24, allocations: 1.344 MB / 0.591 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6287/0.8687, allocations: 129.9 MB / 0.7178 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.8689, allocations: 0 / 0.7178 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.8689, allocations: 0 / 0.7178 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.008e-05/0.869, allocations: 8.906 kB / 0.7178 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.8693, allocations: 51.34 kB / 0.7179 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.623e-05/0.8694, allocations: 15.53 kB / 0.7179 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.8694, allocations: 9.266 kB / 0.7179 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.524e-05/0.8695, allocations: 10.72 kB / 0.7179 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.8695, allocations: 11.3 kB / 0.7179 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.8695, allocations: 4 kB / 0.7179 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.599e-05/0.8696, allocations: 13.53 kB / 0.7179 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.8696, allocations: 1.094 kB / 0.7179 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.8697, allocations: 15.44 kB / 0.718 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.556e-05/0.8698, allocations: 23.7 kB / 0.718 GB, free: 300 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.8698, allocations: 1.203 kB / 0.718 GB, free: 300 kB / 0.5294 GB Notification: Performance of FrontEnd: time 8.01e-07/0.8698, allocations: 0 / 0.718 GB, free: 300 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.8698, allocations: 0 / 0.718 GB, free: 300 kB / 0.5294 GB 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.0004207/0.8702, allocations: 335.9 kB / 0.7183 GB, free: 15.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.8703, allocations: 12.25 kB / 0.7183 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.8703, allocations: 3.531 kB / 0.7183 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.8704, allocations: 169.4 kB / 0.7185 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.483e-05/0.8705, allocations: 33.86 kB / 0.7185 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.8705, allocations: 384 / 0.7185 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.8706, allocations: 41.88 kB / 0.7186 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.8707, allocations: 5.141 kB / 0.7186 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.8707, allocations: 0 / 0.7186 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.8707, allocations: 0 / 0.7186 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.57e-05/0.8708, allocations: 18.83 kB / 0.7186 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.8709, allocations: 153.9 kB / 0.7187 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.871, allocations: 30.75 kB / 0.7188 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.871, allocations: 11.14 kB / 0.7188 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.8712, allocations: 97.83 kB / 0.7189 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.8712, allocations: 34.56 kB / 0.7189 GB, free: 15.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.8712, allocations: 0 / 0.7189 GB, free: 15.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002091/0.8715, allocations: 57.81 kB / 0.7189 GB, free: 15.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.8715, allocations: 53.78 kB / 0.719 GB, free: 15.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.658e-05/0.8716, allocations: 102.9 kB / 0.7191 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.8716, allocations: 28.61 kB / 0.7191 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.267e-05/0.8716, allocations: 82.8 kB / 0.7192 GB, free: 14.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.8716, allocations: 18.19 kB / 0.7192 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.8717, allocations: 16.28 kB / 0.7192 GB, free: 14.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.8718, allocations: 313.5 kB / 0.7195 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.545e-05/0.8718, allocations: 4.875 kB / 0.7195 GB, free: 14.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.267e-05/0.8719, allocations: 11.75 kB / 0.7195 GB, free: 14.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.8719, allocations: 25.5 kB / 0.7196 GB, free: 14.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.8719, allocations: 1.203 kB / 0.7196 GB, free: 14.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001091/0.8721, allocations: 51.92 kB / 0.7196 GB, free: 14.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.8721, allocations: 9.781 kB / 0.7196 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.8721, allocations: 2.625 kB / 0.7196 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.8721, allocations: 1.375 kB / 0.7196 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.8722, allocations: 4.75 kB / 0.7196 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.8722, allocations: 0 / 0.7196 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.8722, allocations: 2.625 kB / 0.7196 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.8722, allocations: 2.438 kB / 0.7196 GB, free: 14.59 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 7.884e-05/0.8723, allocations: 117.3 kB / 0.7198 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.8723, allocations: 7.969 kB / 0.7198 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.8725, allocations: 60.91 kB / 0.7198 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8725, allocations: 0 / 0.7198 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.8725, allocations: 0 / 0.7198 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.8725, allocations: 0 / 0.7198 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.8726, allocations: 160.1 kB / 0.72 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8726, allocations: 0 / 0.72 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.863e-05/0.8727, allocations: 5.25 kB / 0.72 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.8727, allocations: 3.938 kB / 0.72 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.8727, allocations: 4.625 kB / 0.72 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8727, allocations: 0 / 0.72 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.8727, allocations: 3.719 kB / 0.72 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.8729, allocations: 73.45 kB / 0.7201 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.8729, allocations: 87.14 kB / 0.7201 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.873, allocations: 5 kB / 0.7201 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.809e-05/0.873, allocations: 0 / 0.7201 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.873, allocations: 8.094 kB / 0.7202 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.873, allocations: 0 / 0.7202 GB, free: 14.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.037e-05/0.8731, allocations: 78.03 kB / 0.7202 GB, free: 13.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.8731, allocations: 0 / 0.7202 GB, free: 13.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002097/0.8733, allocations: 14.84 kB / 0.7202 GB, free: 13.98 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.0001385/0.8734, allocations: 109.5 kB / 0.7204 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.8736, allocations: 21.11 kB / 0.7204 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8736, allocations: 7.938 kB / 0.7204 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.8736, allocations: 16.14 kB / 0.7204 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.8739, allocations: 3.172 kB / 0.7204 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.8742, allocations: 126.5 kB / 0.7205 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.8744, allocations: 0.6753 MB / 0.7212 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.427e-05/0.8745, allocations: 12.66 kB / 0.7212 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.688e-05/0.8745, allocations: 10.19 kB / 0.7212 GB, free: 13.07 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.8745, allocations: 0 / 0.7212 GB, free: 13.07 MB / 0.545 GB Notification: Performance of Templates: time 0.002458/0.877, allocations: 498.5 kB / 0.7217 GB, free: 13.04 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)