Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.766/1.766, allocations: 288.3 MB / 303.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 178.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008764/0.0008766, allocations: 105.1 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004328, allocations: 12.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2576, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04482/0.3025, allocations: 51.31 MB / 1.03 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.3188, allocations: 10.22 MB / 1.04 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/0.3207, allocations: 51.69 kB / 1.04 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.3228, allocations: 0.618 MB / 1.04 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006374/0.3292, allocations: 1.91 MB / 1.042 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004783/0.334, allocations: 1.324 MB / 1.043 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003944/0.3379, allocations: 1.855 MB / 1.045 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.3393, allocations: 0.7979 MB / 1.046 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002197/0.3415, allocations: 0.9886 MB / 1.047 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009671/0.3425, allocations: 0.6066 MB / 1.047 GB, free: 5.859 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3426, allocations: 44 kB / 1.048 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.3449, allocations: 0.9946 MB / 1.048 GB, free: 4.82 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.3451, allocations: 195.2 kB / 1.049 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.3455, allocations: 285 kB / 1.049 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002221/0.3477, allocations: 1.602 MB / 1.05 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3477, allocations: 3.938 kB / 1.051 GB, free: 2.734 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3477, allocations: 0 / 1.051 GB, free: 2.734 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.3478, allocations: 0 / 1.051 GB, free: 2.734 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003047/0.3508, allocations: 1.485 MB / 1.052 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.3509, allocations: 8.031 kB / 1.052 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/0.353, allocations: 477.9 kB / 1.052 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.3553, allocations: 1.055 MB / 1.053 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003711/0.3557, allocations: 137.8 kB / 1.054 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.3558, allocations: 84 kB / 1.054 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.3582, allocations: 0.9878 MB / 1.055 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.3582, allocations: 3.938 kB / 1.055 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/0.3583, allocations: 32 kB / 1.055 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.3583, allocations: 20 kB / 1.055 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.3608, allocations: 0.9212 MB / 1.056 GB, free: 13.38 MB / 0.6823 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.007204/0.368, allocations: 4.634 MB / 1.06 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003665/0.3717, allocations: 0.953 MB / 1.061 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006935/0.3724, allocations: 0.9068 MB / 1.062 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.3724, allocations: 35 kB / 1.062 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.305e-06/0.3724, allocations: 0 / 1.062 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008085/0.3805, allocations: 1.991 MB / 1.064 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.3806, allocations: 55.84 kB / 1.064 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.3823, allocations: 1.067 MB / 1.065 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.485e-05/0.3824, allocations: 37.7 kB / 1.065 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/0.3829, allocations: 0.5236 MB / 1.066 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.3831, allocations: 161.6 kB / 1.066 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.3831, allocations: 15.94 kB / 1.066 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3833, allocations: 330 kB / 1.066 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009097/0.3842, allocations: 336.9 kB / 1.066 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.3853, allocations: 0.5196 MB / 1.067 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009771/0.3863, allocations: 368.6 kB / 1.067 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3863, allocations: 0 / 1.067 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.5146/0.9009, allocations: 1.224 MB / 1.068 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003174/0.9013, allocations: 1.497 MB / 1.07 GB, free: 88.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.9013, allocations: 3.594 kB / 1.07 GB, free: 88.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.9026, allocations: 324.6 kB / 1.07 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.9033, allocations: 137.2 kB / 1.07 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.9049, allocations: 0.9383 MB / 1.071 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.9063, allocations: 193.9 kB / 1.071 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.686e-05/0.9064, allocations: 31.5 kB / 1.071 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.9064, allocations: 5.406 kB / 1.071 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003322/0.9098, allocations: 1.092 MB / 1.073 GB, free: 88.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9098, allocations: 3.984 kB / 1.073 GB, free: 88.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.9109, allocations: 327.6 kB / 1.073 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/0.9115, allocations: 143 kB / 1.073 GB, free: 88.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.9128, allocations: 0.9312 MB / 1.074 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.914, allocations: 167.2 kB / 1.074 GB, free: 87.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.217e-05/0.9141, allocations: 37.61 kB / 1.074 GB, free: 87.41 MB / 0.6823 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005099/0.9146, allocations: 347.8 kB / 1.074 GB, free: 87.13 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.9148, allocations: 117.9 kB / 1.075 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/0.9176, allocations: 1.039 MB / 1.076 GB, free: 86.78 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.9176, allocations: 6.172 kB / 1.076 GB, free: 86.78 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.9176, allocations: 4.609 kB / 1.076 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.9176, allocations: 3.469 kB / 1.076 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006612/0.9242, allocations: 2.476 MB / 1.078 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.9243, allocations: 2.688 kB / 1.078 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.9247, allocations: 79.27 kB / 1.078 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.9259, allocations: 321.9 kB / 1.078 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/0.926, allocations: 16.88 kB / 1.078 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.9277, allocations: 0.9711 MB / 1.079 GB, free: 84.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.9277, allocations: 2.844 kB / 1.079 GB, free: 84.99 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/0.9321, allocations: 1.408 MB / 1.081 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/0.9327, allocations: 295 kB / 1.081 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.9329, allocations: 9.625 kB / 1.081 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008825/0.9337, allocations: 118.5 kB / 1.081 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/0.9338, allocations: 41.94 kB / 1.081 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/0.9339, allocations: 25.27 kB / 1.081 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001457/0.9354, allocations: 0.7511 MB / 1.082 GB, free: 83.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9354, allocations: 0 / 1.082 GB, free: 83.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001775/0.9372, allocations: 0.5689 MB / 1.082 GB, free: 83.62 MB / 0.6823 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007328/0.9379, allocations: 369.8 kB / 1.083 GB, free: 83.49 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003393/0.9413, allocations: 1.208 MB / 1.084 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.9413, allocations: 0.875 kB / 1.084 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.9424, allocations: 385.5 kB / 1.084 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.9449, allocations: 0.519 MB / 1.085 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007473/0.9524, allocations: 2.514 MB / 1.087 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.9535, allocations: 1.085 MB / 1.088 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001976/0.9555, allocations: 230.5 kB / 1.089 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.9558, allocations: 77.27 kB / 1.089 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of SimCode: time 1.443e-06/0.9558, allocations: 0 / 1.089 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of Templates: time 0.06167/1.018, allocations: 23.83 MB / 1.112 GB, free: 70.98 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)