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.2108/0.2131, allocations: 80.83 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003695/0.2168, allocations: 1.269 MB / 0.6719 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7176/0.9344, allocations: 132 MB / 0.8008 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.9345, allocations: 0 / 0.8008 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.9346, allocations: 6.094 kB / 0.8008 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.9347, allocations: 8.125 kB / 0.8008 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00042/0.9351, allocations: 54.64 kB / 0.8009 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.552e-05/0.9352, allocations: 21.45 kB / 0.8009 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.9352, allocations: 5.219 kB / 0.8009 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.9353, allocations: 11.81 kB / 0.8009 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.267e-05/0.9354, allocations: 12.94 kB / 0.8009 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.9354, allocations: 1.094 kB / 0.8009 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 6.818e-05/0.9355, allocations: 13.5 kB / 0.8009 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.9355, allocations: 4.906 kB / 0.8009 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.9355, allocations: 10.19 kB / 0.8009 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 9.71e-05/0.9356, allocations: 25.64 kB / 0.801 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.9356, allocations: 1.438 kB / 0.801 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.552e-06/0.9356, allocations: 3.938 kB / 0.801 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.9357, allocations: 4 kB / 0.801 GB, free: 12.92 MB / 0.5919 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.0004219/0.9361, allocations: 329.8 kB / 0.8013 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.9361, allocations: 9.625 kB / 0.8013 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.9362, allocations: 7 kB / 0.8013 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.9363, allocations: 163.6 kB / 0.8015 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/0.9364, allocations: 29.36 kB / 0.8015 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.9364, allocations: 1.406 kB / 0.8015 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.9365, allocations: 47.67 kB / 0.8015 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.9365, allocations: 7.938 kB / 0.8015 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.9366, allocations: 1.156 kB / 0.8015 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.9366, allocations: 0 / 0.8015 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.197e-05/0.9366, allocations: 16.2 kB / 0.8016 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.9368, allocations: 150.8 kB / 0.8017 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.717e-05/0.9369, allocations: 30.31 kB / 0.8017 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.937, allocations: 20.03 kB / 0.8018 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.9371, allocations: 90.2 kB / 0.8018 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.9372, allocations: 35.72 kB / 0.8019 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.9372, allocations: 0 / 0.8019 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002364/0.9374, allocations: 57.34 kB / 0.8019 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.9375, allocations: 52.62 kB / 0.802 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.9375, allocations: 102.7 kB / 0.8021 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.9376, allocations: 25.7 kB / 0.8021 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.9377, allocations: 81.17 kB / 0.8022 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.9377, allocations: 16.44 kB / 0.8022 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.9377, allocations: 14.86 kB / 0.8022 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.9379, allocations: 311.9 kB / 0.8025 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.9379, allocations: 10.27 kB / 0.8025 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.728e-05/0.938, allocations: 14.28 kB / 0.8025 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.296e-05/0.9381, allocations: 25.95 kB / 0.8026 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9381, allocations: 0 / 0.8026 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001164/0.9382, allocations: 49.86 kB / 0.8026 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.9382, allocations: 9.188 kB / 0.8026 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.9382, allocations: 3.984 kB / 0.8026 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.9382, allocations: 1.156 kB / 0.8026 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.9383, allocations: 8.719 kB / 0.8026 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.9383, allocations: 3.719 kB / 0.8026 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.9384, allocations: 8.562 kB / 0.8026 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.9384, allocations: 1.125 kB / 0.8026 GB, free: 11.22 MB / 0.5919 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.0001337/0.9385, allocations: 114.9 kB / 0.8027 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.9385, allocations: 5.188 kB / 0.8027 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.9387, allocations: 59.05 kB / 0.8028 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.9387, allocations: 0 / 0.8028 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9387, allocations: 1.188 kB / 0.8028 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.9387, allocations: 0 / 0.8028 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.9389, allocations: 157.9 kB / 0.803 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9389, allocations: 1.125 kB / 0.803 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.9389, allocations: 6.25 kB / 0.803 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.9389, allocations: 5.156 kB / 0.803 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.939, allocations: 0 / 0.803 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.939, allocations: 2.578 kB / 0.803 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.939, allocations: 3.344 kB / 0.803 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.9391, allocations: 79.19 kB / 0.803 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.9392, allocations: 84.81 kB / 0.8031 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.9392, allocations: 5.094 kB / 0.8031 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.917e-05/0.9393, allocations: 1.062 kB / 0.8031 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.9393, allocations: 3.312 kB / 0.8031 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.9393, allocations: 4.438 kB / 0.8031 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.9393, allocations: 80.12 kB / 0.8032 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.9394, allocations: 1.188 kB / 0.8032 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000194/0.9396, allocations: 9.188 kB / 0.8032 GB, free: 10.61 MB / 0.5919 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.0001618/0.9397, allocations: 112.1 kB / 0.8033 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.9399, allocations: 24.58 kB / 0.8034 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9399, allocations: 0 / 0.8034 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.94, allocations: 14.12 kB / 0.8034 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.9402, allocations: 7.875 kB / 0.8034 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.9406, allocations: 125.3 kB / 0.8035 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.9409, allocations: 0.6797 MB / 0.8042 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.1e-05/0.9409, allocations: 7.656 kB / 0.8042 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.941, allocations: 13.69 kB / 0.8042 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.941, allocations: 3.938 kB / 0.8042 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of Templates: time 0.003103/0.9441, allocations: 0.5282 MB / 0.8047 GB, free: 9.621 MB / 0.5919 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)