Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.619/4.619, allocations: 0.5623 GB / 0.5769 GB, free: 3.375 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002484/0.002484, allocations: 361.6 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.841/3.841, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001704/0.001704, allocations: 190.4 kB / 1.225 GB, free: 35.91 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004867, allocations: 12.59 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1526, allocations: 115.3 MB / 1.461 GB, free: 6.629 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08597/0.2386, allocations: 65.12 MB / 1.524 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.5884/0.827, allocations: 16.14 MB / 1.54 GB, free: 28.68 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.8293, allocations: 63.53 kB / 1.54 GB, free: 28.68 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.8317, allocations: 0.6397 MB / 1.541 GB, free: 28.68 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008543/0.8403, allocations: 2.344 MB / 1.543 GB, free: 28.65 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006267/0.8466, allocations: 1.55 MB / 1.545 GB, free: 28.62 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007041/0.8536, allocations: 4.393 MB / 1.549 GB, free: 28.09 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002204/0.8559, allocations: 1.019 MB / 1.55 GB, free: 27.92 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003306/0.8592, allocations: 1.295 MB / 1.551 GB, free: 27.57 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.8613, allocations: 1.047 MB / 1.552 GB, free: 27.33 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.8616, allocations: 58.59 kB / 1.552 GB, free: 27.33 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003208/0.8648, allocations: 0.9087 MB / 1.553 GB, free: 27.25 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.8652, allocations: 251.7 kB / 1.553 GB, free: 27.19 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006062/0.8658, allocations: 367.6 kB / 1.554 GB, free: 27.11 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003885/0.8697, allocations: 2.314 MB / 1.556 GB, free: 26.96 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.282e-06/0.8697, allocations: 2.953 kB / 1.556 GB, free: 26.96 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.528e-06/0.8698, allocations: 0 / 1.556 GB, free: 26.96 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.452e-05/0.8698, allocations: 0 / 1.556 GB, free: 26.96 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003787/0.8736, allocations: 1.727 MB / 1.558 GB, free: 25.96 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.8737, allocations: 13.33 kB / 1.558 GB, free: 25.96 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/0.8764, allocations: 0.5004 MB / 1.558 GB, free: 25.85 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.8799, allocations: 1.468 MB / 1.56 GB, free: 25.46 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004553/0.8803, allocations: 151.7 kB / 1.56 GB, free: 25.45 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/0.8806, allocations: 106.2 kB / 1.56 GB, free: 25.45 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003376/0.884, allocations: 1.311 MB / 1.561 GB, free: 25.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/0.884, allocations: 1.562 kB / 1.561 GB, free: 25.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.8842, allocations: 41.72 kB / 1.561 GB, free: 25.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.8842, allocations: 33.31 kB / 1.561 GB, free: 25.2 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00384/0.8881, allocations: 1.164 MB / 1.562 GB, free: 25.16 MB / 0.6667 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.01058/0.8987, allocations: 6.907 MB / 1.569 GB, free: 21.46 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004014/0.9027, allocations: 0.9303 MB / 1.57 GB, free: 21.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009164/0.9037, allocations: 313.2 kB / 1.57 GB, free: 21.39 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.9048, allocations: 1.732 MB / 1.572 GB, free: 19.41 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.9049, allocations: 37 kB / 1.572 GB, free: 19.38 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 3.621e-06/0.9049, allocations: 0.8438 kB / 1.572 GB, free: 19.38 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.006123/0.911, allocations: 1.489 MB / 1.573 GB, free: 19.11 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.9111, allocations: 63.73 kB / 1.573 GB, free: 19.05 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003258/0.9143, allocations: 1.527 MB / 1.575 GB, free: 18.48 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.9145, allocations: 38.3 kB / 1.575 GB, free: 18.45 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/0.9151, allocations: 0.6646 MB / 1.576 GB, free: 17.92 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.9153, allocations: 180.2 kB / 1.576 GB, free: 17.78 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.9154, allocations: 16.25 kB / 1.576 GB, free: 17.77 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.9154, allocations: 335.2 kB / 1.576 GB, free: 17.45 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.9168, allocations: 401.8 kB / 1.577 GB, free: 17.32 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.9183, allocations: 0.6769 MB / 1.577 GB, free: 16.86 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.9198, allocations: 458.7 kB / 1.578 GB, free: 16.69 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.631e-06/0.9198, allocations: 1 kB / 1.578 GB, free: 16.69 MB / 0.6667 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00404/0.9238, allocations: 1.25 MB / 1.579 GB, free: 16.17 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.9239, allocations: 7.969 kB / 1.579 GB, free: 16.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.9239, allocations: 6.094 kB / 1.579 GB, free: 16.17 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.9251, allocations: 226.4 kB / 1.579 GB, free: 16.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.9262, allocations: 203.8 kB / 1.579 GB, free: 16.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009743/0.9272, allocations: 0.7256 MB / 1.58 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.9295, allocations: 262.5 kB / 1.58 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/0.9297, allocations: 45.91 kB / 1.58 GB, free: 15.23 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.0008582/0.9306, allocations: 354.8 kB / 1.581 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/0.9309, allocations: 149.2 kB / 1.581 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003287/0.9342, allocations: 1.216 MB / 1.582 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/0.9343, allocations: 14.86 kB / 1.582 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.988e-06/0.9343, allocations: 3.781 kB / 1.582 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.9343, allocations: 7.938 kB / 1.582 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006696/0.941, allocations: 2.65 MB / 1.585 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.9411, allocations: 5.719 kB / 1.585 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/0.9416, allocations: 97.44 kB / 1.585 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/0.9427, allocations: 222.4 kB / 1.585 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/0.9428, allocations: 25.34 kB / 1.585 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.9445, allocations: 0.8 MB / 1.586 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.488e-06/0.9445, allocations: 6.922 kB / 1.586 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004872/0.9494, allocations: 1.324 MB / 1.587 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000967/0.9504, allocations: 371.5 kB / 1.587 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/0.9507, allocations: 14.72 kB / 1.587 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.9521, allocations: 110.3 kB / 1.587 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.9522, allocations: 41.7 kB / 1.588 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-05/0.9523, allocations: 33.77 kB / 1.588 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00224/0.9546, allocations: 1.072 MB / 1.589 GB, free: 9.809 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.79e-07/0.9546, allocations: 0 / 1.589 GB, free: 9.809 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001696/0.9563, allocations: 441 kB / 1.589 GB, free: 9.707 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.000926/0.9573, allocations: 468 kB / 1.589 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00275/0.96, allocations: 0.8932 MB / 1.59 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.9601, allocations: 0 / 1.59 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.9616, allocations: 498.9 kB / 1.591 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004122/0.9658, allocations: 0.7252 MB / 1.592 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004631/0.9704, allocations: 2.727 MB / 1.594 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/0.9712, allocations: 1.204 MB / 1.595 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001722/0.9729, allocations: 276.5 kB / 1.596 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003753/0.9733, allocations: 116.3 kB / 1.596 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of SimCode: time 1.649e-06/0.9733, allocations: 0 / 1.596 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of Templates: time 0.06808/1.041, allocations: 29.58 MB / 1.625 GB, free: 11.6 MB / 0.698 GB