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.2543/0.2564, allocations: 80.83 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.07437/0.3308, allocations: 60.2 MB / 0.7294 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02211/0.353, allocations: 11 MB / 0.7401 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003297/0.3565, allocations: 55.69 kB / 0.7402 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003039/0.3595, allocations: 0.7299 MB / 0.7409 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00752/0.3671, allocations: 1.955 MB / 0.7428 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.3706, allocations: 1.099 MB / 0.7439 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005392/0.376, allocations: 3.023 MB / 0.7469 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.3785, allocations: 1.091 MB / 0.7479 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004675/0.3832, allocations: 1.501 MB / 0.7494 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.3857, allocations: 0.9647 MB / 0.7503 GB, free: 124 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005388/0.3862, allocations: 124 kB / 0.7504 GB, free: 0 / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5247/0.9109, allocations: 1.084 MB / 0.7515 GB, free: 22.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006138/0.9116, allocations: 309 kB / 0.7518 GB, free: 22.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001635/0.9132, allocations: 0.7215 MB / 0.7525 GB, free: 22.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004421/0.9177, allocations: 2.187 MB / 0.7546 GB, free: 22.08 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.9177, allocations: 1.969 kB / 0.7546 GB, free: 22.08 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9177, allocations: 0 / 0.7546 GB, free: 22.08 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.795e-05/0.9177, allocations: 0 / 0.7546 GB, free: 22.08 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.003648/0.9214, allocations: 1.719 MB / 0.7563 GB, free: 21.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.9214, allocations: 9.562 kB / 0.7563 GB, free: 21.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002641/0.9241, allocations: 462 kB / 0.7568 GB, free: 21.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/0.9267, allocations: 1.09 MB / 0.7578 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.285e-05/0.9268, allocations: 69.16 kB / 0.7579 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.9269, allocations: 94.56 kB / 0.758 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/0.9298, allocations: 1.257 MB / 0.7592 GB, free: 20.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.9299, allocations: 8.531 kB / 0.7592 GB, free: 20.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-05/0.93, allocations: 36.5 kB / 0.7593 GB, free: 20.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/0.93, allocations: 29.19 kB / 0.7593 GB, free: 20.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/0.9331, allocations: 1.021 MB / 0.7603 GB, free: 20.44 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.01237/0.9455, allocations: 6.34 MB / 0.7665 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.9486, allocations: 0.6545 MB / 0.7671 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008548/0.9494, allocations: 284.6 kB / 0.7674 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/0.9498, allocations: 260.5 kB / 0.7676 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.9498, allocations: 37.36 kB / 0.7677 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 3.346e-06/0.9499, allocations: 1.469 kB / 0.7677 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.007425/0.9573, allocations: 1.612 MB / 0.7692 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.9574, allocations: 167.5 kB / 0.7694 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.9595, allocations: 1.147 MB / 0.7705 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.9596, allocations: 34.08 kB / 0.7706 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005682/0.9602, allocations: 0.5927 MB / 0.7711 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.9603, allocations: 142.6 kB / 0.7713 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/0.9607, allocations: 169.7 kB / 0.7714 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.9608, allocations: 333.4 kB / 0.7718 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.9618, allocations: 351.1 kB / 0.7721 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.963, allocations: 0.6927 MB / 0.7728 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.9649, allocations: 0.8659 MB / 0.7736 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.9649, allocations: 2.688 kB / 0.7736 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004614/0.9696, allocations: 1.385 MB / 0.775 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.9696, allocations: 7.594 kB / 0.775 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.9696, allocations: 9.25 kB / 0.775 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.9708, allocations: 340.5 kB / 0.7753 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.9715, allocations: 169.7 kB / 0.7755 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.973, allocations: 0.9357 MB / 0.7764 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.9746, allocations: 200.5 kB / 0.7766 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/0.9747, allocations: 42.72 kB / 0.7766 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001441/0.9762, allocations: 0.5332 MB / 0.7771 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001212/0.9774, allocations: 0.6705 MB / 0.7778 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001731/0.9791, allocations: 0.8106 MB / 0.7786 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.121e-05/0.9792, allocations: 6.656 kB / 0.7786 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004021/0.9832, allocations: 1.254 MB / 0.7798 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.9832, allocations: 8.844 kB / 0.7798 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.9832, allocations: 8.219 kB / 0.7798 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009484/0.9842, allocations: 303.8 kB / 0.7801 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.9849, allocations: 160.4 kB / 0.7803 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.9862, allocations: 0.9028 MB / 0.7811 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.9878, allocations: 162.7 kB / 0.7813 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.209e-05/0.9879, allocations: 37.34 kB / 0.7813 GB, free: 11.67 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.0002773/0.9882, allocations: 232.9 kB / 0.7816 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/0.9885, allocations: 114 kB / 0.7817 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/0.991, allocations: 0.8525 MB / 0.7825 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.9911, allocations: 4.375 kB / 0.7825 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.9911, allocations: 1.125 kB / 0.7825 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.9911, allocations: 3.891 kB / 0.7825 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006427/0.9975, allocations: 2.067 MB / 0.7845 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.9976, allocations: 2.562 kB / 0.7845 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.9979, allocations: 72.41 kB / 0.7846 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.9992, allocations: 324.4 kB / 0.7849 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.486e-05/0.9993, allocations: 16.41 kB / 0.7849 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/1.001, allocations: 0.9335 MB / 0.7858 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.001, allocations: 2.281 kB / 0.7858 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/1.004, allocations: 0.9977 MB / 0.7868 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.005, allocations: 273.5 kB / 0.7871 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005807/1.006, allocations: 19.5 kB / 0.7871 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.007, allocations: 81.47 kB / 0.7872 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.007, allocations: 34.05 kB / 0.7872 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.724e-05/1.008, allocations: 22.53 kB / 0.7872 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002276/1.01, allocations: 0.7894 MB / 0.788 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.072e-06/1.01, allocations: 0 / 0.788 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003397/1.013, allocations: 0.5543 MB / 0.7885 GB, free: 9.707 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.0008734/1.014, allocations: 273.3 kB / 0.7888 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003873/1.018, allocations: 1.25 MB / 0.79 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.018, allocations: 3.188 kB / 0.79 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009972/1.019, allocations: 342.6 kB / 0.7904 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/1.022, allocations: 0.5683 MB / 0.7909 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/1.028, allocations: 1.961 MB / 0.7928 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008211/1.028, allocations: 1.05 MB / 0.7938 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00133/1.03, allocations: 252.8 kB / 0.7941 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/1.03, allocations: 80.52 kB / 0.7942 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/1.03, allocations: 2.844 kB / 0.7942 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of Templates: time 0.04829/1.078, allocations: 26.28 MB / 0.8198 GB, free: 6.035 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)