Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") [/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.232/0.2341, allocations: 80.83 MB / 0.5897 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06275/0.2969, allocations: 59.89 MB / 0.6482 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01809/0.315, allocations: 11.05 MB / 0.6589 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003019/0.3181, allocations: 47.59 kB / 0.659 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.3208, allocations: 0.5711 MB / 0.6595 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007379/0.3282, allocations: 1.734 MB / 0.6612 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003812/0.332, allocations: 0.9762 MB / 0.6622 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006096/0.3381, allocations: 3.966 MB / 0.6661 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.34, allocations: 0.9104 MB / 0.667 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/0.3434, allocations: 1.279 MB / 0.6682 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.345, allocations: 0.9645 MB / 0.6691 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.3452, allocations: 60 kB / 0.6692 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.3477, allocations: 0.9982 MB / 0.6702 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.348, allocations: 242.9 kB / 0.6704 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008676/0.3488, allocations: 0.6684 MB / 0.6711 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.3515, allocations: 2.127 MB / 0.6731 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3516, allocations: 0 / 0.6731 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3516, allocations: 4 kB / 0.6731 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.3516, allocations: 0 / 0.6731 GB, free: 1.348 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003339/0.3549, allocations: 1.726 MB / 0.6748 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.355, allocations: 8.031 kB / 0.6748 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002477/0.3575, allocations: 458.8 kB / 0.6753 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.3595, allocations: 1.062 MB / 0.6763 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003356/0.3599, allocations: 121.9 kB / 0.6764 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.36, allocations: 91.94 kB / 0.6765 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.3627, allocations: 1.233 MB / 0.6777 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.3627, allocations: 7.875 kB / 0.6777 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.074e-05/0.3628, allocations: 43.98 kB / 0.6778 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.3629, allocations: 27.98 kB / 0.6778 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/0.3657, allocations: 1.03 MB / 0.6788 GB, free: 11.36 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007195/0.3729, allocations: 5.97 MB / 0.6846 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.3752, allocations: 0.6714 MB / 0.6853 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000736/0.376, allocations: 281.3 kB / 0.6856 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.3762, allocations: 255.6 kB / 0.6858 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3763, allocations: 42.89 kB / 0.6858 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 2.745e-06/0.3763, allocations: 0 / 0.6858 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.006919/0.3832, allocations: 1.645 MB / 0.6874 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.761e-05/0.3833, allocations: 170.1 kB / 0.6876 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.3849, allocations: 1.12 MB / 0.6887 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.863e-05/0.385, allocations: 37.64 kB / 0.6887 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004467/0.3854, allocations: 0.589 MB / 0.6893 GB, free: 48 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.3976/0.7831, allocations: 132.9 kB / 0.6894 GB, free: 99.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005241/0.7836, allocations: 160.7 kB / 0.6896 GB, free: 99.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.7837, allocations: 335.1 kB / 0.6899 GB, free: 99.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.7849, allocations: 354.1 kB / 0.6903 GB, free: 99.08 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.7863, allocations: 0.6612 MB / 0.6909 GB, free: 98.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.7883, allocations: 0.8299 MB / 0.6917 GB, free: 98.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.7883, allocations: 5.125 kB / 0.6917 GB, free: 98.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003132/0.7915, allocations: 1.148 MB / 0.6928 GB, free: 98.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.7915, allocations: 9.156 kB / 0.6928 GB, free: 98.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.7915, allocations: 8.625 kB / 0.6929 GB, free: 98.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.7927, allocations: 332.8 kB / 0.6932 GB, free: 98.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/0.7933, allocations: 160.6 kB / 0.6933 GB, free: 98.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.7948, allocations: 0.9604 MB / 0.6943 GB, free: 97.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.7965, allocations: 213.9 kB / 0.6945 GB, free: 97.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.31e-05/0.7966, allocations: 35.89 kB / 0.6945 GB, free: 97.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001236/0.7978, allocations: 0.5305 MB / 0.695 GB, free: 97.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009736/0.7988, allocations: 0.6386 MB / 0.6956 GB, free: 97.44 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00154/0.8003, allocations: 0.7836 MB / 0.6964 GB, free: 97.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.889e-06/0.8004, allocations: 2.812 kB / 0.6964 GB, free: 97.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.003367/0.8037, allocations: 1.088 MB / 0.6975 GB, free: 97.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.8038, allocations: 8.5 kB / 0.6975 GB, free: 97.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.8038, allocations: 13.84 kB / 0.6975 GB, free: 97.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.8048, allocations: 304.8 kB / 0.6978 GB, free: 97.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/0.8055, allocations: 150.7 kB / 0.6979 GB, free: 97.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.8069, allocations: 0.9185 MB / 0.6988 GB, free: 96.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.8088, allocations: 181.9 kB / 0.699 GB, free: 96.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.039e-05/0.8089, allocations: 37.48 kB / 0.699 GB, free: 96.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0004061/0.8093, allocations: 230.2 kB / 0.6993 GB, free: 96.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.8095, allocations: 117.3 kB / 0.6994 GB, free: 96.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.8122, allocations: 0.8541 MB / 0.7002 GB, free: 96.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.8123, allocations: 9.406 kB / 0.7002 GB, free: 96.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.8123, allocations: 3.938 kB / 0.7002 GB, free: 96.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.8123, allocations: 3.656 kB / 0.7002 GB, free: 96.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006085/0.8184, allocations: 2.078 MB / 0.7022 GB, free: 95.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.8184, allocations: 3.469 kB / 0.7022 GB, free: 95.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.8188, allocations: 68.5 kB / 0.7023 GB, free: 95.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.8199, allocations: 332.2 kB / 0.7026 GB, free: 95.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-05/0.82, allocations: 17.09 kB / 0.7026 GB, free: 95.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.8216, allocations: 0.9525 MB / 0.7036 GB, free: 95.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.8216, allocations: 4.297 kB / 0.7036 GB, free: 95.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/0.8244, allocations: 0.9996 MB / 0.7046 GB, free: 94.81 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007287/0.8252, allocations: 271 kB / 0.7048 GB, free: 94.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.8254, allocations: 9.781 kB / 0.7048 GB, free: 94.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.8265, allocations: 104.5 kB / 0.7049 GB, free: 94.58 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.8267, allocations: 38.42 kB / 0.705 GB, free: 94.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/0.8268, allocations: 28.39 kB / 0.705 GB, free: 94.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001829/0.8286, allocations: 0.7788 MB / 0.7057 GB, free: 94.24 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8286, allocations: 3.281 kB / 0.7057 GB, free: 94.24 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002583/0.8312, allocations: 0.5506 MB / 0.7063 GB, free: 94.15 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008054/0.832, allocations: 264.7 kB / 0.7065 GB, free: 94.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004911/0.837, allocations: 1.224 MB / 0.7077 GB, free: 93.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.837, allocations: 1.812 kB / 0.7077 GB, free: 93.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.8381, allocations: 343.5 kB / 0.7081 GB, free: 93.58 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/0.8411, allocations: 0.5494 MB / 0.7086 GB, free: 93.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006067/0.8472, allocations: 2.375 MB / 0.7109 GB, free: 92.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.8478, allocations: 1.062 MB / 0.712 GB, free: 91.36 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001302/0.8491, allocations: 236 kB / 0.7122 GB, free: 91.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.8493, allocations: 80.11 kB / 0.7123 GB, free: 91.29 MB / 0.5294 GB Notification: Performance of SimCode: time 2.024e-06/0.8493, allocations: 4 kB / 0.7123 GB, free: 91.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.03804/0.8874, allocations: 24.93 MB / 0.7366 GB, free: 71.79 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)