Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.312/2.312, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002223/0.002223, allocations: 178.7 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.507/2.507, allocations: 205.4 MB / 0.5766 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 99.8 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004897, allocations: 15.97 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2105, allocations: 106.3 MB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08614/0.2967, allocations: 59.18 MB / 0.9567 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03722/0.334, allocations: 14.95 MB / 0.9713 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/0.337, allocations: 55.62 kB / 0.9713 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004641/0.3417, allocations: 0.7073 MB / 0.972 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.3523, allocations: 2.249 MB / 0.9742 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007086/0.3594, allocations: 1.486 MB / 0.9757 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006492/0.366, allocations: 2.267 MB / 0.9779 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002568/0.3686, allocations: 1.03 MB / 0.9789 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004566/0.3732, allocations: 1.265 MB / 0.9801 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.3758, allocations: 0.7895 MB / 0.9809 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005322/0.3764, allocations: 60 kB / 0.9809 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004469/0.3809, allocations: 0.9635 MB / 0.9819 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006826/0.3816, allocations: 246.9 kB / 0.9821 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008601/0.3825, allocations: 376.8 kB / 0.9825 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005165/0.3877, allocations: 2.275 MB / 0.9847 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3878, allocations: 0 / 0.9847 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3878, allocations: 0 / 0.9847 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.529e-05/0.3879, allocations: 0 / 0.9847 GB, free: 9.871 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.005731/0.3936, allocations: 1.723 MB / 0.9864 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.3937, allocations: 8.031 kB / 0.9864 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004418/0.3981, allocations: 0.5014 MB / 0.9869 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004552/0.4027, allocations: 1.435 MB / 0.9883 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007334/0.4035, allocations: 150 kB / 0.9884 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003334/0.4038, allocations: 104 kB / 0.9885 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004899/0.4088, allocations: 1.303 MB / 0.9898 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.4089, allocations: 4 kB / 0.9898 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.4091, allocations: 44 kB / 0.9898 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.4091, allocations: 28 kB / 0.9899 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005733/0.4149, allocations: 1.163 MB / 0.991 GB, free: 3.203 MB / 0.6355 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.02249/0.4374, allocations: 6.968 MB / 0.9978 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009686/0.4471, allocations: 0.9498 MB / 0.9987 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002699/0.4499, allocations: 1.714 MB / 1 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.014e-05/0.45, allocations: 42.98 kB / 1 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 5.72e-06/0.4501, allocations: 0 / 1 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.01448/0.4646, allocations: 1.483 MB / 1.002 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.4647, allocations: 59.84 kB / 1.002 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006838/0.4716, allocations: 1.549 MB / 1.003 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002541/0.4719, allocations: 37.7 kB / 1.004 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.4734, allocations: 0.6654 MB / 1.004 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005035/0.474, allocations: 185.3 kB / 1.004 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.4742, allocations: 16 kB / 1.004 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002387/0.4744, allocations: 333.9 kB / 1.005 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003331/0.4778, allocations: 401.8 kB / 1.005 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003986/0.4819, allocations: 0.6705 MB / 1.006 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/0.4855, allocations: 453.9 kB / 1.006 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-05/0.4856, allocations: 4 kB / 1.006 GB, free: 2.648 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00985/0.4954, allocations: 1.247 MB / 1.007 GB, free: 1.387 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/0.4955, allocations: 10.19 kB / 1.007 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/0.4956, allocations: 8.75 kB / 1.007 GB, free: 1.371 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/0.498, allocations: 228.6 kB / 1.008 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/0.5006, allocations: 203.7 kB / 1.008 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.5029, allocations: 0.7357 MB / 1.009 GB, free: 188 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004808/0.5078, allocations: 262.8 kB / 1.009 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003756/0.5082, allocations: 35.92 kB / 1.009 GB, free: 15.89 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 81 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.001534/0.5098, allocations: 356.4 kB / 1.009 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006708/0.5104, allocations: 146.2 kB / 1.009 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00719/0.5177, allocations: 1.227 MB / 1.01 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.317e-05/0.5178, allocations: 15.92 kB / 1.01 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.5178, allocations: 0 / 1.01 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.5179, allocations: 7.984 kB / 1.01 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.5323, allocations: 2.67 MB / 1.013 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-05/0.5324, allocations: 0 / 1.013 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/0.5338, allocations: 99.86 kB / 1.013 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002108/0.536, allocations: 220.8 kB / 1.013 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/0.5362, allocations: 15.98 kB / 1.013 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003597/0.5398, allocations: 0.8021 MB / 1.014 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/0.5399, allocations: 7.891 kB / 1.014 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.5502, allocations: 1.404 MB / 1.016 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/0.5519, allocations: 390.7 kB / 1.016 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005438/0.5525, allocations: 15.95 kB / 1.016 GB, free: 8.305 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003018/0.5555, allocations: 103.8 kB / 1.016 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/0.5558, allocations: 40.5 kB / 1.016 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/0.5561, allocations: 31.98 kB / 1.016 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.005017/0.5611, allocations: 1.09 MB / 1.017 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.112e-06/0.5611, allocations: 0 / 1.017 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003142/0.5643, allocations: 435.4 kB / 1.018 GB, free: 6.621 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00197/0.5663, allocations: 457.8 kB / 1.018 GB, free: 6.168 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006653/0.573, allocations: 0.8992 MB / 1.019 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.5731, allocations: 0 / 1.019 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004316/0.5774, allocations: 491.7 kB / 1.019 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005903/0.5834, allocations: 0.7242 MB / 1.02 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006972/0.5904, allocations: 2.726 MB / 1.023 GB, free: 1.301 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.5914, allocations: 1.203 MB / 1.024 GB, free: 72 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001956/0.5934, allocations: 273.3 kB / 1.024 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/0.5939, allocations: 119.3 kB / 1.024 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/0.5939, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of Templates: time 0.08316/0.6771, allocations: 29.84 MB / 1.053 GB, free: 2.098 MB / 0.698 GB