Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") [/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.2002/0.2023, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06397/0.2663, allocations: 60.2 MB / 0.7294 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.2852, allocations: 11 MB / 0.7402 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002956/0.2882, allocations: 51.69 kB / 0.7402 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.2912, allocations: 0.7065 MB / 0.7409 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007305/0.2986, allocations: 1.873 MB / 0.7427 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003857/0.3024, allocations: 1.093 MB / 0.7438 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005859/0.3083, allocations: 3.011 MB / 0.7467 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.3106, allocations: 1.099 MB / 0.7478 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005022/0.3156, allocations: 1.47 MB / 0.7492 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/0.3179, allocations: 0.9608 MB / 0.7502 GB, free: 256 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003265/0.3182, allocations: 124 kB / 0.7503 GB, free: 132 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5636/0.8819, allocations: 1.083 MB / 0.7514 GB, free: 22.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006906/0.8826, allocations: 306.8 kB / 0.7517 GB, free: 22.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.8842, allocations: 0.7278 MB / 0.7524 GB, free: 22.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004993/0.8892, allocations: 2.198 MB / 0.7545 GB, free: 22.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8893, allocations: 1.125 kB / 0.7545 GB, free: 22.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8893, allocations: 0 / 0.7545 GB, free: 22.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.581e-05/0.8893, allocations: 1.75 kB / 0.7545 GB, free: 22.11 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003964/0.8933, allocations: 1.759 MB / 0.7562 GB, free: 21.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.8934, allocations: 9.375 kB / 0.7562 GB, free: 21.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/0.8961, allocations: 469.6 kB / 0.7567 GB, free: 21.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/0.8989, allocations: 1.103 MB / 0.7578 GB, free: 20.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.899, allocations: 75.16 kB / 0.7578 GB, free: 20.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.8992, allocations: 86.03 kB / 0.7579 GB, free: 20.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003387/0.9026, allocations: 1.256 MB / 0.7591 GB, free: 20.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.9026, allocations: 5.031 kB / 0.7591 GB, free: 20.42 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.9027, allocations: 42.16 kB / 0.7592 GB, free: 20.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-05/0.9028, allocations: 30.11 kB / 0.7592 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003547/0.9063, allocations: 1.023 MB / 0.7602 GB, free: 20.39 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.009717/0.9161, allocations: 6.349 MB / 0.7664 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.9188, allocations: 0.6532 MB / 0.7671 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008569/0.9197, allocations: 280.3 kB / 0.7673 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/0.92, allocations: 262.8 kB / 0.7676 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.92, allocations: 42.34 kB / 0.7676 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 2.725e-06/0.92, allocations: 0 / 0.7676 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.007051/0.9271, allocations: 1.623 MB / 0.7692 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.9272, allocations: 159.4 kB / 0.7693 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.9293, allocations: 1.14 MB / 0.7705 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.9294, allocations: 36.3 kB / 0.7705 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/0.93, allocations: 0.6164 MB / 0.7711 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.9301, allocations: 148.5 kB / 0.7712 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/0.9305, allocations: 166.6 kB / 0.7714 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.9306, allocations: 330.8 kB / 0.7717 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.9317, allocations: 358.3 kB / 0.7721 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.933, allocations: 0.6863 MB / 0.7727 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/0.935, allocations: 0.8643 MB / 0.7736 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.935, allocations: 6.562 kB / 0.7736 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004851/0.9399, allocations: 1.398 MB / 0.7749 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.9399, allocations: 11.17 kB / 0.775 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.94, allocations: 13.47 kB / 0.775 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.9412, allocations: 332.2 kB / 0.7753 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007547/0.942, allocations: 168.1 kB / 0.7754 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.9437, allocations: 0.9398 MB / 0.7764 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.9455, allocations: 197.9 kB / 0.7765 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.206e-05/0.9456, allocations: 44.58 kB / 0.7766 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001452/0.9471, allocations: 0.53 MB / 0.7771 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001266/0.9483, allocations: 0.6706 MB / 0.7778 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001764/0.9501, allocations: 0.8211 MB / 0.7786 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.321e-06/0.9501, allocations: 6.062 kB / 0.7786 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004218/0.9544, allocations: 1.252 MB / 0.7798 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.9544, allocations: 8.969 kB / 0.7798 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.9544, allocations: 7.844 kB / 0.7798 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.9556, allocations: 297.6 kB / 0.7801 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007677/0.9564, allocations: 162.5 kB / 0.7802 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.9582, allocations: 0.8978 MB / 0.7811 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.9604, allocations: 163.5 kB / 0.7813 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.9605, allocations: 37.33 kB / 0.7813 GB, free: 11.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (75): * Single equations (assignments): 74 * 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.0006254/0.9611, allocations: 232.5 kB / 0.7815 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003219/0.9615, allocations: 126.9 kB / 0.7817 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003211/0.9647, allocations: 0.8447 MB / 0.7825 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.9647, allocations: 7.094 kB / 0.7825 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.9647, allocations: 6.953 kB / 0.7825 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.9647, allocations: 0 / 0.7825 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006416/0.9712, allocations: 2.067 MB / 0.7845 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.9712, allocations: 5.875 kB / 0.7845 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/0.9715, allocations: 67.55 kB / 0.7846 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.9726, allocations: 325.5 kB / 0.7849 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.9727, allocations: 24.62 kB / 0.7849 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.9742, allocations: 0.9319 MB / 0.7858 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.9742, allocations: 2.688 kB / 0.7858 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002907/0.9772, allocations: 1.005 MB / 0.7868 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006323/0.9778, allocations: 273.9 kB / 0.7871 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.978, allocations: 11.78 kB / 0.7871 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.9791, allocations: 84.8 kB / 0.7872 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.9792, allocations: 35.42 kB / 0.7872 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.9793, allocations: 22.94 kB / 0.7872 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001519/0.9808, allocations: 0.7886 MB / 0.788 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9808, allocations: 0 / 0.788 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00226/0.9831, allocations: 0.5603 MB / 0.7885 GB, free: 9.621 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008003/0.9839, allocations: 279.1 kB / 0.7888 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003994/0.9879, allocations: 1.25 MB / 0.79 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.587e-06/0.9879, allocations: 1.594 kB / 0.79 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009314/0.9889, allocations: 342.8 kB / 0.7904 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/0.9915, allocations: 0.5657 MB / 0.7909 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.9968, allocations: 1.997 MB / 0.7929 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.9974, allocations: 1.057 MB / 0.7939 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001083/0.9985, allocations: 259.6 kB / 0.7941 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.9987, allocations: 84.81 kB / 0.7942 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of SimCode: time 1.263e-06/0.9987, allocations: 0.7812 kB / 0.7942 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of Templates: time 0.04508/1.044, allocations: 26.27 MB / 0.8199 GB, free: 5.93 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)