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.4406/0.4426, allocations: 80.81 MB / 0.5904 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.0502/0.4929, allocations: 60.22 MB / 0.6492 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01771/0.5107, allocations: 10.98 MB / 0.6599 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00235/0.5132, allocations: 51.69 kB / 0.66 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.5153, allocations: 0.7065 MB / 0.6607 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006466/0.5217, allocations: 1.883 MB / 0.6625 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.525, allocations: 1.095 MB / 0.6636 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004814/0.5298, allocations: 3.003 MB / 0.6665 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/0.5321, allocations: 1.099 MB / 0.6676 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004284/0.5364, allocations: 1.454 MB / 0.669 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.5386, allocations: 0.9647 MB / 0.6699 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005591/0.5392, allocations: 124 kB / 0.6701 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.5425, allocations: 1.092 MB / 0.6711 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006055/0.5431, allocations: 306.9 kB / 0.6714 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.5449, allocations: 0.7231 MB / 0.6721 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004716/0.5497, allocations: 2.166 MB / 0.6742 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.5497, allocations: 0 / 0.6742 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5497, allocations: 0 / 0.6742 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.108e-05/0.5498, allocations: 0 / 0.6742 GB, free: 0.6875 MB / 0.4981 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.004366/0.5541, allocations: 1.727 MB / 0.6759 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.5542, allocations: 12.03 kB / 0.6759 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.5569, allocations: 458.8 kB / 0.6764 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.5595, allocations: 1.046 MB / 0.6774 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003826/0.5599, allocations: 125.9 kB / 0.6775 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.56, allocations: 88 kB / 0.6776 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.563, allocations: 1.268 MB / 0.6788 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.5631, allocations: 7.938 kB / 0.6789 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.5632, allocations: 44 kB / 0.6789 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/0.5632, allocations: 24 kB / 0.6789 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/0.5661, allocations: 1.034 MB / 0.6799 GB, free: 10.65 MB / 0.5137 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.007241/0.5734, allocations: 6.385 MB / 0.6862 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.5757, allocations: 0.6714 MB / 0.6868 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007906/0.5765, allocations: 277.3 kB / 0.6871 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003298/0.5768, allocations: 259.6 kB / 0.6873 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.5769, allocations: 38.89 kB / 0.6874 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 3.226e-06/0.5769, allocations: 0 / 0.6874 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.007329/0.5842, allocations: 1.655 MB / 0.689 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.5843, allocations: 158.2 kB / 0.6891 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.5861, allocations: 1.144 MB / 0.6903 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.5862, allocations: 37.64 kB / 0.6903 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005218/0.5867, allocations: 0.5965 MB / 0.6909 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.5869, allocations: 149.9 kB / 0.691 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.5872, allocations: 166.4 kB / 0.6912 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5873, allocations: 338 kB / 0.6915 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.5884, allocations: 356.6 kB / 0.6918 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.5898, allocations: 0.698 MB / 0.6925 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.5918, allocations: 0.8788 MB / 0.6934 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.5918, allocations: 8 kB / 0.6934 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004952/0.5968, allocations: 1.405 MB / 0.6948 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.5968, allocations: 9.875 kB / 0.6948 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.5969, allocations: 8.031 kB / 0.6948 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.5981, allocations: 344.6 kB / 0.6951 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007093/0.5988, allocations: 167.8 kB / 0.6953 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.6006, allocations: 0.962 MB / 0.6962 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.6022, allocations: 198.9 kB / 0.6964 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.47e-05/0.6023, allocations: 35.98 kB / 0.6964 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001425/0.6038, allocations: 0.5409 MB / 0.697 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00125/0.605, allocations: 0.6629 MB / 0.6976 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001841/0.6069, allocations: 0.8323 MB / 0.6984 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.279e-06/0.6069, allocations: 4 kB / 0.6984 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.003999/0.6109, allocations: 1.273 MB / 0.6997 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.6109, allocations: 8 kB / 0.6997 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.6109, allocations: 8 kB / 0.6997 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.612, allocations: 315.8 kB / 0.7 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006498/0.6127, allocations: 159.8 kB / 0.7001 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.6142, allocations: 0.9268 MB / 0.701 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.6158, allocations: 159.4 kB / 0.7012 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.6159, allocations: 39.98 kB / 0.7012 GB, free: 3.664 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (75): * Single equations (assignments): 74 * 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.0003894/0.6163, allocations: 228.4 kB / 0.7014 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.6165, allocations: 118.5 kB / 0.7016 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/0.6192, allocations: 0.8744 MB / 0.7024 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.6192, allocations: 4 kB / 0.7024 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.6192, allocations: 8 kB / 0.7024 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.6193, allocations: 3.938 kB / 0.7024 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/0.6247, allocations: 2.095 MB / 0.7045 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.6248, allocations: 4 kB / 0.7045 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.6251, allocations: 67.88 kB / 0.7045 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/0.6262, allocations: 333 kB / 0.7049 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/0.6262, allocations: 15.98 kB / 0.7049 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.628, allocations: 0.9465 MB / 0.7058 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.628, allocations: 3.938 kB / 0.7058 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.6307, allocations: 1.005 MB / 0.7068 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005327/0.6312, allocations: 255.6 kB / 0.707 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.6314, allocations: 19.98 kB / 0.707 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009277/0.6323, allocations: 83.89 kB / 0.7071 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.6325, allocations: 35.84 kB / 0.7072 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.6325, allocations: 23.97 kB / 0.7072 GB, free: 13.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001329/0.6339, allocations: 0.7913 MB / 0.708 GB, free: 12.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6339, allocations: 0 / 0.708 GB, free: 12.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001804/0.6357, allocations: 0.5537 MB / 0.7085 GB, free: 12 MB / 0.545 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.0008669/0.6366, allocations: 282.4 kB / 0.7088 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004054/0.6406, allocations: 1.284 MB / 0.71 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.6407, allocations: 0 / 0.71 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009897/0.6417, allocations: 340.6 kB / 0.7103 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/0.6444, allocations: 0.5668 MB / 0.7109 GB, free: 9.578 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/0.6499, allocations: 1.986 MB / 0.7128 GB, free: 7.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/0.6506, allocations: 1.058 MB / 0.7139 GB, free: 6.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001287/0.6519, allocations: 247 kB / 0.7141 GB, free: 6.203 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.6521, allocations: 79.42 kB / 0.7142 GB, free: 6.125 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/0.6521, allocations: 0 / 0.7142 GB, free: 6.125 MB / 0.545 GB Notification: Performance of Templates: time 0.0499/0.702, allocations: 26.14 MB / 0.7397 GB, free: 12.27 MB / 0.5762 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)