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.2177/0.2198, allocations: 80.84 MB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.08727/0.3071, allocations: 74 MB / 0.7429 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.7094/1.017, allocations: 11.27 MB / 0.7539 GB, free: 25.58 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004806/1.021, allocations: 62.22 kB / 0.7539 GB, free: 25.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00577/1.027, allocations: 0.8829 MB / 0.7548 GB, free: 25.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0134/1.041, allocations: 2.41 MB / 0.7572 GB, free: 25.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006275/1.047, allocations: 1.346 MB / 0.7585 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01364/1.061, allocations: 4.381 MB / 0.7628 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005858/1.067, allocations: 1.424 MB / 0.7641 GB, free: 25.33 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0105/1.077, allocations: 1.703 MB / 0.7658 GB, free: 25.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00639/1.084, allocations: 1.27 MB / 0.7671 GB, free: 25.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001922/1.086, allocations: 170.9 kB / 0.7672 GB, free: 25.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007823/1.094, allocations: 1.241 MB / 0.7684 GB, free: 25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001995/1.096, allocations: 430 kB / 0.7688 GB, free: 24.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004848/1.101, allocations: 0.9447 MB / 0.7698 GB, free: 24.69 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01124/1.112, allocations: 2.854 MB / 0.7725 GB, free: 24.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.112, allocations: 1.625 kB / 0.7725 GB, free: 24.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.2e-06/1.112, allocations: 4.031 kB / 0.7726 GB, free: 24.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001072/1.112, allocations: 0 / 0.7726 GB, free: 24.34 MB / 0.5762 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.006652/1.119, allocations: 2.093 MB / 0.7746 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/1.119, allocations: 12.28 kB / 0.7746 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/1.12, allocations: 248.9 kB / 0.7748 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00376/1.124, allocations: 1.458 MB / 0.7763 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/1.124, allocations: 82.02 kB / 0.7763 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/1.125, allocations: 114.1 kB / 0.7765 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003903/1.128, allocations: 1.398 MB / 0.7778 GB, free: 22.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.416e-05/1.129, allocations: 5.469 kB / 0.7778 GB, free: 22.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/1.129, allocations: 47.19 kB / 0.7779 GB, free: 22.44 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-05/1.129, allocations: 39.14 kB / 0.7779 GB, free: 22.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003595/1.132, allocations: 1.072 MB / 0.779 GB, free: 22.43 MB / 0.5762 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.01119/1.144, allocations: 6.65 MB / 0.7854 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003669/1.147, allocations: 0.6324 MB / 0.7861 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/1.149, allocations: 348.6 kB / 0.7864 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/1.149, allocations: 178.5 kB / 0.7866 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.357e-05/1.149, allocations: 38.81 kB / 0.7866 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 7.254e-06/1.149, allocations: 4 kB / 0.7866 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67): time 0.01404/1.163, allocations: 2.374 MB / 0.7889 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/1.164, allocations: 162 kB / 0.7891 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006103/1.17, allocations: 1.258 MB / 0.7903 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003958/1.17, allocations: 44.05 kB / 0.7904 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009355/1.171, allocations: 0.6519 MB / 0.791 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/1.172, allocations: 241.2 kB / 0.7912 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004649/1.172, allocations: 189.4 kB / 0.7914 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.172, allocations: 334.7 kB / 0.7917 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/1.174, allocations: 350.3 kB / 0.7921 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/1.176, allocations: 0.6889 MB / 0.7927 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/1.179, allocations: 0.9321 MB / 0.7936 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.037e-05/1.179, allocations: 7.781 kB / 0.7936 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005758/1.185, allocations: 1.089 MB / 0.7947 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/1.185, allocations: 8.875 kB / 0.7947 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/1.185, allocations: 8.25 kB / 0.7947 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.69e-05/1.185, allocations: 10.88 kB / 0.7947 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/1.187, allocations: 238.7 kB / 0.795 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.139e-05/1.187, allocations: 11.09 kB / 0.795 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/1.191, allocations: 91.62 kB / 0.7951 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/1.191, allocations: 42.77 kB / 0.7951 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002707/1.194, allocations: 0.5979 MB / 0.7957 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001701/1.195, allocations: 0.6604 MB / 0.7963 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002963/1.198, allocations: 0.8881 MB / 0.7972 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.798e-06/1.198, allocations: 2.75 kB / 0.7972 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.004563/1.203, allocations: 1.054 MB / 0.7982 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/1.203, allocations: 8 kB / 0.7982 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/1.203, allocations: 8.281 kB / 0.7982 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/1.203, allocations: 10.19 kB / 0.7983 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/1.205, allocations: 221.2 kB / 0.7985 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-05/1.205, allocations: 19.02 kB / 0.7985 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/1.208, allocations: 90.59 kB / 0.7986 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/1.208, allocations: 48.89 kB / 0.7986 GB, free: 9.477 MB / 0.5762 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.0005828/1.209, allocations: 240.1 kB / 0.7988 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.21, allocations: 140.1 kB / 0.799 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/1.214, allocations: 0.9584 MB / 0.7999 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/1.214, allocations: 8.375 kB / 0.7999 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.214, allocations: 0 / 0.7999 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002972/1.217, allocations: 0.8594 MB / 0.8008 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009558/1.226, allocations: 2.558 MB / 0.8033 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.906e-05/1.227, allocations: 4.406 kB / 0.8033 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/1.228, allocations: 161.5 kB / 0.8034 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003541/1.228, allocations: 85.55 kB / 0.8035 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.46e-05/1.228, allocations: 26.92 kB / 0.8035 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/1.229, allocations: 1.157 MB / 0.8047 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/1.229, allocations: 5.656 kB / 0.8047 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006033/1.235, allocations: 1.548 MB / 0.8062 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001858/1.237, allocations: 316.4 kB / 0.8065 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005493/1.238, allocations: 23.05 kB / 0.8065 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/1.24, allocations: 64.58 kB / 0.8066 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/1.24, allocations: 63.75 kB / 0.8066 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/1.24, allocations: 40.06 kB / 0.8067 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002124/1.242, allocations: 0.8839 MB / 0.8075 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.01e-07/1.242, allocations: 7.875 kB / 0.8075 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004243/1.247, allocations: 0.6511 MB / 0.8082 GB, free: 3.07 MB / 0.5762 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.001511/1.248, allocations: 377.3 kB / 0.8085 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005699/1.254, allocations: 1.325 MB / 0.8098 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.099e-05/1.254, allocations: 3.906 kB / 0.8098 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/1.256, allocations: 441.8 kB / 0.8102 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008653/1.265, allocations: 0.8767 MB / 0.8111 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00808/1.273, allocations: 2.412 MB / 0.8135 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/1.275, allocations: 1.195 MB / 0.8146 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003571/1.278, allocations: 347.7 kB / 0.815 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007128/1.279, allocations: 119.4 kB / 0.8151 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of SimCode: time 2.074e-06/1.279, allocations: 0 / 0.8151 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.1101/1.389, allocations: 32.19 MB / 0.8465 GB, free: 13.52 MB / 0.6231 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)