Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.13/2.13, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 189.3 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 102.1 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 56.06 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2735, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04473/0.3183, allocations: 60.88 MB / 1.278 GB, free: 56.14 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.3328, allocations: 12.05 MB / 1.289 GB, free: 44.06 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.3354, allocations: 59.62 kB / 1.289 GB, free: 44 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002176/0.3377, allocations: 0.5516 MB / 1.29 GB, free: 43.45 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.005751/0.3435, allocations: 1.804 MB / 1.292 GB, free: 41.64 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.3466, allocations: 1.077 MB / 1.293 GB, free: 40.57 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003861/0.3505, allocations: 3.929 MB / 1.297 GB, free: 36.62 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.3519, allocations: 0.9334 MB / 1.297 GB, free: 35.66 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.3543, allocations: 1.163 MB / 1.299 GB, free: 34.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.3559, allocations: 0.8904 MB / 1.299 GB, free: 33.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002986/0.3562, allocations: 56 kB / 1.3 GB, free: 33.55 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.3591, allocations: 1.36 MB / 1.301 GB, free: 32.18 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003724/0.3595, allocations: 230.9 kB / 1.301 GB, free: 31.96 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.3606, allocations: 0.6373 MB / 1.302 GB, free: 31.32 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003622/0.3643, allocations: 2.255 MB / 1.304 GB, free: 29.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3643, allocations: 0 / 1.304 GB, free: 29.05 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3643, allocations: 0 / 1.304 GB, free: 29.05 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.173e-05/0.3643, allocations: 0 / 1.304 GB, free: 29.05 MB / 0.823 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.003404/0.3678, allocations: 1.73 MB / 1.306 GB, free: 27.26 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3678, allocations: 11.98 kB / 1.306 GB, free: 27.25 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.3694, allocations: 347 kB / 1.306 GB, free: 26.91 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.3716, allocations: 1.12 MB / 1.307 GB, free: 25.73 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/0.3719, allocations: 121.9 kB / 1.307 GB, free: 25.61 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.3721, allocations: 87.94 kB / 1.307 GB, free: 25.53 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.3738, allocations: 0.9427 MB / 1.308 GB, free: 24.54 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.3738, allocations: 3.938 kB / 1.308 GB, free: 24.54 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.943e-05/0.3739, allocations: 36 kB / 1.308 GB, free: 24.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.3739, allocations: 20 kB / 1.308 GB, free: 24.48 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.3758, allocations: 0.8079 MB / 1.309 GB, free: 23.67 MB / 0.823 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.005398/0.3813, allocations: 4.761 MB / 1.314 GB, free: 18.56 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.3827, allocations: 0.5628 MB / 1.314 GB, free: 17.99 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000543/0.3833, allocations: 272.6 kB / 1.314 GB, free: 17.72 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009761/0.3842, allocations: 1.369 MB / 1.316 GB, free: 16.05 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.3843, allocations: 30.56 kB / 1.316 GB, free: 16.02 MB / 0.823 GB Notification: Performance of pre-optimization done (n=43): time 2.805e-06/0.3843, allocations: 4 kB / 1.316 GB, free: 16.01 MB / 0.823 GB Notification: Performance of matching and sorting (n=43): time 0.007678/0.392, allocations: 1.822 MB / 1.318 GB, free: 14.16 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.392, allocations: 55.41 kB / 1.318 GB, free: 14.09 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.3936, allocations: 1.051 MB / 1.319 GB, free: 13.03 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.931e-05/0.3937, allocations: 33.7 kB / 1.319 GB, free: 12.99 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.394, allocations: 0.5234 MB / 1.319 GB, free: 12.46 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.3941, allocations: 153.8 kB / 1.319 GB, free: 12.31 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.3943, allocations: 126.1 kB / 1.319 GB, free: 12.18 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.3e-05/0.3944, allocations: 330 kB / 1.32 GB, free: 11.85 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006918/0.3951, allocations: 270.9 kB / 1.32 GB, free: 11.58 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008015/0.3959, allocations: 482.1 kB / 1.321 GB, free: 11.03 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.3972, allocations: 0.6361 MB / 1.321 GB, free: 10.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3972, allocations: 4 kB / 1.321 GB, free: 10.33 MB / 0.823 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002258/0.3995, allocations: 0.922 MB / 1.322 GB, free: 9.398 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3995, allocations: 8.062 kB / 1.322 GB, free: 9.391 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3995, allocations: 4 kB / 1.322 GB, free: 9.387 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.4007, allocations: 312.6 kB / 1.322 GB, free: 9.078 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.4011, allocations: 107.8 kB / 1.322 GB, free: 8.973 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.4024, allocations: 0.9177 MB / 1.323 GB, free: 8.031 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.4036, allocations: 171.4 kB / 1.324 GB, free: 7.863 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.4037, allocations: 27.94 kB / 1.324 GB, free: 7.836 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009431/0.4046, allocations: 485.1 kB / 1.324 GB, free: 7.355 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007645/0.4054, allocations: 480.9 kB / 1.324 GB, free: 6.809 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001212/0.4066, allocations: 0.62 MB / 1.325 GB, free: 6.133 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.4066, allocations: 3.938 kB / 1.325 GB, free: 6.129 MB / 0.823 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002156/0.4088, allocations: 0.9179 MB / 1.326 GB, free: 5.199 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.4088, allocations: 9.094 kB / 1.326 GB, free: 5.191 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.4088, allocations: 4 kB / 1.326 GB, free: 5.188 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.4098, allocations: 309 kB / 1.326 GB, free: 4.883 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.4103, allocations: 115.8 kB / 1.326 GB, free: 4.77 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.4115, allocations: 0.9098 MB / 1.327 GB, free: 3.836 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.4126, allocations: 147.6 kB / 1.327 GB, free: 3.691 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.4127, allocations: 31.92 kB / 1.327 GB, free: 3.66 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.4129, allocations: 214.6 kB / 1.328 GB, free: 3.445 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.4131, allocations: 106.7 kB / 1.328 GB, free: 3.34 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003349/0.4165, allocations: 1.07 MB / 1.329 GB, free: 2.254 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.4165, allocations: 11.94 kB / 1.329 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4165, allocations: 0 / 1.329 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4165, allocations: 3.984 kB / 1.329 GB, free: 2.238 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004393/0.4209, allocations: 2.075 MB / 1.331 GB, free: 84 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4209, allocations: 4 kB / 1.331 GB, free: 80 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.4211, allocations: 51.91 kB / 1.331 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.4222, allocations: 300.9 kB / 1.331 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.4223, allocations: 19.98 kB / 1.331 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.4237, allocations: 0.9511 MB / 1.332 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4238, allocations: 0 / 1.332 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004491/0.4283, allocations: 2.163 MB / 1.334 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.4287, allocations: 255.6 kB / 1.334 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.4289, allocations: 12 kB / 1.335 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/0.4297, allocations: 91.89 kB / 1.335 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/0.4298, allocations: 35.89 kB / 1.335 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.666e-05/0.4299, allocations: 20 kB / 1.335 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001103/0.431, allocations: 0.7389 MB / 1.335 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.422e-06/0.431, allocations: 0 / 1.335 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00169/0.4327, allocations: 0.5925 MB / 1.336 GB, free: 10.71 MB / 0.8386 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000893/0.4336, allocations: 406.6 kB / 1.336 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002791/0.4364, allocations: 1.008 MB / 1.337 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4364, allocations: 0 / 1.337 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007693/0.4372, allocations: 321.8 kB / 1.338 GB, free: 9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/0.4397, allocations: 0.4911 MB / 1.338 GB, free: 8.512 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.4436, allocations: 2.515 MB / 1.341 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006654/0.4443, allocations: 1.081 MB / 1.342 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008795/0.4452, allocations: 210.3 kB / 1.342 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.4454, allocations: 83.36 kB / 1.342 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/0.4454, allocations: 0 / 1.342 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of Templates: time 0.03933/0.4847, allocations: 24.62 MB / 1.366 GB, free: 12.15 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)