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.1912/0.1919, allocations: 82.21 MB / 0.5934 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002136/0.1941, allocations: 1.195 MB / 0.5945 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5338/0.7279, allocations: 112 MB / 0.7039 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.728, allocations: 0 / 0.7039 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.7281, allocations: 3.797 kB / 0.7039 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.898e-05/0.7281, allocations: 12.41 kB / 0.7039 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.7285, allocations: 52.72 kB / 0.7039 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.354e-05/0.7285, allocations: 39.56 kB / 0.704 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.7286, allocations: 17.48 kB / 0.704 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.7287, allocations: 18.2 kB / 0.704 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.7288, allocations: 19.38 kB / 0.704 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.7288, allocations: 3.25 kB / 0.704 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.642e-05/0.7289, allocations: 14.09 kB / 0.704 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.7289, allocations: 7.25 kB / 0.7041 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.7291, allocations: 33.3 kB / 0.7041 GB, free: 19.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.7292, allocations: 40.39 kB / 0.7041 GB, free: 19.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7292, allocations: 4 kB / 0.7041 GB, free: 19.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.995e-06/0.7293, allocations: 0 / 0.7041 GB, free: 19.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.7293, allocations: 6.797 kB / 0.7041 GB, free: 19.41 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.0006086/0.7299, allocations: 377.6 kB / 0.7045 GB, free: 19.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.7299, allocations: 10.56 kB / 0.7045 GB, free: 19.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.73, allocations: 10.16 kB / 0.7045 GB, free: 19.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.7301, allocations: 164.6 kB / 0.7047 GB, free: 18.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.7301, allocations: 0 / 0.7047 GB, free: 18.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.7302, allocations: 6.797 kB / 0.7047 GB, free: 18.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.7304, allocations: 88.91 kB / 0.7048 GB, free: 18.81 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7305, allocations: 4 kB / 0.7048 GB, free: 18.81 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.7305, allocations: 1.188 kB / 0.7048 GB, free: 18.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.7305, allocations: 3.156 kB / 0.7048 GB, free: 18.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.7308, allocations: 85.94 kB / 0.7049 GB, free: 18.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.7312, allocations: 289.3 kB / 0.7051 GB, free: 18.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.7314, allocations: 70.52 kB / 0.7052 GB, free: 18.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.7316, allocations: 90.09 kB / 0.7053 GB, free: 18.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.7316, allocations: 34.19 kB / 0.7053 GB, free: 18.37 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.7316, allocations: 0 / 0.7053 GB, free: 18.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005368/0.7322, allocations: 164.2 kB / 0.7055 GB, free: 18.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.7322, allocations: 57.31 kB / 0.7055 GB, free: 18.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.7323, allocations: 116.1 kB / 0.7056 GB, free: 18.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.7323, allocations: 25.7 kB / 0.7057 GB, free: 18.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.7324, allocations: 93.09 kB / 0.7057 GB, free: 18.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.7324, allocations: 10.84 kB / 0.7058 GB, free: 18.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-06/0.7324, allocations: 0 / 0.7058 GB, free: 18.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7325, allocations: 323.6 kB / 0.7061 GB, free: 17.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.7327, allocations: 42.31 kB / 0.7061 GB, free: 17.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.7328, allocations: 47.55 kB / 0.7062 GB, free: 17.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.7329, allocations: 42.5 kB / 0.7062 GB, free: 17.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.733, allocations: 0 / 0.7062 GB, free: 17.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000312/0.7333, allocations: 126.7 kB / 0.7063 GB, free: 17.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.7333, allocations: 5.438 kB / 0.7063 GB, free: 17.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.7333, allocations: 2.953 kB / 0.7063 GB, free: 17.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.7333, allocations: 1.078 kB / 0.7063 GB, free: 17.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.7334, allocations: 26.03 kB / 0.7063 GB, free: 17.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.7335, allocations: 0 / 0.7063 GB, free: 17.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.057e-05/0.7335, allocations: 19.39 kB / 0.7064 GB, free: 17.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.7336, allocations: 0.6562 kB / 0.7064 GB, free: 17.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.594e-05/0.7336, allocations: 117.6 kB / 0.7065 GB, free: 17.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.7337, allocations: 9.688 kB / 0.7065 GB, free: 17.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.734, allocations: 128 kB / 0.7066 GB, free: 17.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.734, allocations: 0 / 0.7066 GB, free: 17.51 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7341, allocations: 0 / 0.7066 GB, free: 17.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7341, allocations: 0.7031 kB / 0.7066 GB, free: 17.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.7342, allocations: 183.5 kB / 0.7068 GB, free: 17.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.7342, allocations: 0 / 0.7068 GB, free: 17.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.105e-05/0.7343, allocations: 22.72 kB / 0.7068 GB, free: 17.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7343, allocations: 0 / 0.7068 GB, free: 17.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.7343, allocations: 0.75 kB / 0.7068 GB, free: 17.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7344, allocations: 0.7969 kB / 0.7068 GB, free: 17.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.7344, allocations: 2.906 kB / 0.7068 GB, free: 17.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.7347, allocations: 216.5 kB / 0.707 GB, free: 17.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.7348, allocations: 90.44 kB / 0.7071 GB, free: 17.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.7348, allocations: 0 / 0.7071 GB, free: 17.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.7349, allocations: 17.88 kB / 0.7071 GB, free: 17.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.7349, allocations: 9.438 kB / 0.7071 GB, free: 17.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.7349, allocations: 0.6562 kB / 0.7071 GB, free: 17.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.227e-05/0.735, allocations: 98.88 kB / 0.7072 GB, free: 17 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.735, allocations: 0 / 0.7072 GB, free: 17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000216/0.7352, allocations: 11.69 kB / 0.7072 GB, free: 17 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 (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.0001406/0.7354, allocations: 114.1 kB / 0.7073 GB, free: 16.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.7357, allocations: 89.94 kB / 0.7074 GB, free: 16.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7357, allocations: 0 / 0.7074 GB, free: 16.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.7359, allocations: 54.59 kB / 0.7075 GB, free: 16.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.7361, allocations: 8.562 kB / 0.7075 GB, free: 16.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.7364, allocations: 178.8 kB / 0.7077 GB, free: 16.76 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.7367, allocations: 0.6847 MB / 0.7083 GB, free: 16.06 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.7368, allocations: 5.344 kB / 0.7083 GB, free: 16.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.7368, allocations: 7.438 kB / 0.7083 GB, free: 16.05 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.7368, allocations: 2.906 kB / 0.7083 GB, free: 16.05 MB / 0.545 GB Notification: Performance of Templates: time 0.003359/0.7402, allocations: 0.8154 MB / 0.7091 GB, free: 15.99 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: