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.233/0.2338, allocations: 82.22 MB / 0.5941 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.07497/0.3089, allocations: 58.8 MB / 0.6515 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01818/0.3271, allocations: 10.91 MB / 0.6622 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003191/0.3303, allocations: 47.69 kB / 0.6622 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00297/0.3333, allocations: 0.5711 MB / 0.6628 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008285/0.3417, allocations: 1.738 MB / 0.6645 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00418/0.3459, allocations: 0.9841 MB / 0.6654 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006864/0.3528, allocations: 3.951 MB / 0.6693 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002978/0.3558, allocations: 0.8975 MB / 0.6702 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005195/0.361, allocations: 1.233 MB / 0.6714 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/0.3642, allocations: 0.9333 MB / 0.6723 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005467/0.3648, allocations: 44 kB / 0.6723 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003445/0.3682, allocations: 0.9787 MB / 0.6733 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005766/0.3688, allocations: 226.9 kB / 0.6735 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002028/0.3709, allocations: 0.6623 MB / 0.6742 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004643/0.3755, allocations: 2.079 MB / 0.6762 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.3756, allocations: 7.984 kB / 0.6762 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.946e-06/0.3756, allocations: 0 / 0.6762 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.143e-05/0.3757, allocations: 4 kB / 0.6762 GB, free: 1.242 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.004182/0.3799, allocations: 1.466 MB / 0.6776 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.3799, allocations: 12.03 kB / 0.6776 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/0.3826, allocations: 0.491 MB / 0.6781 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/0.3851, allocations: 1.081 MB / 0.6792 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003818/0.3855, allocations: 133.9 kB / 0.6793 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.3856, allocations: 88 kB / 0.6794 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.3885, allocations: 1.284 MB / 0.6806 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.3885, allocations: 7.938 kB / 0.6807 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-05/0.3887, allocations: 39.94 kB / 0.6807 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/0.3887, allocations: 28 kB / 0.6807 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.3918, allocations: 1.101 MB / 0.6818 GB, free: 11.32 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.007692/0.3995, allocations: 6.017 MB / 0.6877 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.4019, allocations: 0.7345 MB / 0.6884 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007514/0.4027, allocations: 301.3 kB / 0.6887 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/0.403, allocations: 263.8 kB / 0.6889 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.403, allocations: 34.89 kB / 0.689 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 2.524e-06/0.403, allocations: 0 / 0.689 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.007529/0.4106, allocations: 1.852 MB / 0.6908 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.4107, allocations: 174.2 kB / 0.6909 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.4127, allocations: 1.124 MB / 0.692 GB, free: 300 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.4129, allocations: 37.7 kB / 0.6921 GB, free: 256 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.4584/0.8713, allocations: 0.5853 MB / 0.6926 GB, free: 98.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/0.8717, allocations: 142.7 kB / 0.6928 GB, free: 98.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.8718, allocations: 58.05 kB / 0.6928 GB, free: 98.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.872, allocations: 330.5 kB / 0.6931 GB, free: 98.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.8733, allocations: 380.1 kB / 0.6935 GB, free: 98.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.8749, allocations: 0.6969 MB / 0.6942 GB, free: 97.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/0.8772, allocations: 0.9043 MB / 0.6951 GB, free: 97.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.8772, allocations: 1.75 kB / 0.6951 GB, free: 97.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00315/0.8804, allocations: 1.231 MB / 0.6963 GB, free: 97.28 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.8805, allocations: 290 kB / 0.6965 GB, free: 96.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.8805, allocations: 12.56 kB / 0.6966 GB, free: 96.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.8817, allocations: 364.6 kB / 0.6969 GB, free: 96.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006508/0.8824, allocations: 168.2 kB / 0.6971 GB, free: 96.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.884, allocations: 0.998 MB / 0.698 GB, free: 96.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.8857, allocations: 245.5 kB / 0.6983 GB, free: 96.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/0.8858, allocations: 34.61 kB / 0.6983 GB, free: 96.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.8858, allocations: 3.656 kB / 0.6983 GB, free: 96.36 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002429/0.8882, allocations: 1.017 MB / 0.6993 GB, free: 96.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.8883, allocations: 9.688 kB / 0.6993 GB, free: 96.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009211/0.8892, allocations: 331.7 kB / 0.6996 GB, free: 96.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006214/0.8898, allocations: 160.6 kB / 0.6998 GB, free: 96.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.8912, allocations: 0.9433 MB / 0.7007 GB, free: 95.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.8924, allocations: 196.3 kB / 0.7009 GB, free: 95.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.8925, allocations: 33.3 kB / 0.7009 GB, free: 95.65 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.0006382/0.8931, allocations: 369 kB / 0.7013 GB, free: 95.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.8933, allocations: 116.6 kB / 0.7014 GB, free: 95.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.8959, allocations: 0.9223 MB / 0.7023 GB, free: 95.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.8959, allocations: 5.281 kB / 0.7023 GB, free: 95.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.8959, allocations: 5.688 kB / 0.7023 GB, free: 95.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.8959, allocations: 1.875 kB / 0.7023 GB, free: 95.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/0.9015, allocations: 2.205 MB / 0.7045 GB, free: 94.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.9015, allocations: 7.75 kB / 0.7045 GB, free: 94.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.9018, allocations: 75.14 kB / 0.7045 GB, free: 94.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.9029, allocations: 361.8 kB / 0.7049 GB, free: 94.81 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.903, allocations: 17.52 kB / 0.7049 GB, free: 94.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.9047, allocations: 0.9914 MB / 0.7059 GB, free: 94.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.9047, allocations: 6.172 kB / 0.7059 GB, free: 94.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/0.9075, allocations: 1.076 MB / 0.7069 GB, free: 93.94 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/0.9081, allocations: 277.4 kB / 0.7072 GB, free: 93.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.9082, allocations: 13.25 kB / 0.7072 GB, free: 93.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.9093, allocations: 132.3 kB / 0.7073 GB, free: 93.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.9094, allocations: 42.33 kB / 0.7074 GB, free: 93.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/0.9095, allocations: 23.97 kB / 0.7074 GB, free: 93.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001394/0.9109, allocations: 0.7768 MB / 0.7081 GB, free: 93.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9109, allocations: 0.8438 kB / 0.7081 GB, free: 93.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001896/0.9128, allocations: 0.5481 MB / 0.7087 GB, free: 93.5 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.0007213/0.9135, allocations: 265.9 kB / 0.7089 GB, free: 93.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004566/0.9181, allocations: 1.328 MB / 0.7102 GB, free: 93.01 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.9181, allocations: 1.25 kB / 0.7102 GB, free: 93.01 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.9194, allocations: 370 kB / 0.7106 GB, free: 92.92 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/0.9229, allocations: 0.5564 MB / 0.7111 GB, free: 92.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006149/0.9291, allocations: 2.498 MB / 0.7136 GB, free: 91.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.9297, allocations: 1.058 MB / 0.7146 GB, free: 90.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001261/0.9309, allocations: 243.1 kB / 0.7148 GB, free: 90.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.9312, allocations: 81.27 kB / 0.7149 GB, free: 90.61 MB / 0.5294 GB Notification: Performance of SimCode: time 8.51e-07/0.9312, allocations: 0 / 0.7149 GB, free: 90.61 MB / 0.5294 GB Notification: Performance of Templates: time 0.03834/0.9695, allocations: 25.09 MB / 0.7394 GB, free: 71.02 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: