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.206/0.2082, allocations: 80.84 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07147/0.2797, allocations: 74.01 MB / 0.7429 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6631/0.9429, allocations: 11.26 MB / 0.7539 GB, free: 25.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004764/0.9477, allocations: 62.91 kB / 0.7539 GB, free: 25.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004764/0.9525, allocations: 0.9173 MB / 0.7548 GB, free: 25.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01533/0.968, allocations: 2.535 MB / 0.7573 GB, free: 25.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00638/0.9744, allocations: 1.356 MB / 0.7586 GB, free: 25.45 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01476/0.9892, allocations: 4.375 MB / 0.7629 GB, free: 25.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005767/0.995, allocations: 1.43 MB / 0.7643 GB, free: 25.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008747/1.004, allocations: 1.73 MB / 0.766 GB, free: 25.21 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005778/1.01, allocations: 1.266 MB / 0.7672 GB, free: 24.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001304/1.011, allocations: 170.3 kB / 0.7674 GB, free: 24.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006745/1.018, allocations: 1.251 MB / 0.7686 GB, free: 24.97 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002146/1.02, allocations: 419.4 kB / 0.769 GB, free: 24.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005955/1.026, allocations: 0.9459 MB / 0.7699 GB, free: 24.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01157/1.037, allocations: 2.851 MB / 0.7727 GB, free: 24.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/1.038, allocations: 1.375 kB / 0.7727 GB, free: 24.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.17e-06/1.038, allocations: 0 / 0.7727 GB, free: 24.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001925/1.038, allocations: 0 / 0.7727 GB, free: 24.32 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.01073/1.049, allocations: 2.1 MB / 0.7748 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.5e-05/1.049, allocations: 9.281 kB / 0.7748 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/1.051, allocations: 250 kB / 0.775 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005464/1.056, allocations: 1.465 MB / 0.7765 GB, free: 22.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002943/1.057, allocations: 87.56 kB / 0.7765 GB, free: 22.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007568/1.058, allocations: 107.1 kB / 0.7766 GB, free: 22.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005656/1.063, allocations: 1.398 MB / 0.778 GB, free: 22.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.324e-05/1.063, allocations: 5.688 kB / 0.778 GB, free: 22.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/1.064, allocations: 49.14 kB / 0.7781 GB, free: 22.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/1.064, allocations: 42.39 kB / 0.7781 GB, free: 22.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004184/1.068, allocations: 1.069 MB / 0.7792 GB, free: 22.34 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.01343/1.081, allocations: 6.654 MB / 0.7856 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/1.084, allocations: 0.6223 MB / 0.7863 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009425/1.085, allocations: 353.1 kB / 0.7866 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/1.085, allocations: 176.4 kB / 0.7868 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/1.085, allocations: 43.53 kB / 0.7868 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 4.949e-06/1.085, allocations: 4 kB / 0.7868 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67): time 0.00971/1.095, allocations: 2.375 MB / 0.7891 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.829e-05/1.095, allocations: 164.2 kB / 0.7893 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00407/1.099, allocations: 1.26 MB / 0.7905 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002526/1.099, allocations: 39.56 kB / 0.7906 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009136/1.1, allocations: 0.6526 MB / 0.7912 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003996/1.101, allocations: 241 kB / 0.7914 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005055/1.101, allocations: 184.8 kB / 0.7916 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.101, allocations: 341.7 kB / 0.7919 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/1.103, allocations: 350.5 kB / 0.7923 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/1.104, allocations: 0.6813 MB / 0.7929 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/1.106, allocations: 0.9311 MB / 0.7938 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/1.106, allocations: 6.719 kB / 0.7938 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003106/1.109, allocations: 1.091 MB / 0.7949 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/1.109, allocations: 7.812 kB / 0.7949 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/1.109, allocations: 7.344 kB / 0.7949 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.9e-05/1.109, allocations: 11.97 kB / 0.7949 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009598/1.11, allocations: 242.2 kB / 0.7952 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/1.11, allocations: 12.81 kB / 0.7952 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/1.112, allocations: 91.28 kB / 0.7953 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/1.112, allocations: 42.73 kB / 0.7953 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001534/1.114, allocations: 0.5998 MB / 0.7959 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00108/1.115, allocations: 0.6621 MB / 0.7965 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0018/1.117, allocations: 0.8838 MB / 0.7974 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.542e-05/1.117, allocations: 2.781 kB / 0.7974 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002944/1.12, allocations: 1.047 MB / 0.7984 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.12, allocations: 7.719 kB / 0.7984 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.12, allocations: 8.344 kB / 0.7984 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.12, allocations: 10.62 kB / 0.7984 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/1.121, allocations: 232 kB / 0.7987 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.699e-05/1.121, allocations: 15.72 kB / 0.7987 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.122, allocations: 91.22 kB / 0.7988 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.123, allocations: 46.55 kB / 0.7988 GB, free: 9.305 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.000397/1.123, allocations: 240.8 kB / 0.799 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006914/1.124, allocations: 135.8 kB / 0.7992 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/1.127, allocations: 0.9616 MB / 0.8001 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/1.127, allocations: 5.562 kB / 0.8001 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.127, allocations: 0 / 0.8001 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001662/1.128, allocations: 0.8657 MB / 0.801 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007187/1.136, allocations: 2.559 MB / 0.8035 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/1.136, allocations: 9.891 kB / 0.8035 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007124/1.136, allocations: 151.1 kB / 0.8036 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/1.137, allocations: 83.2 kB / 0.8037 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/1.137, allocations: 31.73 kB / 0.8037 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006583/1.137, allocations: 1.151 MB / 0.8048 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/1.137, allocations: 4.859 kB / 0.8049 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/1.141, allocations: 1.55 MB / 0.8064 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/1.142, allocations: 323.6 kB / 0.8067 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007575/1.143, allocations: 18.88 kB / 0.8067 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/1.144, allocations: 65.3 kB / 0.8068 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/1.144, allocations: 71.33 kB / 0.8068 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/1.145, allocations: 33.33 kB / 0.8069 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00247/1.147, allocations: 0.8842 MB / 0.8077 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.147, allocations: 3.938 kB / 0.8077 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004961/1.152, allocations: 0.6492 MB / 0.8084 GB, free: 2.902 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.001296/1.153, allocations: 379.8 kB / 0.8087 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004046/1.157, allocations: 1.324 MB / 0.81 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-05/1.157, allocations: 6.719 kB / 0.81 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/1.159, allocations: 442.9 kB / 0.8104 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005807/1.165, allocations: 0.878 MB / 0.8113 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00653/1.171, allocations: 2.406 MB / 0.8136 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.172, allocations: 1.187 MB / 0.8148 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00221/1.175, allocations: 343.7 kB / 0.8151 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005795/1.175, allocations: 127.4 kB / 0.8153 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of SimCode: time 1.272e-06/1.175, allocations: 0 / 0.8153 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of Templates: time 0.06323/1.239, allocations: 32.2 MB / 0.8467 GB, free: 13.29 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)