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.2173/0.2193, allocations: 80.84 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.08477/0.3041, allocations: 74.01 MB / 0.7429 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.5434/0.8476, allocations: 11.25 MB / 0.7539 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003423/0.8511, allocations: 64.41 kB / 0.7539 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003083/0.8542, allocations: 0.8904 MB / 0.7548 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008555/0.8628, allocations: 2.417 MB / 0.7572 GB, free: 25.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004227/0.867, allocations: 1.341 MB / 0.7585 GB, free: 25.94 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009169/0.8762, allocations: 4.371 MB / 0.7628 GB, free: 25.94 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00303/0.8793, allocations: 1.428 MB / 0.7642 GB, free: 25.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006699/0.886, allocations: 1.726 MB / 0.7658 GB, free: 25.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/0.8904, allocations: 1.272 MB / 0.7671 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000534/0.891, allocations: 171.8 kB / 0.7672 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00482/0.8958, allocations: 1.244 MB / 0.7685 GB, free: 25.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006797/0.8965, allocations: 415.7 kB / 0.7689 GB, free: 25.4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002389/0.8989, allocations: 0.9553 MB / 0.7698 GB, free: 25.15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00531/0.9042, allocations: 2.854 MB / 0.7726 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.9042, allocations: 1.438 kB / 0.7726 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9042, allocations: 0 / 0.7726 GB, free: 24.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.879e-05/0.9043, allocations: 0 / 0.7726 GB, free: 24.8 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.004404/0.9087, allocations: 2.098 MB / 0.7746 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.9087, allocations: 9.125 kB / 0.7746 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.9099, allocations: 248.9 kB / 0.7749 GB, free: 23.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.9122, allocations: 1.453 MB / 0.7763 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.839e-05/0.9123, allocations: 87.8 kB / 0.7764 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.9125, allocations: 109.5 kB / 0.7765 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/0.9153, allocations: 1.4 MB / 0.7778 GB, free: 22.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.9153, allocations: 9.969 kB / 0.7779 GB, free: 22.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.9154, allocations: 43.84 kB / 0.7779 GB, free: 22.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/0.9155, allocations: 41.77 kB / 0.7779 GB, free: 22.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.9179, allocations: 1.072 MB / 0.779 GB, free: 22.58 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.006473/0.9244, allocations: 6.656 MB / 0.7855 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.9261, allocations: 0.6275 MB / 0.7861 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007253/0.9269, allocations: 348.1 kB / 0.7864 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/0.9271, allocations: 184.3 kB / 0.7866 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.9271, allocations: 39.53 kB / 0.7866 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.595e-06/0.9271, allocations: 4 kB / 0.7866 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67): time 0.006517/0.9337, allocations: 2.368 MB / 0.789 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.9338, allocations: 166.3 kB / 0.7891 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.9355, allocations: 1.264 MB / 0.7903 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.006e-05/0.9356, allocations: 43.45 kB / 0.7904 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004915/0.9361, allocations: 0.6487 MB / 0.791 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.9363, allocations: 239.6 kB / 0.7913 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.9367, allocations: 190 kB / 0.7914 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.9367, allocations: 337.5 kB / 0.7918 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008377/0.9376, allocations: 349.8 kB / 0.7921 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.9387, allocations: 0.6797 MB / 0.7928 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.9405, allocations: 0.9347 MB / 0.7937 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.9406, allocations: 6.75 kB / 0.7937 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002281/0.9428, allocations: 1.092 MB / 0.7947 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.9429, allocations: 9.5 kB / 0.7947 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.9429, allocations: 7.312 kB / 0.7948 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.9429, allocations: 12.81 kB / 0.7948 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008796/0.9438, allocations: 234.5 kB / 0.795 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.9439, allocations: 15.66 kB / 0.795 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.9451, allocations: 91.84 kB / 0.7951 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/0.9452, allocations: 37.8 kB / 0.7951 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0011/0.9463, allocations: 0.5974 MB / 0.7957 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008644/0.9471, allocations: 0.6656 MB / 0.7964 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001435/0.9486, allocations: 0.8872 MB / 0.7972 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/0.9486, allocations: 2.844 kB / 0.7972 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002125/0.9507, allocations: 1.053 MB / 0.7983 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.9508, allocations: 8.312 kB / 0.7983 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.9508, allocations: 5.406 kB / 0.7983 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.9508, allocations: 13.88 kB / 0.7983 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007872/0.9516, allocations: 218 kB / 0.7985 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.9516, allocations: 15.56 kB / 0.7985 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.953, allocations: 91.28 kB / 0.7986 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.9531, allocations: 45.89 kB / 0.7986 GB, free: 9.508 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.0002975/0.9534, allocations: 241.5 kB / 0.7989 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.9536, allocations: 137.4 kB / 0.799 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.9558, allocations: 0.9577 MB / 0.7999 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.9558, allocations: 8.125 kB / 0.7999 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.9559, allocations: 0 / 0.7999 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001705/0.9576, allocations: 0.8645 MB / 0.8008 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005133/0.9627, allocations: 2.559 MB / 0.8033 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.9627, allocations: 4.781 kB / 0.8033 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006961/0.9634, allocations: 163.7 kB / 0.8034 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/0.9637, allocations: 82.36 kB / 0.8035 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.9637, allocations: 26.39 kB / 0.8036 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006065/0.9644, allocations: 1.156 MB / 0.8047 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.9644, allocations: 9.719 kB / 0.8047 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/0.9676, allocations: 1.55 MB / 0.8062 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009329/0.9685, allocations: 320.5 kB / 0.8065 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.9687, allocations: 20.3 kB / 0.8065 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008991/0.9696, allocations: 66.86 kB / 0.8066 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.9698, allocations: 61.81 kB / 0.8066 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/0.9698, allocations: 38.72 kB / 0.8067 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001214/0.9711, allocations: 0.8879 MB / 0.8076 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.342e-06/0.9711, allocations: 0 / 0.8076 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002162/0.9732, allocations: 0.6469 MB / 0.8082 GB, free: 3.105 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.0009023/0.9741, allocations: 385.5 kB / 0.8086 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00293/0.9771, allocations: 1.324 MB / 0.8098 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.9771, allocations: 3.906 kB / 0.8098 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.9781, allocations: 439.5 kB / 0.8103 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003987/0.9821, allocations: 0.8774 MB / 0.8111 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/0.9856, allocations: 2.414 MB / 0.8135 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000783/0.9864, allocations: 1.191 MB / 0.8146 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001492/0.988, allocations: 347.7 kB / 0.815 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.9883, allocations: 127.3 kB / 0.8151 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.9883, allocations: 0 / 0.8151 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of Templates: time 0.05682/1.045, allocations: 32.72 MB / 0.8471 GB, free: 13.12 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)