Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.64/4.64, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 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.002367/0.002366, allocations: 357.9 kB / 0.644 GB, free: 185.6 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.839/3.839, allocations: 410.7 MB / 1.112 GB, free: 147.7 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.001682/0.001682, allocations: 186.4 kB / 1.225 GB, free: 35.87 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.0004992, allocations: 12.94 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.15, allocations: 115.3 MB / 1.461 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.07261/0.2227, allocations: 56.5 MB / 1.516 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01995/0.2427, allocations: 10.97 MB / 1.527 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.2444, allocations: 51.62 kB / 1.527 GB, free: 2.867 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.2463, allocations: 0.5745 MB / 1.527 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.5326/0.7788, allocations: 1.965 MB / 1.529 GB, free: 29.89 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004774/0.7836, allocations: 1.317 MB / 1.53 GB, free: 29.88 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005865/0.7895, allocations: 3.408 MB / 1.534 GB, free: 29.87 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.7911, allocations: 0.7878 MB / 1.535 GB, free: 29.78 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.7934, allocations: 1.012 MB / 1.536 GB, free: 29.77 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.7948, allocations: 0.8067 MB / 1.536 GB, free: 29.77 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.795, allocations: 47.12 kB / 1.536 GB, free: 29.77 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.7977, allocations: 0.922 MB / 1.537 GB, free: 29.77 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.798, allocations: 203.6 kB / 1.537 GB, free: 29.77 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004063/0.7984, allocations: 285.5 kB / 1.538 GB, free: 29.74 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00269/0.8012, allocations: 1.597 MB / 1.539 GB, free: 29.62 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.323e-06/0.8012, allocations: 0 / 1.539 GB, free: 29.62 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.45e-06/0.8012, allocations: 2.906 kB / 1.539 GB, free: 29.62 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.166e-05/0.8013, allocations: 0 / 1.539 GB, free: 29.62 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003646/0.8049, allocations: 1.495 MB / 1.541 GB, free: 28.73 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.805, allocations: 13.14 kB / 1.541 GB, free: 28.73 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002724/0.8077, allocations: 473.2 kB / 1.541 GB, free: 28.64 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/0.8105, allocations: 1.088 MB / 1.542 GB, free: 28.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004323/0.811, allocations: 134 kB / 1.542 GB, free: 28.29 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.8112, allocations: 78.92 kB / 1.542 GB, free: 28.29 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/0.814, allocations: 0.9987 MB / 1.543 GB, free: 28.14 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.814, allocations: 3.844 kB / 1.543 GB, free: 28.14 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.8142, allocations: 40.5 kB / 1.543 GB, free: 28.14 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.8142, allocations: 22.86 kB / 1.544 GB, free: 28.14 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/0.8174, allocations: 0.9229 MB / 1.544 GB, free: 28.11 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.008314/0.8258, allocations: 4.616 MB / 1.549 GB, free: 25.77 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004376/0.8302, allocations: 0.9305 MB / 1.55 GB, free: 25.71 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.8313, allocations: 343.3 kB / 1.55 GB, free: 25.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005536/0.8318, allocations: 0.8993 MB / 1.551 GB, free: 24.67 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.8319, allocations: 53.75 kB / 1.551 GB, free: 24.62 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=47): time 3.862e-06/0.8319, allocations: 2.734 kB / 1.551 GB, free: 24.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=47): time 0.00994/0.8419, allocations: 2 MB / 1.553 GB, free: 24.34 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.8419, allocations: 56.09 kB / 1.553 GB, free: 24.28 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/0.8444, allocations: 1.05 MB / 1.554 GB, free: 24.12 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.8446, allocations: 36.89 kB / 1.554 GB, free: 24.09 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/0.8451, allocations: 0.5247 MB / 1.555 GB, free: 23.9 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.8453, allocations: 158 kB / 1.555 GB, free: 23.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.8454, allocations: 11.81 kB / 1.555 GB, free: 23.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.8454, allocations: 332 kB / 1.555 GB, free: 23.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.8467, allocations: 334.4 kB / 1.555 GB, free: 23.48 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.8482, allocations: 0.5365 MB / 1.556 GB, free: 23.26 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.8495, allocations: 366.8 kB / 1.556 GB, free: 23.24 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.858e-06/0.8495, allocations: 0 / 1.556 GB, free: 23.24 MB / 0.6667 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004943/0.8545, allocations: 1.234 MB / 1.558 GB, free: 23.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-05/0.8546, allocations: 201 kB / 1.558 GB, free: 22.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.8546, allocations: 4.125 kB / 1.558 GB, free: 22.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.8562, allocations: 330.8 kB / 1.558 GB, free: 22.83 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007884/0.8571, allocations: 137.4 kB / 1.558 GB, free: 22.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.8589, allocations: 0.9378 MB / 1.559 GB, free: 22.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.8608, allocations: 196.8 kB / 1.559 GB, free: 22.24 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.8609, allocations: 30.78 kB / 1.559 GB, free: 22.24 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.8609, allocations: 6.406 kB / 1.559 GB, free: 22.24 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00434/0.8653, allocations: 1.096 MB / 1.56 GB, free: 22.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.8653, allocations: 10.36 kB / 1.56 GB, free: 22.17 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.8668, allocations: 324.2 kB / 1.561 GB, free: 22.15 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/0.8676, allocations: 136.7 kB / 1.561 GB, free: 22.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.8693, allocations: 0.9252 MB / 1.562 GB, free: 21.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.871, allocations: 174.6 kB / 1.562 GB, free: 21.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.8711, allocations: 36.44 kB / 1.562 GB, free: 21.56 MB / 0.6667 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.0007124/0.8718, allocations: 349.1 kB / 1.562 GB, free: 21.38 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.8721, allocations: 112.9 kB / 1.562 GB, free: 21.32 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004789/0.8769, allocations: 1.24 MB / 1.564 GB, free: 21.19 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.877, allocations: 12.23 kB / 1.564 GB, free: 21.19 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.072e-06/0.877, allocations: 0 / 1.564 GB, free: 21.19 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.877, allocations: 4.891 kB / 1.564 GB, free: 21.19 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006709/0.8837, allocations: 2.311 MB / 1.566 GB, free: 20.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.8838, allocations: 2.531 kB / 1.566 GB, free: 20.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.8842, allocations: 81.39 kB / 1.566 GB, free: 20.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/0.8856, allocations: 329 kB / 1.566 GB, free: 20.71 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.8857, allocations: 15.12 kB / 1.566 GB, free: 20.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.8875, allocations: 0.9688 MB / 1.567 GB, free: 20.17 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.858e-06/0.8875, allocations: 7.375 kB / 1.567 GB, free: 20.17 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005614/0.8932, allocations: 1.446 MB / 1.569 GB, free: 19.83 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000794/0.894, allocations: 285.5 kB / 1.569 GB, free: 19.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.8942, allocations: 11.61 kB / 1.569 GB, free: 19.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.8954, allocations: 123.6 kB / 1.569 GB, free: 19.66 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.8956, allocations: 35.44 kB / 1.569 GB, free: 19.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-05/0.8957, allocations: 23.86 kB / 1.569 GB, free: 19.66 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001612/0.8973, allocations: 0.7373 MB / 1.57 GB, free: 19.54 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.43e-07/0.8973, allocations: 0 / 1.57 GB, free: 19.54 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002148/0.8995, allocations: 0.5609 MB / 1.57 GB, free: 19.47 MB / 0.6667 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.001323/0.9008, allocations: 367.1 kB / 1.571 GB, free: 19.32 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00432/0.9051, allocations: 1.209 MB / 1.572 GB, free: 19.28 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.206e-06/0.9052, allocations: 4.25 kB / 1.572 GB, free: 19.28 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.9064, allocations: 382.8 kB / 1.572 GB, free: 19.27 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/0.9098, allocations: 0.538 MB / 1.573 GB, free: 19.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006304/0.9161, allocations: 2.498 MB / 1.575 GB, free: 18.11 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.9168, allocations: 1.092 MB / 1.576 GB, free: 17.34 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001554/0.9184, allocations: 222.7 kB / 1.577 GB, free: 17.23 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.9186, allocations: 86.59 kB / 1.577 GB, free: 17.21 MB / 0.6667 GB Notification: Performance of SimCode: time 1.538e-06/0.9187, allocations: 0 / 1.577 GB, free: 17.21 MB / 0.6667 GB Notification: Performance of Templates: time 0.04949/0.9682, allocations: 23.59 MB / 1.6 GB, free: 168 kB / 0.6667 GB