Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 191.6 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 222 MB, free: 4.977 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 64.38 kB / 0.6708 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2372, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05754/0.2948, allocations: 60.92 MB / 0.8422 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01732/0.3122, allocations: 11.99 MB / 0.8539 GB, free: 4.848 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003268/0.3155, allocations: 51.69 kB / 0.8539 GB, free: 4.797 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.3177, allocations: 0.5516 MB / 0.8545 GB, free: 4.242 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006314/0.3241, allocations: 1.796 MB / 0.8562 GB, free: 2.438 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.3274, allocations: 1.089 MB / 0.8573 GB, free: 1.359 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006276/0.3337, allocations: 3.913 MB / 0.8611 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.3356, allocations: 0.9319 MB / 0.862 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002654/0.3383, allocations: 1.163 MB / 0.8631 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.3397, allocations: 0.9138 MB / 0.864 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.3399, allocations: 60 kB / 0.8641 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.343, allocations: 1.349 MB / 0.8654 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.3432, allocations: 238.8 kB / 0.8656 GB, free: 8.742 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000723/0.344, allocations: 0.645 MB / 0.8663 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.3469, allocations: 2.271 MB / 0.8685 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3469, allocations: 0 / 0.8685 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3469, allocations: 0 / 0.8685 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.347, allocations: 4 kB / 0.8685 GB, free: 5.812 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00359/0.3505, allocations: 1.765 MB / 0.8702 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.3506, allocations: 8.031 kB / 0.8702 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.3529, allocations: 418.8 kB / 0.8706 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.3552, allocations: 1.132 MB / 0.8717 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/0.3556, allocations: 117.9 kB / 0.8718 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.3557, allocations: 84 kB / 0.8719 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.3577, allocations: 0.9955 MB / 0.8729 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.3578, allocations: 0 / 0.8729 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/0.3579, allocations: 32 kB / 0.8729 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.3579, allocations: 20 kB / 0.8729 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.3603, allocations: 0.9016 MB / 0.8738 GB, free: 200 kB / 0.6856 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.006242/0.3665, allocations: 4.579 MB / 0.8783 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003385/0.3699, allocations: 0.841 MB / 0.8791 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007845/0.3707, allocations: 333.9 kB / 0.8794 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006098/0.3713, allocations: 0.9106 MB / 0.8803 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3714, allocations: 39 kB / 0.8804 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 1.833e-06/0.3714, allocations: 0 / 0.8804 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.006342/0.3777, allocations: 1.729 MB / 0.882 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.3778, allocations: 55.84 kB / 0.8821 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.3794, allocations: 1.064 MB / 0.8831 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-05/0.3795, allocations: 37.7 kB / 0.8832 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.3799, allocations: 0.5197 MB / 0.8837 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.3801, allocations: 169.6 kB / 0.8838 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.3803, allocations: 138.1 kB / 0.884 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3805, allocations: 326 kB / 0.8843 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009289/0.3814, allocations: 334.8 kB / 0.8846 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.3826, allocations: 0.5196 MB / 0.8851 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.3843, allocations: 0.7175 MB / 0.8858 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3843, allocations: 4 kB / 0.8858 GB, free: 3.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003791/0.3881, allocations: 1.179 MB / 0.887 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3882, allocations: 12.03 kB / 0.887 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3882, allocations: 4 kB / 0.887 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.3893, allocations: 320.6 kB / 0.8873 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.3899, allocations: 131.8 kB / 0.8874 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.3915, allocations: 0.922 MB / 0.8883 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.3929, allocations: 179.2 kB / 0.8885 GB, free: 400 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.69e-05/0.393, allocations: 31.98 kB / 0.8885 GB, free: 368 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001373/0.3944, allocations: 0.5323 MB / 0.889 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001077/0.3955, allocations: 0.5266 MB / 0.8895 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001678/0.3972, allocations: 0.7059 MB / 0.8902 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.946e-06/0.3972, allocations: 0 / 0.8902 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.00378/0.401, allocations: 1.167 MB / 0.8914 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.401, allocations: 11.94 kB / 0.8914 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4011, allocations: 4 kB / 0.8914 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.4022, allocations: 312.8 kB / 0.8917 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.4028, allocations: 135.8 kB / 0.8918 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.4042, allocations: 0.9152 MB / 0.8927 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.4057, allocations: 171.4 kB / 0.8929 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.4058, allocations: 27.98 kB / 0.8929 GB, free: 11.69 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000281/0.406, allocations: 212.2 kB / 0.8931 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.4063, allocations: 114.5 kB / 0.8932 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/0.409, allocations: 1.023 MB / 0.8942 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.409, allocations: 4 kB / 0.8942 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.409, allocations: 0 / 0.8942 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.409, allocations: 3.984 kB / 0.8942 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005602/0.4146, allocations: 2.249 MB / 0.8964 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.4147, allocations: 0 / 0.8964 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.4151, allocations: 88.14 kB / 0.8965 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.4162, allocations: 314.8 kB / 0.8968 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/0.4163, allocations: 15.98 kB / 0.8968 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.4178, allocations: 0.9463 MB / 0.8977 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.4178, allocations: 8.062 kB / 0.8977 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003822/0.4217, allocations: 1.236 MB / 0.899 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006244/0.4223, allocations: 271.5 kB / 0.8992 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.4225, allocations: 8 kB / 0.8992 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009064/0.4234, allocations: 103.8 kB / 0.8993 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.4235, allocations: 55.2 kB / 0.8994 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/0.4236, allocations: 27.97 kB / 0.8994 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00116/0.4247, allocations: 0.7395 MB / 0.9001 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4247, allocations: 0 / 0.9001 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001602/0.4263, allocations: 0.5692 MB / 0.9007 GB, free: 3.516 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008583/0.4272, allocations: 374.6 kB / 0.901 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00343/0.4307, allocations: 1.19 MB / 0.9022 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4307, allocations: 0 / 0.9022 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009827/0.4317, allocations: 401.4 kB / 0.9026 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.4342, allocations: 0.5332 MB / 0.9031 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005235/0.4394, allocations: 2.482 MB / 0.9055 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.4401, allocations: 1.074 MB / 0.9066 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001044/0.4411, allocations: 232.2 kB / 0.9068 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.4413, allocations: 79.42 kB / 0.9069 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of SimCode: time 8.12e-07/0.4413, allocations: 0 / 0.9069 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of Templates: time 0.4713/0.9127, allocations: 24.55 MB / 0.9308 GB, free: 131.2 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)