Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") [/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.1854/0.1861, allocations: 82.22 MB / 0.5934 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05123/0.2374, allocations: 50.51 MB / 0.6427 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01548/0.253, allocations: 9.449 MB / 0.6519 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/0.255, allocations: 39.75 kB / 0.652 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.257, allocations: 0.5868 MB / 0.6525 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005921/0.263, allocations: 1.826 MB / 0.6543 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.2659, allocations: 0.9051 MB / 0.6552 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003238/0.2692, allocations: 1.786 MB / 0.6569 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.2704, allocations: 0.8365 MB / 0.6578 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.2727, allocations: 1.078 MB / 0.6588 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009435/0.2736, allocations: 0.6573 MB / 0.6595 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.2737, allocations: 48 kB / 0.6595 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.2753, allocations: 0.6904 MB / 0.6602 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.2756, allocations: 211.1 kB / 0.6604 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.2759, allocations: 297 kB / 0.6607 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.2776, allocations: 1.551 MB / 0.6622 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2776, allocations: 0 / 0.6622 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2777, allocations: 4 kB / 0.6622 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.2777, allocations: 0 / 0.6622 GB, free: 15.35 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002763/0.2805, allocations: 1.476 MB / 0.6636 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2805, allocations: 8.031 kB / 0.6636 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.2832, allocations: 0.533 MB / 0.6641 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.2852, allocations: 1.039 MB / 0.6652 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/0.2857, allocations: 137.9 kB / 0.6653 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2858, allocations: 88 kB / 0.6654 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/0.2886, allocations: 1.306 MB / 0.6666 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.2886, allocations: 4 kB / 0.6667 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.932e-05/0.2887, allocations: 36 kB / 0.6667 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.2888, allocations: 31.94 kB / 0.6667 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00306/0.2918, allocations: 1.179 MB / 0.6679 GB, free: 9.328 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.007624/0.2995, allocations: 6.305 MB / 0.674 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/0.3024, allocations: 0.9679 MB / 0.675 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.3027, allocations: 267.4 kB / 0.6752 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.3027, allocations: 42.5 kB / 0.6753 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.645e-06/0.3027, allocations: 0 / 0.6753 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007974/0.3107, allocations: 2.186 MB / 0.6774 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.3108, allocations: 158.2 kB / 0.6776 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.3123, allocations: 1.024 MB / 0.6786 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.937e-05/0.3124, allocations: 37.7 kB / 0.6786 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.3128, allocations: 0.5732 MB / 0.6791 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.313, allocations: 149.8 kB / 0.6793 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.313, allocations: 19.94 kB / 0.6793 GB, free: 13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3132, allocations: 330 kB / 0.6796 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.3143, allocations: 417 kB / 0.68 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.3157, allocations: 0.7163 MB / 0.6807 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.3168, allocations: 457.9 kB / 0.6812 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3169, allocations: 0 / 0.6812 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004792/0.3217, allocations: 1.56 MB / 0.6827 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000898/0.3226, allocations: 2.372 MB / 0.685 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.3226, allocations: 4 kB / 0.685 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.3238, allocations: 368.5 kB / 0.6854 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000725/0.3245, allocations: 175.8 kB / 0.6855 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.3261, allocations: 0.9895 MB / 0.6865 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.3275, allocations: 226.9 kB / 0.6867 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.3276, allocations: 43.98 kB / 0.6867 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.3276, allocations: 3.938 kB / 0.6867 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003551/0.3312, allocations: 1.247 MB / 0.688 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3312, allocations: 4 kB / 0.688 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009545/0.3322, allocations: 329.2 kB / 0.6883 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/0.3329, allocations: 167.8 kB / 0.6884 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.3343, allocations: 0.9426 MB / 0.6894 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.3356, allocations: 199.1 kB / 0.6896 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.3357, allocations: 35.98 kB / 0.6896 GB, free: 2.094 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006379/0.3364, allocations: 356.9 kB / 0.6899 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.3365, allocations: 110.6 kB / 0.69 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/0.3395, allocations: 1.129 MB / 0.6911 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.3396, allocations: 7.953 kB / 0.6911 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3396, allocations: 0 / 0.6911 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3396, allocations: 7.984 kB / 0.6912 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.348/0.6876, allocations: 2.351 MB / 0.6934 GB, free: 96.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.6877, allocations: 1.719 kB / 0.6935 GB, free: 96.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.6882, allocations: 110.7 kB / 0.6936 GB, free: 96.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000963/0.6892, allocations: 359 kB / 0.6939 GB, free: 96.97 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/0.6892, allocations: 19.11 kB / 0.6939 GB, free: 96.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.6906, allocations: 0.9751 MB / 0.6949 GB, free: 96.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6906, allocations: 2.156 kB / 0.6949 GB, free: 96.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004047/0.6947, allocations: 1.488 MB / 0.6963 GB, free: 96.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005689/0.6953, allocations: 294.7 kB / 0.6966 GB, free: 96.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.6954, allocations: 11.62 kB / 0.6966 GB, free: 96.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009878/0.6964, allocations: 147.1 kB / 0.6968 GB, free: 96.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.6965, allocations: 35.28 kB / 0.6968 GB, free: 96.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/0.6966, allocations: 26.91 kB / 0.6968 GB, free: 96.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009439/0.6975, allocations: 0.7039 MB / 0.6975 GB, free: 95.94 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6975, allocations: 2.812 kB / 0.6975 GB, free: 95.94 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001487/0.699, allocations: 0.5592 MB / 0.6981 GB, free: 95.91 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005007/0.6995, allocations: 269.2 kB / 0.6983 GB, free: 95.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00379/0.7033, allocations: 1.473 MB / 0.6997 GB, free: 95.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7034, allocations: 3.906 kB / 0.6998 GB, free: 95.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.7045, allocations: 453.1 kB / 0.7002 GB, free: 95.76 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.707, allocations: 0.5305 MB / 0.7007 GB, free: 95.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.7109, allocations: 2.282 MB / 0.7029 GB, free: 94.69 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.7115, allocations: 1.082 MB / 0.704 GB, free: 93.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001222/0.7127, allocations: 244.9 kB / 0.7042 GB, free: 93.92 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.713, allocations: 79.98 kB / 0.7043 GB, free: 93.92 MB / 0.5294 GB Notification: Performance of SimCode: time 9.81e-07/0.713, allocations: 0 / 0.7043 GB, free: 93.92 MB / 0.5294 GB Notification: Performance of Templates: time 0.03583/0.7488, allocations: 23.66 MB / 0.7274 GB, free: 81.01 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: