Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") 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.332 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.002373/0.002372, allocations: 360.4 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.957/3.957, allocations: 410.7 MB / 1.112 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001759/0.001759, allocations: 188.3 kB / 1.225 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.000496, allocations: 12 kB / 1.348 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.596/0.5965, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.07062/0.6671, allocations: 56.53 MB / 1.516 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01521/0.6824, allocations: 10.97 MB / 1.527 GB, free: 216.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/0.6845, allocations: 51.62 kB / 1.527 GB, free: 216.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.6862, allocations: 0.5847 MB / 1.527 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.006403/0.6927, allocations: 1.967 MB / 1.529 GB, free: 214.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004625/0.6973, allocations: 1.322 MB / 1.53 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004137/0.7015, allocations: 3.408 MB / 1.534 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.7029, allocations: 0.809 MB / 1.535 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.7049, allocations: 1.011 MB / 1.536 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.7061, allocations: 0.8104 MB / 1.536 GB, free: 207 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.7063, allocations: 48 kB / 1.536 GB, free: 207 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.7087, allocations: 0.9235 MB / 1.537 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002543/0.709, allocations: 206.9 kB / 1.538 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.7094, allocations: 281.1 kB / 1.538 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.7115, allocations: 1.605 MB / 1.539 GB, free: 204 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.178e-06/0.7115, allocations: 0 / 1.539 GB, free: 204 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7115, allocations: 0 / 1.539 GB, free: 204 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.7116, allocations: 0 / 1.539 GB, free: 204 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002846/0.7144, allocations: 1.501 MB / 1.541 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.7145, allocations: 12.16 kB / 1.541 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.7173, allocations: 0.5096 MB / 1.541 GB, free: 201.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.7198, allocations: 1.109 MB / 1.542 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003831/0.7203, allocations: 129.9 kB / 1.543 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.7204, allocations: 86.44 kB / 1.543 GB, free: 200.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.7229, allocations: 1.025 MB / 1.544 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.723, allocations: 4 kB / 1.544 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.7231, allocations: 31.98 kB / 1.544 GB, free: 199.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.7231, allocations: 24 kB / 1.544 GB, free: 199.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003155/0.7263, allocations: 1.003 MB / 1.545 GB, free: 198.4 MB / 0.8542 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.006762/0.7331, allocations: 4.708 MB / 1.549 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00464/0.7378, allocations: 1.119 MB / 1.55 GB, free: 192.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.7392, allocations: 437.9 kB / 1.551 GB, free: 191.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008545/0.74, allocations: 1.041 MB / 1.552 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.7401, allocations: 39 kB / 1.552 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=53): time 3.436e-06/0.7401, allocations: 0 / 1.552 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=53): time 0.01108/0.7512, allocations: 2.482 MB / 1.554 GB, free: 188 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.7513, allocations: 71.83 kB / 1.554 GB, free: 187.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.7527, allocations: 0.9199 MB / 1.555 GB, free: 187 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.7529, allocations: 37.7 kB / 1.555 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/0.7533, allocations: 0.5079 MB / 1.556 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.7535, allocations: 185.3 kB / 1.556 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.7535, allocations: 8 kB / 1.556 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.7536, allocations: 330 kB / 1.556 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.7549, allocations: 376.9 kB / 1.557 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.7563, allocations: 0.5473 MB / 1.557 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.7577, allocations: 398 kB / 1.558 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.85e-06/0.7577, allocations: 8 kB / 1.558 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003623/0.7613, allocations: 1.123 MB / 1.559 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.901e-05/0.7615, allocations: 164.4 kB / 1.559 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.7615, allocations: 4 kB / 1.559 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.763, allocations: 337.6 kB / 1.559 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008218/0.7639, allocations: 143.8 kB / 1.559 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.7656, allocations: 0.9462 MB / 1.56 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.7671, allocations: 168.9 kB / 1.56 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.7672, allocations: 35.98 kB / 1.56 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.7672, allocations: 7.594 kB / 1.56 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003214/0.7704, allocations: 1.002 MB / 1.561 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.643e-06/0.7705, allocations: 0 / 1.561 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.7718, allocations: 321.2 kB / 1.562 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008141/0.7727, allocations: 139.8 kB / 1.562 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.7743, allocations: 0.9309 MB / 1.563 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.7758, allocations: 171.4 kB / 1.563 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-05/0.7759, allocations: 27.98 kB / 1.563 GB, free: 178.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0005792/0.7765, allocations: 349 kB / 1.563 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.7767, allocations: 106.7 kB / 1.563 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005129/0.7818, allocations: 1.448 MB / 1.565 GB, free: 177 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.7819, allocations: 13.11 kB / 1.565 GB, free: 177 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.06e-06/0.7819, allocations: 0 / 1.565 GB, free: 177 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.7819, allocations: 3.984 kB / 1.565 GB, free: 177 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006698/0.7886, allocations: 2.53 MB / 1.567 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.7887, allocations: 4 kB / 1.567 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007001/0.7894, allocations: 116 kB / 1.567 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.7907, allocations: 329.5 kB / 1.568 GB, free: 174 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.379e-05/0.7907, allocations: 23.94 kB / 1.568 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.7924, allocations: 0.962 MB / 1.569 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.054e-06/0.7924, allocations: 7.969 kB / 1.569 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/0.7972, allocations: 1.448 MB / 1.57 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006092/0.7979, allocations: 291.4 kB / 1.57 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.7981, allocations: 12 kB / 1.57 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.7993, allocations: 127.9 kB / 1.57 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.7994, allocations: 36.34 kB / 1.57 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.847e-05/0.7995, allocations: 23.98 kB / 1.57 GB, free: 171 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001011/0.8005, allocations: 0.6519 MB / 1.571 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.54e-07/0.8005, allocations: 0 / 1.571 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001621/0.8022, allocations: 0.573 MB / 1.572 GB, free: 169.7 MB / 0.8542 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007194/0.8029, allocations: 367.8 kB / 1.572 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004377/0.8073, allocations: 1.389 MB / 1.573 GB, free: 168 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.828e-06/0.8073, allocations: 0 / 1.573 GB, free: 168 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.8088, allocations: 496.8 kB / 1.574 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/0.8118, allocations: 0.5043 MB / 1.574 GB, free: 167 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.8161, allocations: 2.338 MB / 1.577 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/0.8167, allocations: 1.086 MB / 1.578 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001387/0.8181, allocations: 240.5 kB / 1.578 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.8184, allocations: 75.42 kB / 1.578 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.611e-06/0.8184, allocations: 0 / 1.578 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.04611/0.8645, allocations: 23.21 MB / 1.601 GB, free: 140.5 MB / 0.8542 GB