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.2117/0.2139, allocations: 80.84 MB / 0.5897 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06867/0.2826, allocations: 73.57 MB / 0.6615 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01661/0.2993, allocations: 11.33 MB / 0.6726 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003059/0.3024, allocations: 55.69 kB / 0.6726 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002863/0.3053, allocations: 0.7344 MB / 0.6734 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007353/0.3127, allocations: 2.228 MB / 0.6755 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.3168, allocations: 1.232 MB / 0.6767 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008034/0.3248, allocations: 5.708 MB / 0.6823 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.3268, allocations: 1.174 MB / 0.6835 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003169/0.33, allocations: 1.431 MB / 0.6848 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/0.3322, allocations: 1.252 MB / 0.6861 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.3324, allocations: 79.94 kB / 0.6861 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.3348, allocations: 1.099 MB / 0.6872 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003359/0.3352, allocations: 334.5 kB / 0.6875 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009869/0.3362, allocations: 0.8435 MB / 0.6884 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.4534/0.7896, allocations: 2.768 MB / 0.6911 GB, free: 38.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.7896, allocations: 1.375 kB / 0.6911 GB, free: 38.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7897, allocations: 0 / 0.6911 GB, free: 38.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.154e-05/0.7897, allocations: 0 / 0.6911 GB, free: 38.66 MB / 0.5294 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.005661/0.7954, allocations: 2.098 MB / 0.6931 GB, free: 37.74 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.7955, allocations: 8.625 kB / 0.6931 GB, free: 37.74 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.7969, allocations: 246.4 kB / 0.6934 GB, free: 37.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.7994, allocations: 1.431 MB / 0.6948 GB, free: 37.26 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.448e-05/0.7995, allocations: 86.12 kB / 0.6948 GB, free: 37.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.7997, allocations: 110.7 kB / 0.6949 GB, free: 37.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/0.8029, allocations: 1.394 MB / 0.6963 GB, free: 36.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.8029, allocations: 6.453 kB / 0.6963 GB, free: 36.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.803, allocations: 45.42 kB / 0.6964 GB, free: 36.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-05/0.8031, allocations: 40.27 kB / 0.6964 GB, free: 36.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.8058, allocations: 1.074 MB / 0.6974 GB, free: 36.92 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.008047/0.8138, allocations: 6.654 MB / 0.7039 GB, free: 32.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.8156, allocations: 0.6359 MB / 0.7046 GB, free: 32.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007172/0.8163, allocations: 345.8 kB / 0.7049 GB, free: 32.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.8165, allocations: 184.6 kB / 0.7051 GB, free: 32.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.8166, allocations: 44.38 kB / 0.7051 GB, free: 32.63 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=63): time 3.396e-06/0.8166, allocations: 0 / 0.7051 GB, free: 32.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67): time 0.006706/0.8233, allocations: 2.372 MB / 0.7074 GB, free: 32.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.8234, allocations: 166.1 kB / 0.7076 GB, free: 31.85 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.8253, allocations: 1.241 MB / 0.7088 GB, free: 31.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.8254, allocations: 40.11 kB / 0.7088 GB, free: 31.65 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005115/0.826, allocations: 0.651 MB / 0.7095 GB, free: 31.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.8262, allocations: 235.6 kB / 0.7097 GB, free: 31.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003445/0.8265, allocations: 190.2 kB / 0.7099 GB, free: 31.24 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.8266, allocations: 344.4 kB / 0.7102 GB, free: 30.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009481/0.8276, allocations: 352.1 kB / 0.7105 GB, free: 30.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.8288, allocations: 0.6858 MB / 0.7112 GB, free: 30.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.8308, allocations: 0.9313 MB / 0.7121 GB, free: 30.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.8308, allocations: 2.281 kB / 0.7121 GB, free: 30.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003191/0.834, allocations: 1.091 MB / 0.7132 GB, free: 30.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.834, allocations: 9.406 kB / 0.7132 GB, free: 30.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.8341, allocations: 8.547 kB / 0.7132 GB, free: 30.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.416e-05/0.8341, allocations: 15.69 kB / 0.7132 GB, free: 30.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.8352, allocations: 230.5 kB / 0.7134 GB, free: 30.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.179e-05/0.8352, allocations: 15 kB / 0.7135 GB, free: 30.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.8371, allocations: 144.1 kB / 0.7136 GB, free: 30.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.8372, allocations: 41.27 kB / 0.7136 GB, free: 30.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001449/0.8387, allocations: 0.5909 MB / 0.7142 GB, free: 30.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009803/0.8397, allocations: 0.6591 MB / 0.7149 GB, free: 29.65 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001817/0.8415, allocations: 0.887 MB / 0.7157 GB, free: 29.37 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.156e-06/0.8415, allocations: 3.312 kB / 0.7157 GB, free: 29.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.003583/0.8451, allocations: 1.045 MB / 0.7167 GB, free: 29.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.8452, allocations: 8.188 kB / 0.7168 GB, free: 29.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.8452, allocations: 10.44 kB / 0.7168 GB, free: 29.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.63e-05/0.8452, allocations: 12.58 kB / 0.7168 GB, free: 29.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.8464, allocations: 223.4 kB / 0.717 GB, free: 29.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.738e-05/0.8464, allocations: 15.83 kB / 0.717 GB, free: 29.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.8482, allocations: 137.6 kB / 0.7171 GB, free: 29.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/0.8483, allocations: 40.02 kB / 0.7172 GB, free: 29.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003733/0.8486, allocations: 247.7 kB / 0.7174 GB, free: 29.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.8489, allocations: 138.6 kB / 0.7175 GB, free: 28.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.8513, allocations: 0.9548 MB / 0.7185 GB, free: 28.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.8514, allocations: 5.844 kB / 0.7185 GB, free: 28.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.8514, allocations: 8.141 kB / 0.7185 GB, free: 28.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001897/0.8533, allocations: 0.8581 MB / 0.7193 GB, free: 28.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005367/0.8587, allocations: 2.552 MB / 0.7218 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.8587, allocations: 9.125 kB / 0.7218 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.8594, allocations: 155.7 kB / 0.722 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.8597, allocations: 91.67 kB / 0.7221 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.8598, allocations: 23.78 kB / 0.7221 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000649/0.8605, allocations: 1.164 MB / 0.7232 GB, free: 27.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.8605, allocations: 5.219 kB / 0.7232 GB, free: 27.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.8636, allocations: 1.556 MB / 0.7247 GB, free: 26.67 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007978/0.8645, allocations: 314.8 kB / 0.725 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.8647, allocations: 28.53 kB / 0.7251 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.8657, allocations: 87.55 kB / 0.7252 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.8659, allocations: 65.92 kB / 0.7252 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.982e-05/0.866, allocations: 38.11 kB / 0.7253 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001505/0.8675, allocations: 0.8733 MB / 0.7261 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.7e-07/0.8675, allocations: 1.312 kB / 0.7261 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002398/0.8699, allocations: 0.6387 MB / 0.7267 GB, free: 26.36 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008111/0.8707, allocations: 361.2 kB / 0.7271 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002853/0.8736, allocations: 1.321 MB / 0.7284 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.8736, allocations: 2.938 kB / 0.7284 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009926/0.8746, allocations: 439.2 kB / 0.7288 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004489/0.8791, allocations: 0.834 MB / 0.7296 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.8843, allocations: 2.922 MB / 0.7325 GB, free: 24.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/0.885, allocations: 1.188 MB / 0.7336 GB, free: 23.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001827/0.8869, allocations: 348.3 kB / 0.7339 GB, free: 23.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.8872, allocations: 125.7 kB / 0.7341 GB, free: 23.75 MB / 0.5294 GB Notification: Performance of SimCode: time 1.593e-06/0.8872, allocations: 2.562 kB / 0.7341 GB, free: 23.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.05129/0.9385, allocations: 30.28 MB / 0.7636 GB, free: 1.156 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (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)