Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.679/1.679, allocations: 287.5 MB / 302.6 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 177.4 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008318/0.0008318, allocations: 99 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004238, allocations: 12.34 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2545, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04775/0.3023, allocations: 56.52 MB / 1.034 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01608/0.3184, allocations: 11.13 MB / 1.045 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.3208, allocations: 47.69 kB / 1.045 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.3226, allocations: 464.8 kB / 1.045 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005533/0.3282, allocations: 1.513 MB / 1.047 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.3311, allocations: 0.8795 MB / 1.048 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00459/0.3357, allocations: 3.43 MB / 1.051 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.3372, allocations: 0.8863 MB / 1.052 GB, free: 1.137 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.3395, allocations: 1.046 MB / 1.053 GB, free: 88 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.3409, allocations: 0.8127 MB / 1.054 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.341, allocations: 44 kB / 1.054 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.3436, allocations: 1.099 MB / 1.055 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.3438, allocations: 199 kB / 1.055 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.3443, allocations: 285 kB / 1.055 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.3467, allocations: 1.641 MB / 1.057 GB, free: 12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3467, allocations: 4 kB / 1.057 GB, free: 12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3467, allocations: 0 / 1.057 GB, free: 12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.3468, allocations: 0 / 1.057 GB, free: 12 MB / 0.6823 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.002668/0.3494, allocations: 1.505 MB / 1.058 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.3495, allocations: 11.97 kB / 1.058 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.3516, allocations: 474.8 kB / 1.059 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.3536, allocations: 1.128 MB / 1.06 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/0.3539, allocations: 129.9 kB / 1.06 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.3541, allocations: 80 kB / 1.06 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.3561, allocations: 0.9956 MB / 1.061 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.3561, allocations: 3.938 kB / 1.061 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.589e-05/0.3562, allocations: 32 kB / 1.061 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.3562, allocations: 23.98 kB / 1.061 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.3585, allocations: 0.9172 MB / 1.062 GB, free: 6.559 MB / 0.6823 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.006313/0.3648, allocations: 4.629 MB / 1.066 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/0.3681, allocations: 0.9305 MB / 1.067 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007421/0.3689, allocations: 344.4 kB / 1.068 GB, free: 348 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.549/0.9179, allocations: 0.8963 MB / 1.069 GB, free: 90.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.918, allocations: 37.66 kB / 1.069 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.006e-06/0.918, allocations: 0 / 1.069 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008544/0.9265, allocations: 1.998 MB / 1.071 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.9266, allocations: 58.08 kB / 1.071 GB, free: 90.19 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.9284, allocations: 1.049 MB / 1.072 GB, free: 89.92 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.283e-05/0.9285, allocations: 38.42 kB / 1.072 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.9289, allocations: 0.5262 MB / 1.072 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.9291, allocations: 164.1 kB / 1.072 GB, free: 89.48 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.9291, allocations: 14.28 kB / 1.072 GB, free: 89.47 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.624e-05/0.9292, allocations: 332 kB / 1.073 GB, free: 89.15 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.9303, allocations: 328 kB / 1.073 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.9314, allocations: 0.5307 MB / 1.073 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.9332, allocations: 0.7283 MB / 1.074 GB, free: 88.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.9332, allocations: 1.062 kB / 1.074 GB, free: 88.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003944/0.9372, allocations: 1.227 MB / 1.075 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.525e-05/0.9373, allocations: 197.6 kB / 1.076 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.9373, allocations: 7.359 kB / 1.076 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.9387, allocations: 325.6 kB / 1.076 GB, free: 87.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.9393, allocations: 138.1 kB / 1.076 GB, free: 87.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.9408, allocations: 0.9415 MB / 1.077 GB, free: 87.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.9422, allocations: 192.5 kB / 1.077 GB, free: 87.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.762e-05/0.9423, allocations: 29.98 kB / 1.077 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.9423, allocations: 4.062 kB / 1.077 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003511/0.9458, allocations: 1.103 MB / 1.078 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.9458, allocations: 3.562 kB / 1.078 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.947, allocations: 322.9 kB / 1.079 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.9476, allocations: 133.7 kB / 1.079 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.949, allocations: 0.9339 MB / 1.08 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.9503, allocations: 167.6 kB / 1.08 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/0.9504, allocations: 29.19 kB / 1.08 GB, free: 85.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0005767/0.951, allocations: 357.7 kB / 1.08 GB, free: 85.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.9512, allocations: 112.1 kB / 1.08 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002698/0.9539, allocations: 1.039 MB / 1.081 GB, free: 85.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.9539, allocations: 10.5 kB / 1.081 GB, free: 85.17 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.9539, allocations: 0.6562 kB / 1.081 GB, free: 85.17 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.954, allocations: 3.688 kB / 1.081 GB, free: 85.17 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006291/0.9602, allocations: 2.47 MB / 1.084 GB, free: 84.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.9603, allocations: 3.781 kB / 1.084 GB, free: 84.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.9606, allocations: 78.55 kB / 1.084 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.9617, allocations: 322.8 kB / 1.084 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.9617, allocations: 12.73 kB / 1.084 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.9631, allocations: 0.979 MB / 1.085 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9631, allocations: 1.625 kB / 1.085 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003719/0.9669, allocations: 1.294 MB / 1.086 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005714/0.9674, allocations: 285.1 kB / 1.087 GB, free: 82.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.9676, allocations: 12.73 kB / 1.087 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008741/0.9685, allocations: 111.3 kB / 1.087 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.9686, allocations: 40.61 kB / 1.087 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/0.9687, allocations: 24.41 kB / 1.087 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001276/0.9699, allocations: 0.7368 MB / 1.087 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9699, allocations: 0 / 1.087 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001824/0.9718, allocations: 0.5661 MB / 1.088 GB, free: 82.15 MB / 0.6823 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.0008082/0.9726, allocations: 358.9 kB / 1.088 GB, free: 82.01 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003473/0.9761, allocations: 1.208 MB / 1.09 GB, free: 81.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.9761, allocations: 5.312 kB / 1.09 GB, free: 81.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009687/0.9771, allocations: 380.2 kB / 1.09 GB, free: 81.58 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/0.9799, allocations: 0.5315 MB / 1.09 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00567/0.9856, allocations: 2.514 MB / 1.093 GB, free: 80.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006921/0.9863, allocations: 1.063 MB / 1.094 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001166/0.9875, allocations: 227.4 kB / 1.094 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.9877, allocations: 85.81 kB / 1.094 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of SimCode: time 7.92e-07/0.9877, allocations: 0 / 1.094 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of Templates: time 0.04648/1.034, allocations: 23.84 MB / 1.118 GB, free: 68.88 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)