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.001203/0.001202, allocations: 109.4 kB / 15.69 MB, free: 128 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.001281/0.001281, allocations: 188.6 kB / 16.62 MB, free: 6.613 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.654/1.654, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.884/1.884, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.001499/0.001499, allocations: 70.28 kB / 0.6722 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3022, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05876/0.361, allocations: 61.24 MB / 0.8439 GB, free: 15.27 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01865/0.3797, allocations: 11.9 MB / 0.8555 GB, free: 3.332 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.3824, allocations: 55.69 kB / 0.8556 GB, free: 3.277 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.3847, allocations: 0.6791 MB / 0.8562 GB, free: 2.594 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006061/0.3907, allocations: 1.939 MB / 0.8581 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003687/0.3944, allocations: 1.228 MB / 0.8593 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005214/0.3997, allocations: 3.083 MB / 0.8624 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.4016, allocations: 1.108 MB / 0.8634 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003563/0.4051, allocations: 1.356 MB / 0.8648 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.4069, allocations: 0.8945 MB / 0.8656 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002486/0.4072, allocations: 120 kB / 0.8657 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003917/0.4111, allocations: 1.458 MB / 0.8672 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000369/0.4115, allocations: 302.8 kB / 0.8675 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.4125, allocations: 0.6959 MB / 0.8681 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004215/0.4167, allocations: 2.333 MB / 0.8704 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4168, allocations: 0 / 0.8704 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4168, allocations: 0 / 0.8704 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.229e-05/0.4168, allocations: 0 / 0.8704 GB, free: 4.027 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.003195/0.42, allocations: 1.738 MB / 0.8721 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.42, allocations: 8.031 kB / 0.8721 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.4216, allocations: 347 kB / 0.8725 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.4238, allocations: 1.159 MB / 0.8736 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.428e-05/0.4239, allocations: 69.94 kB / 0.8737 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.424, allocations: 80 kB / 0.8737 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.4258, allocations: 0.9725 MB / 0.8747 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4259, allocations: 0 / 0.8747 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-05/0.4259, allocations: 32 kB / 0.8747 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.426, allocations: 24 kB / 0.8747 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.428, allocations: 0.8079 MB / 0.8755 GB, free: 14.62 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.006181/0.4341, allocations: 4.861 MB / 0.8803 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.4358, allocations: 0.598 MB / 0.8809 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006181/0.4364, allocations: 278 kB / 0.8811 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/0.4378, allocations: 1.373 MB / 0.8825 GB, free: 6.895 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.4379, allocations: 42.94 kB / 0.8825 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.445e-06/0.4379, allocations: 4 kB / 0.8825 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.006549/0.4444, allocations: 1.658 MB / 0.8841 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4445, allocations: 55.84 kB / 0.8842 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.4461, allocations: 1.076 MB / 0.8852 GB, free: 3.996 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-05/0.4462, allocations: 37.7 kB / 0.8853 GB, free: 3.953 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.4466, allocations: 0.539 MB / 0.8858 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.4467, allocations: 165.6 kB / 0.8859 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.4469, allocations: 142.1 kB / 0.8861 GB, free: 3.102 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4471, allocations: 334 kB / 0.8864 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008244/0.4479, allocations: 287.3 kB / 0.8867 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009997/0.4489, allocations: 0.5036 MB / 0.8872 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.4504, allocations: 0.6751 MB / 0.8878 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.4504, allocations: 7.938 kB / 0.8878 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003601/0.454, allocations: 1.127 MB / 0.8889 GB, free: 4 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.4541, allocations: 8.047 kB / 0.8889 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.4541, allocations: 4 kB / 0.8889 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.4554, allocations: 304.5 kB / 0.8892 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.4559, allocations: 127.8 kB / 0.8894 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.4576, allocations: 0.8958 MB / 0.8902 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.4591, allocations: 151.1 kB / 0.8904 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.152e-05/0.4592, allocations: 35.98 kB / 0.8904 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001391/0.4606, allocations: 497.2 kB / 0.8909 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001256/0.4619, allocations: 0.4958 MB / 0.8914 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001554/0.4634, allocations: 0.6635 MB / 0.892 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.055e-06/0.4634, allocations: 0 / 0.892 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003627/0.4671, allocations: 1.107 MB / 0.8931 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4671, allocations: 16.02 kB / 0.8931 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4671, allocations: 4 kB / 0.8931 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.4682, allocations: 291.7 kB / 0.8934 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.4686, allocations: 135.7 kB / 0.8935 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.47, allocations: 0.8918 MB / 0.8944 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.4712, allocations: 127.5 kB / 0.8945 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.155e-05/0.4712, allocations: 31.98 kB / 0.8945 GB, free: 10.03 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.0002833/0.4715, allocations: 218.9 kB / 0.8948 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.4718, allocations: 118.6 kB / 0.8949 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.4748, allocations: 1.045 MB / 0.8959 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.4748, allocations: 7.984 kB / 0.8959 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4748, allocations: 0 / 0.8959 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.4748, allocations: 0 / 0.8959 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004818/0.4796, allocations: 2.122 MB / 0.898 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4797, allocations: 4 kB / 0.898 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.4799, allocations: 60.17 kB / 0.898 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009464/0.4809, allocations: 296.5 kB / 0.8983 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.4809, allocations: 23.92 kB / 0.8983 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.4824, allocations: 0.9245 MB / 0.8992 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.4824, allocations: 15.91 kB / 0.8993 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.4858, allocations: 1.141 MB / 0.9004 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/0.4863, allocations: 267.5 kB / 0.9006 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.4864, allocations: 12 kB / 0.9006 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007195/0.4872, allocations: 63.92 kB / 0.9007 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.861e-05/0.4873, allocations: 39.89 kB / 0.9007 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.118e-05/0.4873, allocations: 27.92 kB / 0.9008 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001522/0.4889, allocations: 0.7553 MB / 0.9015 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4889, allocations: 4 kB / 0.9015 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001997/0.4909, allocations: 0.581 MB / 0.9021 GB, free: 2.117 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.001035/0.4919, allocations: 401.5 kB / 0.9025 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003035/0.495, allocations: 1.094 MB / 0.9035 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.495, allocations: 0 / 0.9035 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008971/0.4959, allocations: 340 kB / 0.9038 GB, free: 316 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.4983, allocations: 0.5292 MB / 0.9044 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.502, allocations: 1.825 MB / 0.9061 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.5027, allocations: 1.062 MB / 0.9072 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008693/0.5035, allocations: 232.3 kB / 0.9074 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.5037, allocations: 79.42 kB / 0.9075 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.5038, allocations: 0 / 0.9075 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.5596/1.063, allocations: 25.72 MB / 0.9326 GB, free: 131.9 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)