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.5147/0.5169, allocations: 80.82 MB / 0.5904 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07432/0.5913, allocations: 74 MB / 0.6627 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01935/0.6107, allocations: 11.28 MB / 0.6737 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003971/0.6147, allocations: 59.69 kB / 0.6737 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003665/0.6184, allocations: 0.8891 MB / 0.6746 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009271/0.6277, allocations: 2.412 MB / 0.677 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004611/0.6324, allocations: 1.348 MB / 0.6783 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007713/0.6401, allocations: 4.359 MB / 0.6825 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002938/0.6431, allocations: 1.425 MB / 0.6839 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005105/0.6482, allocations: 1.704 MB / 0.6856 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/0.6512, allocations: 1.26 MB / 0.6868 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000803/0.652, allocations: 172 kB / 0.687 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004754/0.6567, allocations: 1.24 MB / 0.6882 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008671/0.6576, allocations: 426.5 kB / 0.6886 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002391/0.66, allocations: 0.945 MB / 0.6895 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006607/0.6667, allocations: 2.836 MB / 0.6923 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.6667, allocations: 0 / 0.6923 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6667, allocations: 0 / 0.6923 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001425/0.6669, allocations: 0 / 0.6923 GB, free: 14.16 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.008525/0.6754, allocations: 2.102 MB / 0.6944 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.6755, allocations: 8.031 kB / 0.6944 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.6772, allocations: 242.8 kB / 0.6946 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004113/0.6813, allocations: 1.397 MB / 0.696 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.34e-05/0.6814, allocations: 82.11 kB / 0.696 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.6816, allocations: 108 kB / 0.6961 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002904/0.6845, allocations: 1.397 MB / 0.6975 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.6846, allocations: 7.938 kB / 0.6975 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.6847, allocations: 48 kB / 0.6976 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.094e-05/0.6848, allocations: 35.98 kB / 0.6976 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.6873, allocations: 1.073 MB / 0.6986 GB, free: 7.41 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.008639/0.6959, allocations: 6.699 MB / 0.7052 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.6978, allocations: 0.6379 MB / 0.7058 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007096/0.6985, allocations: 342.4 kB / 0.7061 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.6987, allocations: 178.8 kB / 0.7063 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.6988, allocations: 47.11 kB / 0.7063 GB, free: 15.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=63): time 2.325e-06/0.6988, allocations: 0 / 0.7063 GB, free: 15.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=67): time 0.006903/0.7057, allocations: 2.374 MB / 0.7087 GB, free: 12.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.7058, allocations: 166.7 kB / 0.7088 GB, free: 12.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.7076, allocations: 1.258 MB / 0.7101 GB, free: 11.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.611e-05/0.7077, allocations: 45.7 kB / 0.7101 GB, free: 11.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005743/0.7083, allocations: 0.6488 MB / 0.7107 GB, free: 10.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.7085, allocations: 232.6 kB / 0.711 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/0.7088, allocations: 198.4 kB / 0.7111 GB, free: 10.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.709, allocations: 337.9 kB / 0.7115 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008311/0.7098, allocations: 348.6 kB / 0.7118 GB, free: 9.336 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.711, allocations: 0.6879 MB / 0.7125 GB, free: 8.504 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.7129, allocations: 0.9296 MB / 0.7134 GB, free: 7.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.7129, allocations: 4 kB / 0.7134 GB, free: 7.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002339/0.7153, allocations: 1.093 MB / 0.7144 GB, free: 6.367 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.7153, allocations: 8 kB / 0.7145 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.7153, allocations: 8.844 kB / 0.7145 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.243e-05/0.7154, allocations: 15.94 kB / 0.7145 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009163/0.7163, allocations: 239.5 kB / 0.7147 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.7163, allocations: 12 kB / 0.7147 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.7176, allocations: 99.8 kB / 0.7148 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-05/0.7177, allocations: 39.98 kB / 0.7149 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001303/0.719, allocations: 0.5917 MB / 0.7154 GB, free: 5.359 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009984/0.72, allocations: 0.6566 MB / 0.7161 GB, free: 4.562 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001576/0.7216, allocations: 0.8944 MB / 0.7169 GB, free: 3.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.451e-06/0.7216, allocations: 4 kB / 0.7169 GB, free: 3.566 MB / 0.545 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002161/0.7238, allocations: 1.042 MB / 0.718 GB, free: 2.516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.7238, allocations: 8 kB / 0.718 GB, free: 2.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.7238, allocations: 8 kB / 0.718 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7238, allocations: 12 kB / 0.718 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/0.7246, allocations: 220.1 kB / 0.7182 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.589e-05/0.7247, allocations: 27.86 kB / 0.7182 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.7259, allocations: 95.83 kB / 0.7183 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.726, allocations: 40 kB / 0.7184 GB, free: 2.113 MB / 0.545 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.0003508/0.7264, allocations: 244.9 kB / 0.7186 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/0.7266, allocations: 138.3 kB / 0.7187 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.729, allocations: 0.9531 MB / 0.7197 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.729, allocations: 11.98 kB / 0.7197 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.729, allocations: 0 / 0.7197 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001795/0.7308, allocations: 0.8569 MB / 0.7205 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005346/0.7362, allocations: 2.564 MB / 0.723 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.7362, allocations: 4 kB / 0.723 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/0.7369, allocations: 160.4 kB / 0.7232 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/0.7372, allocations: 85.61 kB / 0.7232 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.7372, allocations: 20 kB / 0.7233 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009365/0.7382, allocations: 1.163 MB / 0.7244 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.7382, allocations: 4 kB / 0.7244 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003263/0.7415, allocations: 1.547 MB / 0.7259 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007511/0.7422, allocations: 319.2 kB / 0.7262 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/0.7426, allocations: 20 kB / 0.7262 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.7439, allocations: 67.98 kB / 0.7263 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.7441, allocations: 68.23 kB / 0.7264 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.7443, allocations: 35.92 kB / 0.7264 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001701/0.746, allocations: 0.8939 MB / 0.7273 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.623e-06/0.746, allocations: 0 / 0.7273 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002522/0.7485, allocations: 0.6444 MB / 0.7279 GB, free: 7.969 MB / 0.5606 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.001094/0.7496, allocations: 386.5 kB / 0.7283 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003563/0.7532, allocations: 1.365 MB / 0.7296 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.7532, allocations: 0 / 0.7296 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.7544, allocations: 439.6 kB / 0.73 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004857/0.7592, allocations: 0.8779 MB / 0.7309 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/0.7644, allocations: 2.443 MB / 0.7333 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.7655, allocations: 1.187 MB / 0.7344 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002132/0.7676, allocations: 347.7 kB / 0.7348 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/0.7681, allocations: 127.4 kB / 0.7349 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of SimCode: time 1.683e-06/0.7681, allocations: 0 / 0.7349 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of Templates: time 0.5019/1.27, allocations: 32 MB / 0.7661 GB, free: 146.3 MB / 0.5762 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)