Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y") [/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.1939/0.1947, allocations: 82.21 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06135/0.2561, allocations: 62 MB / 0.6539 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01629/0.2724, allocations: 9.763 MB / 0.6634 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003487/0.276, allocations: 47.69 kB / 0.6635 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.2793, allocations: 0.7269 MB / 0.6642 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009266/0.2886, allocations: 2.067 MB / 0.6662 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003821/0.2924, allocations: 1.069 MB / 0.6673 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005735/0.2982, allocations: 2.548 MB / 0.6697 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.3002, allocations: 1.032 MB / 0.6708 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.3033, allocations: 1.199 MB / 0.6719 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.3051, allocations: 0.8129 MB / 0.6727 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.3053, allocations: 56 kB / 0.6728 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.308, allocations: 0.6748 MB / 0.6734 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003826/0.3084, allocations: 278.8 kB / 0.6737 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006697/0.3091, allocations: 372.9 kB / 0.6741 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.3116, allocations: 2.03 MB / 0.676 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3116, allocations: 0 / 0.676 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3117, allocations: 3.938 kB / 0.676 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.976e-05/0.3117, allocations: 4 kB / 0.676 GB, free: 1.121 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: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.003639/0.3153, allocations: 1.786 MB / 0.6778 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.3154, allocations: 8.031 kB / 0.6778 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.3164, allocations: 261.8 kB / 0.678 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.3188, allocations: 1.315 MB / 0.6793 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.3189, allocations: 82.11 kB / 0.6794 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.3191, allocations: 108 kB / 0.6795 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.3219, allocations: 1.424 MB / 0.6809 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.3219, allocations: 7.938 kB / 0.6809 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.322, allocations: 51.94 kB / 0.681 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.3221, allocations: 31.98 kB / 0.681 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.3246, allocations: 1.132 MB / 0.6821 GB, free: 10.67 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.008518/0.3332, allocations: 6.734 MB / 0.6887 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.335, allocations: 0.6658 MB / 0.6893 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/0.3353, allocations: 182.8 kB / 0.6895 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.3354, allocations: 43.12 kB / 0.6895 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=63): time 5.3e-06/0.3354, allocations: 0 / 0.6895 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67): time 0.006809/0.3422, allocations: 2.522 MB / 0.692 GB, free: 16 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3563/0.6985, allocations: 159.1 kB / 0.6922 GB, free: 98.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.7007, allocations: 1.276 MB / 0.6934 GB, free: 98.11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002658/0.701, allocations: 39.39 kB / 0.6934 GB, free: 98.08 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005876/0.7016, allocations: 0.6547 MB / 0.6941 GB, free: 98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.7019, allocations: 238 kB / 0.6943 GB, free: 97.92 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.7019, allocations: 20.19 kB / 0.6943 GB, free: 97.92 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.7021, allocations: 346.2 kB / 0.6947 GB, free: 97.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009745/0.703, allocations: 365.2 kB / 0.695 GB, free: 97.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000973/0.704, allocations: 0.7053 MB / 0.6957 GB, free: 97.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000868/0.7049, allocations: 453.1 kB / 0.6961 GB, free: 97.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.7049, allocations: 3 kB / 0.6961 GB, free: 97.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002121/0.707, allocations: 1.142 MB / 0.6972 GB, free: 97.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004548/0.7075, allocations: 2.837 MB / 0.7 GB, free: 94.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.7075, allocations: 5.719 kB / 0.7 GB, free: 94.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.7076, allocations: 14.97 kB / 0.7 GB, free: 94.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009314/0.7085, allocations: 242.6 kB / 0.7003 GB, free: 94.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/0.7085, allocations: 19.19 kB / 0.7003 GB, free: 94.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.71, allocations: 153 kB / 0.7004 GB, free: 94.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.7101, allocations: 43.22 kB / 0.7005 GB, free: 94.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.7101, allocations: 2.812 kB / 0.7005 GB, free: 94.14 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001572/0.7117, allocations: 0.9266 MB / 0.7014 GB, free: 94.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.7117, allocations: 12.73 kB / 0.7014 GB, free: 94.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7117, allocations: 16.84 kB / 0.7014 GB, free: 94.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007337/0.7125, allocations: 231.9 kB / 0.7016 GB, free: 94.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.7125, allocations: 16.98 kB / 0.7016 GB, free: 94.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.7139, allocations: 140.7 kB / 0.7018 GB, free: 94.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/0.714, allocations: 38.88 kB / 0.7018 GB, free: 94.05 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (110): * Single equations (assignments): 110 * 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 0.0008635/0.7149, allocations: 435.7 kB / 0.7022 GB, free: 93.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.7151, allocations: 143.4 kB / 0.7024 GB, free: 93.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.7173, allocations: 1.002 MB / 0.7033 GB, free: 93.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.7173, allocations: 8 kB / 0.7033 GB, free: 93.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.7173, allocations: 0.875 kB / 0.7033 GB, free: 93.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001853/0.7192, allocations: 0.9115 MB / 0.7042 GB, free: 93.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004659/0.7239, allocations: 2.648 MB / 0.7068 GB, free: 92.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.7239, allocations: 2.625 kB / 0.7068 GB, free: 92.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007075/0.7246, allocations: 175 kB / 0.707 GB, free: 92.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000279/0.7249, allocations: 101.3 kB / 0.7071 GB, free: 92.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.725, allocations: 22.62 kB / 0.7071 GB, free: 92.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007027/0.7257, allocations: 1.158 MB / 0.7082 GB, free: 91.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.7257, allocations: 6.047 kB / 0.7082 GB, free: 91.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003805/0.7295, allocations: 1.929 MB / 0.7101 GB, free: 89.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.7306, allocations: 353.9 kB / 0.7105 GB, free: 89.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.7309, allocations: 23.17 kB / 0.7105 GB, free: 89.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.7319, allocations: 116.9 kB / 0.7106 GB, free: 89.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.7321, allocations: 64.44 kB / 0.7107 GB, free: 89.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.001e-05/0.7322, allocations: 38.88 kB / 0.7107 GB, free: 89.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001535/0.7338, allocations: 0.906 MB / 0.7116 GB, free: 89.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7338, allocations: 3.938 kB / 0.7116 GB, free: 89.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002551/0.7363, allocations: 0.645 MB / 0.7122 GB, free: 89.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008597/0.7372, allocations: 366.7 kB / 0.7126 GB, free: 88.95 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003638/0.7409, allocations: 1.386 MB / 0.7139 GB, free: 88.53 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7409, allocations: 0.9688 kB / 0.7139 GB, free: 88.53 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.7422, allocations: 471.6 kB / 0.7144 GB, free: 88.39 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004757/0.7469, allocations: 0.8284 MB / 0.7152 GB, free: 88.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/0.7519, allocations: 2.888 MB / 0.718 GB, free: 86.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008308/0.7527, allocations: 1.22 MB / 0.7192 GB, free: 85.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001922/0.7547, allocations: 347.1 kB / 0.7195 GB, free: 85.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.755, allocations: 125.4 kB / 0.7196 GB, free: 85.59 MB / 0.5294 GB Notification: Performance of SimCode: time 1.323e-06/0.755, allocations: 0 / 0.7196 GB, free: 85.59 MB / 0.5294 GB Notification: Performance of Templates: time 0.04143/0.7965, allocations: 29.89 MB / 0.7488 GB, free: 60.86 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: