Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.32/2.32, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001614/0.001614, allocations: 183.7 kB / 325.6 MB, free: 2.832 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.694/2.694, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001139/0.001139, allocations: 90.31 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004679, allocations: 11.53 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2029, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06504/0.268, allocations: 51.32 MB / 0.949 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01794/0.286, allocations: 10.2 MB / 0.959 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.2882, allocations: 51.62 kB / 0.959 GB, free: 3.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002972/0.2912, allocations: 0.6335 MB / 0.9596 GB, free: 3.133 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007776/0.299, allocations: 1.893 MB / 0.9615 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005198/0.3042, allocations: 1.246 MB / 0.9627 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00509/0.3093, allocations: 1.835 MB / 0.9645 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/0.3115, allocations: 0.8018 MB / 0.9653 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003475/0.315, allocations: 0.9809 MB / 0.9662 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.3168, allocations: 0.6027 MB / 0.9668 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003166/0.3172, allocations: 48 kB / 0.9669 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.3208, allocations: 0.9789 MB / 0.9678 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000498/0.3213, allocations: 199.1 kB / 0.968 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006256/0.322, allocations: 285.1 kB / 0.9683 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003708/0.3257, allocations: 1.575 MB / 0.9698 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3257, allocations: 0 / 0.9698 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.855e-06/0.3258, allocations: 0 / 0.9698 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.931e-05/0.3258, allocations: 0 / 0.9698 GB, free: 8.668 MB / 0.6198 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.004475/0.3303, allocations: 1.489 MB / 0.9713 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.3304, allocations: 8.031 kB / 0.9713 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00419/0.3346, allocations: 473.9 kB / 0.9717 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005073/0.3397, allocations: 1.055 MB / 0.9728 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009114/0.3407, allocations: 133.9 kB / 0.9729 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003866/0.3411, allocations: 83.94 kB / 0.973 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005736/0.3468, allocations: 0.9994 MB / 0.9739 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-05/0.3469, allocations: 4 kB / 0.974 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/0.3472, allocations: 32 kB / 0.974 GB, free: 4.246 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.3472, allocations: 23.95 kB / 0.974 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006729/0.354, allocations: 0.9251 MB / 0.9749 GB, free: 3.297 MB / 0.6198 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.0132/0.3672, allocations: 4.66 MB / 0.9795 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006735/0.374, allocations: 0.9459 MB / 0.9804 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009169/0.375, allocations: 0.9107 MB / 0.9813 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.3751, allocations: 35 kB / 0.9813 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 3.467e-06/0.3751, allocations: 0 / 0.9813 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.01502/0.3901, allocations: 2.006 MB / 0.9833 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.3902, allocations: 55.84 kB / 0.9833 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002674/0.3929, allocations: 1.071 MB / 0.9844 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.3931, allocations: 33.7 kB / 0.9844 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006142/0.3937, allocations: 0.5158 MB / 0.9849 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.394, allocations: 165.6 kB / 0.9851 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.3941, allocations: 16 kB / 0.9851 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3942, allocations: 322 kB / 0.9854 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/0.396, allocations: 336.9 kB / 0.9857 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.398, allocations: 0.5328 MB / 0.9862 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.3999, allocations: 364.6 kB / 0.9866 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/0.3999, allocations: 3.984 kB / 0.9866 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.006758/0.4067, allocations: 1.225 MB / 0.9878 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006755/0.4074, allocations: 1.498 MB / 0.9892 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.4074, allocations: 7.984 kB / 0.9892 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002224/0.4096, allocations: 342.9 kB / 0.9896 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.4108, allocations: 131.8 kB / 0.9897 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.4134, allocations: 0.9387 MB / 0.9906 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.4158, allocations: 195.1 kB / 0.9908 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.4159, allocations: 43.97 kB / 0.9908 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4159, allocations: 4 kB / 0.9908 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006147/0.4221, allocations: 1.077 MB / 0.9919 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.4221, allocations: 7.984 kB / 0.9919 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.4241, allocations: 325 kB / 0.9922 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.4252, allocations: 131.8 kB / 0.9923 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/0.4277, allocations: 0.9406 MB / 0.9933 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.43, allocations: 167.3 kB / 0.9934 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.4301, allocations: 31.98 kB / 0.9934 GB, free: 15.44 MB / 0.6511 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.0007981/0.4309, allocations: 349 kB / 0.9938 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.4312, allocations: 122.6 kB / 0.9939 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.4426, allocations: 1.237 MB / 0.9951 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.836e-05/0.4427, allocations: 7.984 kB / 0.9951 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.4428, allocations: 0 / 0.9951 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/0.4428, allocations: 0 / 0.9951 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/0.4596, allocations: 2.333 MB / 0.9974 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.208e-05/0.4597, allocations: 8.062 kB / 0.9974 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.4607, allocations: 75.89 kB / 0.9975 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003207/0.464, allocations: 322.8 kB / 0.9978 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001853/0.4642, allocations: 23.98 kB / 0.9978 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005248/0.4695, allocations: 0.9552 MB / 0.9987 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.469e-05/0.4696, allocations: 7.938 kB / 0.9987 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/0.4819, allocations: 1.568 MB / 1 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.483, allocations: 295.4 kB / 1.001 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/0.4833, allocations: 19.95 kB / 1.001 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/0.4851, allocations: 111.8 kB / 1.001 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.4853, allocations: 39.91 kB / 1.001 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.87e-05/0.4854, allocations: 27.97 kB / 1.001 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00213/0.4875, allocations: 0.7508 MB / 1.001 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.71e-07/0.4876, allocations: 0 / 1.001 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002598/0.4902, allocations: 0.5536 MB / 1.002 GB, free: 6.402 MB / 0.6511 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.001181/0.4914, allocations: 381.8 kB / 1.002 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006141/0.4976, allocations: 1.214 MB / 1.004 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.4976, allocations: 4 kB / 1.004 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.4995, allocations: 387 kB / 1.004 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004546/0.5041, allocations: 0.5166 MB / 1.004 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.5141, allocations: 2.5 MB / 1.007 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009493/0.5151, allocations: 1.085 MB / 1.008 GB, free: 252 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001782/0.5169, allocations: 228.8 kB / 1.008 GB, free: 20 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003828/0.5173, allocations: 83.41 kB / 1.008 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of SimCode: time 1.453e-06/0.5174, allocations: 0 / 1.008 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of Templates: time 0.0675/0.5849, allocations: 23.82 MB / 1.032 GB, free: 8.324 MB / 0.6823 GB