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.000875/0.0008748, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00102/0.00102, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 222.1 MB, free: 5.289 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.599/1.599, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0006191/0.0006192, allocations: 21.8 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2696, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05557/0.3252, allocations: 56.54 MB / 0.8425 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01622/0.3415, allocations: 11.12 MB / 0.8534 GB, free: 8.102 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.3436, allocations: 51.62 kB / 0.8534 GB, free: 8.051 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.3453, allocations: 460.9 kB / 0.8538 GB, free: 7.598 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004648/0.35, allocations: 1.528 MB / 0.8553 GB, free: 6.062 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.3526, allocations: 0.8659 MB / 0.8562 GB, free: 5.207 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004781/0.3574, allocations: 3.382 MB / 0.8595 GB, free: 1.812 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.3591, allocations: 0.7935 MB / 0.8603 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.362, allocations: 1.046 MB / 0.8613 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.3637, allocations: 0.8088 MB / 0.8621 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.3638, allocations: 48 kB / 0.8621 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/0.3665, allocations: 1.119 MB / 0.8632 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.3668, allocations: 203 kB / 0.8634 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.3672, allocations: 281 kB / 0.8637 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.3695, allocations: 1.652 MB / 0.8653 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3695, allocations: 0 / 0.8653 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3695, allocations: 0 / 0.8653 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.3695, allocations: 0 / 0.8653 GB, free: 11.82 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.002848/0.3724, allocations: 1.519 MB / 0.8668 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.3724, allocations: 8.031 kB / 0.8668 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.3739, allocations: 386 kB / 0.8671 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.376, allocations: 1.09 MB / 0.8682 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/0.3763, allocations: 129.9 kB / 0.8683 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.3765, allocations: 84 kB / 0.8684 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.3783, allocations: 0.9566 MB / 0.8693 GB, free: 7.512 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.3784, allocations: 7.922 kB / 0.8693 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.732e-05/0.3785, allocations: 36 kB / 0.8694 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.3785, allocations: 20 kB / 0.8694 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.3805, allocations: 0.847 MB / 0.8702 GB, free: 6.605 MB / 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.006462/0.387, allocations: 4.532 MB / 0.8747 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.3885, allocations: 0.6418 MB / 0.8753 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/0.3891, allocations: 298 kB / 0.8756 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/0.3906, allocations: 1.393 MB / 0.8769 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.3906, allocations: 39 kB / 0.877 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.795e-06/0.3906, allocations: 4 kB / 0.877 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.006409/0.397, allocations: 1.885 MB / 0.8788 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.3971, allocations: 63.8 kB / 0.8789 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.3987, allocations: 1.048 MB / 0.8799 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.474e-05/0.3988, allocations: 41.7 kB / 0.8799 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.3992, allocations: 0.5275 MB / 0.8804 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.3994, allocations: 157.6 kB / 0.8806 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.3994, allocations: 11.94 kB / 0.8806 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3995, allocations: 330 kB / 0.8809 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007168/0.4002, allocations: 292.9 kB / 0.8812 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008416/0.4011, allocations: 0.4914 MB / 0.8817 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000724/0.4018, allocations: 328.6 kB / 0.882 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.4019, allocations: 4 kB / 0.882 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002189/0.404, allocations: 0.9912 MB / 0.883 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.4042, allocations: 196.4 kB / 0.8832 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.4042, allocations: 4 kB / 0.8832 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.4053, allocations: 348.4 kB / 0.8835 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.4058, allocations: 115.9 kB / 0.8836 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.4072, allocations: 0.9375 MB / 0.8845 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.4084, allocations: 191.1 kB / 0.8847 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.436e-05/0.4085, allocations: 31.98 kB / 0.8847 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.4085, allocations: 4 kB / 0.8847 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002073/0.4106, allocations: 0.8619 MB / 0.8856 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4106, allocations: 4.344 kB / 0.8856 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4116, allocations: 328.6 kB / 0.8859 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/0.4121, allocations: 123.8 kB / 0.886 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.4135, allocations: 0.9308 MB / 0.8869 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.4146, allocations: 162.2 kB / 0.8871 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.376e-05/0.4147, allocations: 27.98 kB / 0.8871 GB, free: 4.426 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0008336/0.4156, allocations: 360.9 kB / 0.8874 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.4158, allocations: 106.7 kB / 0.8875 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/0.4189, allocations: 1.12 MB / 0.8886 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.4189, allocations: 7.984 kB / 0.8886 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.419, allocations: 4 kB / 0.8887 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.419, allocations: 0 / 0.8887 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005049/0.424, allocations: 2.204 MB / 0.8908 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4241, allocations: 0 / 0.8908 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.4243, allocations: 67.89 kB / 0.8909 GB, free: 476 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009803/0.4253, allocations: 331.9 kB / 0.8912 GB, free: 144 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.4254, allocations: 15.94 kB / 0.8912 GB, free: 128 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.4268, allocations: 0.9699 MB / 0.8921 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4268, allocations: 11.88 kB / 0.8922 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/0.4301, allocations: 1.239 MB / 0.8934 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006353/0.4308, allocations: 287.4 kB / 0.8936 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/0.431, allocations: 15.98 kB / 0.8937 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008885/0.4319, allocations: 95.91 kB / 0.8938 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.432, allocations: 35.95 kB / 0.8938 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.4321, allocations: 27.98 kB / 0.8938 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00132/0.4334, allocations: 0.7313 MB / 0.8945 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4334, allocations: 0 / 0.8945 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001798/0.4352, allocations: 0.577 MB / 0.8951 GB, free: 12.04 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 (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.0009147/0.4362, allocations: 380.5 kB / 0.8955 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002931/0.4391, allocations: 1.104 MB / 0.8965 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.4391, allocations: 4.25 kB / 0.8965 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008084/0.4399, allocations: 351.1 kB / 0.8969 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/0.4425, allocations: 0.5257 MB / 0.8974 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.4471, allocations: 2.226 MB / 0.8996 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/0.4481, allocations: 1.062 MB / 0.9006 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001255/0.4494, allocations: 231.6 kB / 0.9008 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.4497, allocations: 79.42 kB / 0.9009 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of SimCode: time 1.042e-06/0.4497, allocations: 0 / 0.9009 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of Templates: time 0.4741/0.9238, allocations: 23.74 MB / 0.9241 GB, free: 133.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: