Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.709/1.709, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.729/1.729, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001576/0.001576, allocations: 66.7 kB / 0.6715 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3327, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.07841/0.4111, allocations: 61.22 MB / 0.8431 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02124/0.4325, allocations: 11.9 MB / 0.8548 GB, free: 4.102 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003358/0.4359, allocations: 59.62 kB / 0.8548 GB, free: 4.043 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002914/0.4389, allocations: 0.6791 MB / 0.8555 GB, free: 3.359 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008055/0.447, allocations: 1.959 MB / 0.8574 GB, free: 1.391 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004463/0.4514, allocations: 1.205 MB / 0.8586 GB, free: 204 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005919/0.4574, allocations: 3.071 MB / 0.8616 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002715/0.4601, allocations: 1.111 MB / 0.8627 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005058/0.4652, allocations: 1.349 MB / 0.864 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.4679, allocations: 0.9022 MB / 0.8649 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006101/0.4686, allocations: 116 kB / 0.865 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004458/0.473, allocations: 1.462 MB / 0.8664 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006444/0.4737, allocations: 294.9 kB / 0.8667 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.4758, allocations: 0.6958 MB / 0.8674 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006293/0.4821, allocations: 2.306 MB / 0.8696 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.4822, allocations: 0 / 0.8696 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of FrontEnd: time 5.39e-06/0.4822, allocations: 4 kB / 0.8696 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001102/0.4823, allocations: 3.938 kB / 0.8696 GB, free: 4.832 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005805/0.4881, allocations: 1.738 MB / 0.8713 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.4882, allocations: 8.031 kB / 0.8713 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/0.4903, allocations: 347 kB / 0.8717 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00326/0.4936, allocations: 1.105 MB / 0.8727 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003915/0.494, allocations: 113.9 kB / 0.8728 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/0.4943, allocations: 80 kB / 0.8729 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.497, allocations: 0.9803 MB / 0.8739 GB, free: 308 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.497, allocations: 0 / 0.8739 GB, free: 308 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/0.4971, allocations: 32 kB / 0.8739 GB, free: 276 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.4971, allocations: 20 kB / 0.8739 GB, free: 256 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.4994, allocations: 0.8274 MB / 0.8747 GB, free: 15.42 MB / 0.7012 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.007634/0.5071, allocations: 4.896 MB / 0.8795 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.5088, allocations: 0.6172 MB / 0.8801 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006474/0.5095, allocations: 293.8 kB / 0.8804 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001527/0.511, allocations: 1.365 MB / 0.8817 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.511, allocations: 39 kB / 0.8818 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 3.106e-06/0.5111, allocations: 0 / 0.8818 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.007634/0.5187, allocations: 1.721 MB / 0.8835 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.5188, allocations: 59.84 kB / 0.8835 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.521, allocations: 1.076 MB / 0.8846 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.5212, allocations: 41.7 kB / 0.8846 GB, free: 4.621 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005906/0.5218, allocations: 0.5312 MB / 0.8851 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.522, allocations: 169.6 kB / 0.8853 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.5223, allocations: 146.1 kB / 0.8854 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.5225, allocations: 329.9 kB / 0.8857 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008707/0.5234, allocations: 295.3 kB / 0.886 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009925/0.5244, allocations: 0.5036 MB / 0.8865 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.5259, allocations: 0.6869 MB / 0.8872 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.5259, allocations: 0 / 0.8872 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003813/0.5298, allocations: 1.154 MB / 0.8883 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.5298, allocations: 11.98 kB / 0.8883 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.5298, allocations: 8 kB / 0.8883 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.5311, allocations: 318.7 kB / 0.8886 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.5316, allocations: 127.8 kB / 0.8888 GB, free: 184 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.5331, allocations: 0.9074 MB / 0.8896 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.5343, allocations: 153.6 kB / 0.8898 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.5344, allocations: 35.98 kB / 0.8898 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001211/0.5356, allocations: 0.5011 MB / 0.8903 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009562/0.5366, allocations: 0.492 MB / 0.8908 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001481/0.5381, allocations: 0.679 MB / 0.8915 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.5381, allocations: 0 / 0.8915 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.00344/0.5415, allocations: 1.139 MB / 0.8926 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.5416, allocations: 11.94 kB / 0.8926 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5416, allocations: 4 kB / 0.8926 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.5427, allocations: 307.9 kB / 0.8929 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.5432, allocations: 127.8 kB / 0.893 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.5448, allocations: 0.9035 MB / 0.8939 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.5462, allocations: 135.5 kB / 0.894 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.5463, allocations: 31.98 kB / 0.894 GB, free: 10.55 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (61): * Single equations (assignments): 60 * 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.000314/0.5466, allocations: 220.7 kB / 0.8942 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.5469, allocations: 114.6 kB / 0.8944 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/0.55, allocations: 1.08 MB / 0.8954 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.55, allocations: 11.92 kB / 0.8954 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.5501, allocations: 4 kB / 0.8954 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.5501, allocations: 3.984 kB / 0.8954 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/0.555, allocations: 2.126 MB / 0.8975 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.5551, allocations: 288 / 0.8975 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.5553, allocations: 67.91 kB / 0.8976 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.5564, allocations: 295.6 kB / 0.8979 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.5565, allocations: 19.94 kB / 0.8979 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.5583, allocations: 0.9464 MB / 0.8988 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5583, allocations: 4 kB / 0.8988 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003609/0.5619, allocations: 1.157 MB / 0.8999 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005781/0.5625, allocations: 263.5 kB / 0.9002 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.5627, allocations: 16 kB / 0.9002 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007403/0.5634, allocations: 67.92 kB / 0.9003 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.5635, allocations: 35.89 kB / 0.9003 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.5636, allocations: 23.98 kB / 0.9003 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001305/0.5649, allocations: 0.7592 MB / 0.9011 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5649, allocations: 0 / 0.9011 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001699/0.5666, allocations: 0.581 MB / 0.9016 GB, free: 2.562 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 (37): * Single equations (assignments): 32 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000862/0.5675, allocations: 404.2 kB / 0.902 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003105/0.5706, allocations: 1.128 MB / 0.9031 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5706, allocations: 0 / 0.9031 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008315/0.5715, allocations: 348.2 kB / 0.9034 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.574, allocations: 0.5285 MB / 0.904 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.5778, allocations: 1.867 MB / 0.9058 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/0.5785, allocations: 1.058 MB / 0.9068 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001029/0.5796, allocations: 232.3 kB / 0.907 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.5798, allocations: 83.41 kB / 0.9071 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of SimCode: time 1.342e-06/0.5798, allocations: 0 / 0.9071 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of Templates: time 0.5698/1.15, allocations: 25.75 MB / 0.9323 GB, free: 131.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)