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.1846/0.1853, allocations: 82.22 MB / 0.5941 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05928/0.2446, allocations: 58.83 MB / 0.6516 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.2597, allocations: 10.92 MB / 0.6622 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.2616, allocations: 51.69 kB / 0.6623 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.2634, allocations: 0.5712 MB / 0.6628 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005489/0.2689, allocations: 1.73 MB / 0.6645 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.272, allocations: 0.9841 MB / 0.6655 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005379/0.2774, allocations: 3.981 MB / 0.6694 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.2789, allocations: 0.909 MB / 0.6703 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002867/0.2818, allocations: 1.221 MB / 0.6715 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.2833, allocations: 0.945 MB / 0.6724 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.2834, allocations: 48 kB / 0.6724 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.2854, allocations: 0.9825 MB / 0.6734 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.2857, allocations: 230.8 kB / 0.6736 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007791/0.2864, allocations: 0.67 MB / 0.6743 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.2887, allocations: 2.087 MB / 0.6763 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2887, allocations: 0 / 0.6763 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2887, allocations: 0 / 0.6763 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.2887, allocations: 4 kB / 0.6763 GB, free: 1.113 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.002654/0.2914, allocations: 1.478 MB / 0.6777 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2915, allocations: 12.03 kB / 0.6777 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002806/0.2943, allocations: 0.5339 MB / 0.6783 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.2962, allocations: 1.089 MB / 0.6793 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003486/0.2966, allocations: 133.9 kB / 0.6795 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.2967, allocations: 96 kB / 0.6796 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/0.2995, allocations: 1.314 MB / 0.6808 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.2995, allocations: 3.938 kB / 0.6808 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.171e-05/0.2996, allocations: 47.92 kB / 0.6809 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/0.2996, allocations: 35.98 kB / 0.6809 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00306/0.3027, allocations: 1.179 MB / 0.6821 GB, free: 11 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.006712/0.3094, allocations: 6.269 MB / 0.6882 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.3123, allocations: 0.9717 MB / 0.6891 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009944/0.3133, allocations: 396.6 kB / 0.6895 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/0.3136, allocations: 263.4 kB / 0.6898 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3136, allocations: 42.55 kB / 0.6898 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 2.365e-06/0.3136, allocations: 0 / 0.6898 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.00797/0.3216, allocations: 2.197 MB / 0.692 GB, free: 340 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.3217, allocations: 166.2 kB / 0.6921 GB, free: 136 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.374/0.6958, allocations: 1.014 MB / 0.6931 GB, free: 98.58 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002396/0.6961, allocations: 38.33 kB / 0.6931 GB, free: 98.55 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000512/0.6966, allocations: 0.5726 MB / 0.6937 GB, free: 98.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.6967, allocations: 151.9 kB / 0.6938 GB, free: 98.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.6968, allocations: 58.88 kB / 0.6939 GB, free: 98.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.6969, allocations: 330.7 kB / 0.6942 GB, free: 98.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.6982, allocations: 420.7 kB / 0.6946 GB, free: 98.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.6996, allocations: 0.7161 MB / 0.6953 GB, free: 97.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/0.7017, allocations: 0.9788 MB / 0.6963 GB, free: 97.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.7017, allocations: 3.062 kB / 0.6963 GB, free: 97.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004719/0.7065, allocations: 1.551 MB / 0.6978 GB, free: 97.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.7066, allocations: 268.5 kB / 0.698 GB, free: 97.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.7066, allocations: 5.594 kB / 0.6981 GB, free: 97.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.7078, allocations: 371.9 kB / 0.6984 GB, free: 97.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/0.7085, allocations: 179.6 kB / 0.6986 GB, free: 97.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.7101, allocations: 0.9926 MB / 0.6995 GB, free: 96.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.7119, allocations: 226.1 kB / 0.6998 GB, free: 96.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-05/0.712, allocations: 39.55 kB / 0.6998 GB, free: 96.47 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.712, allocations: 2.594 kB / 0.6998 GB, free: 96.47 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003557/0.7156, allocations: 1.241 MB / 0.701 GB, free: 96.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.7156, allocations: 6.281 kB / 0.701 GB, free: 96.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.7166, allocations: 330.9 kB / 0.7013 GB, free: 96.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006833/0.7173, allocations: 170.6 kB / 0.7015 GB, free: 96.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.7187, allocations: 0.9383 MB / 0.7024 GB, free: 95.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.7203, allocations: 201.6 kB / 0.7026 GB, free: 95.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/0.7203, allocations: 34.5 kB / 0.7026 GB, free: 95.73 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 (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.000647/0.721, allocations: 359 kB / 0.703 GB, free: 95.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.7212, allocations: 106.6 kB / 0.7031 GB, free: 95.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/0.7244, allocations: 1.135 MB / 0.7042 GB, free: 95.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.7244, allocations: 3.672 kB / 0.7042 GB, free: 95.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.7244, allocations: 2.875 kB / 0.7042 GB, free: 95.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.7244, allocations: 6.328 kB / 0.7042 GB, free: 95.36 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006418/0.7308, allocations: 2.346 MB / 0.7065 GB, free: 94.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.7309, allocations: 1.938 kB / 0.7065 GB, free: 94.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/0.7315, allocations: 112.7 kB / 0.7066 GB, free: 94.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/0.7327, allocations: 354.4 kB / 0.7069 GB, free: 94.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.634e-05/0.7327, allocations: 23.16 kB / 0.707 GB, free: 94.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.7345, allocations: 0.9836 MB / 0.7079 GB, free: 94.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.7345, allocations: 7.219 kB / 0.7079 GB, free: 94.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/0.7395, allocations: 1.405 MB / 0.7093 GB, free: 93.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006761/0.7402, allocations: 288.7 kB / 0.7096 GB, free: 93.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.7403, allocations: 10.75 kB / 0.7096 GB, free: 93.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.7415, allocations: 138.7 kB / 0.7097 GB, free: 93.37 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.7416, allocations: 33.41 kB / 0.7098 GB, free: 93.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/0.7417, allocations: 25.03 kB / 0.7098 GB, free: 93.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001105/0.7428, allocations: 0.7094 MB / 0.7105 GB, free: 93.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7428, allocations: 1.062 kB / 0.7105 GB, free: 93.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001767/0.7445, allocations: 0.5582 MB / 0.711 GB, free: 92.96 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 (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.0006459/0.7452, allocations: 273.7 kB / 0.7113 GB, free: 92.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00478/0.75, allocations: 1.479 MB / 0.7127 GB, free: 92.42 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/0.75, allocations: 5.5 kB / 0.7127 GB, free: 92.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.7514, allocations: 454.4 kB / 0.7132 GB, free: 92.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003943/0.7554, allocations: 0.5359 MB / 0.7137 GB, free: 92.17 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/0.7603, allocations: 2.363 MB / 0.716 GB, free: 90.79 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.761, allocations: 1.064 MB / 0.717 GB, free: 89.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001499/0.7625, allocations: 238 kB / 0.7173 GB, free: 89.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.7628, allocations: 80.03 kB / 0.7173 GB, free: 89.81 MB / 0.5294 GB Notification: Performance of SimCode: time 1.223e-06/0.7628, allocations: 0 / 0.7173 GB, free: 89.81 MB / 0.5294 GB Notification: Performance of Templates: time 0.03954/0.8023, allocations: 24.27 MB / 0.741 GB, free: 69.48 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: