Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.673/1.673, allocations: 288.4 MB / 303.6 MB, free: 8.098 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.001015/0.001015, allocations: 168.5 kB / 372.2 MB, free: 10.16 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.383/1.383, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0008245/0.0008245, allocations: 103.1 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003523, allocations: 17.41 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1738, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.0457/0.2195, allocations: 56.55 MB / 1.035 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.2346, allocations: 11.13 MB / 1.046 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.2365, allocations: 51.62 kB / 1.046 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.2383, allocations: 468.9 kB / 1.047 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004757/0.2431, allocations: 1.622 MB / 1.048 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002789/0.2459, allocations: 0.8844 MB / 1.049 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004548/0.2505, allocations: 3.422 MB / 1.053 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.2523, allocations: 0.8864 MB / 1.053 GB, free: 44 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.2549, allocations: 1.1 MB / 1.055 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.2564, allocations: 0.8127 MB / 1.055 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002793/0.2567, allocations: 44 kB / 1.055 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.2597, allocations: 1.29 MB / 1.057 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.2602, allocations: 207 kB / 1.057 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.2615, allocations: 0.6042 MB / 1.057 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002848/0.2643, allocations: 1.711 MB / 1.059 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2644, allocations: 0 / 1.059 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.709e-06/0.2644, allocations: 0 / 1.059 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.437e-05/0.2645, allocations: 7.875 kB / 1.059 GB, free: 10.25 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.003578/0.268, allocations: 1.493 MB / 1.061 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.2681, allocations: 12.03 kB / 1.061 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002751/0.2684, allocations: 126.9 kB / 1.061 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.2702, allocations: 386.7 kB / 1.061 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.2727, allocations: 1.133 MB / 1.062 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003754/0.2731, allocations: 125.9 kB / 1.062 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.2732, allocations: 84 kB / 1.062 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.2755, allocations: 0.9644 MB / 1.063 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.2755, allocations: 0 / 1.063 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-05/0.2756, allocations: 35.94 kB / 1.063 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.2756, allocations: 24 kB / 1.063 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.278, allocations: 0.8587 MB / 1.064 GB, free: 4.855 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.006449/0.2844, allocations: 4.52 MB / 1.069 GB, free: 20 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3627/0.6472, allocations: 0.6269 MB / 1.069 GB, free: 91.11 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008837/0.6481, allocations: 299.4 kB / 1.069 GB, free: 91.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/0.6494, allocations: 1.391 MB / 1.071 GB, free: 89.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.6495, allocations: 38.08 kB / 1.071 GB, free: 89.56 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.898e-06/0.6495, allocations: 3.938 kB / 1.071 GB, free: 89.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008167/0.6577, allocations: 1.912 MB / 1.073 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.6577, allocations: 56.91 kB / 1.073 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.6593, allocations: 1.044 MB / 1.074 GB, free: 88.87 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.264e-05/0.6594, allocations: 38.67 kB / 1.074 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.6598, allocations: 0.5241 MB / 1.074 GB, free: 88.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.6599, allocations: 162.4 kB / 1.075 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.6599, allocations: 11.12 kB / 1.075 GB, free: 88.42 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.66, allocations: 331.1 kB / 1.075 GB, free: 88.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008229/0.6608, allocations: 295.9 kB / 1.075 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009319/0.6617, allocations: 0.489 MB / 1.076 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.6632, allocations: 0.6629 MB / 1.076 GB, free: 87.41 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.6632, allocations: 0.9688 kB / 1.076 GB, free: 87.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003561/0.6668, allocations: 1.166 MB / 1.077 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.817e-05/0.6669, allocations: 193.8 kB / 1.078 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.6669, allocations: 9.75 kB / 1.078 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.6682, allocations: 340.7 kB / 1.078 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.6687, allocations: 121.8 kB / 1.078 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.6701, allocations: 0.9317 MB / 1.079 GB, free: 86.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.6713, allocations: 188.7 kB / 1.079 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.6714, allocations: 31.44 kB / 1.079 GB, free: 86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.6714, allocations: 3.719 kB / 1.079 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003146/0.6746, allocations: 1.03 MB / 1.08 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6746, allocations: 3.25 kB / 1.08 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.6757, allocations: 323.8 kB / 1.08 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.6762, allocations: 126 kB / 1.081 GB, free: 85.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.6776, allocations: 0.929 MB / 1.082 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.6788, allocations: 165.9 kB / 1.082 GB, free: 84.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.6789, allocations: 27.81 kB / 1.082 GB, free: 84.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0004939/0.6794, allocations: 353.5 kB / 1.082 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.6795, allocations: 112.3 kB / 1.082 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.6833, allocations: 1.194 MB / 1.083 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.6834, allocations: 9.938 kB / 1.083 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.6834, allocations: 5.906 kB / 1.083 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.6834, allocations: 2.672 kB / 1.083 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005084/0.6885, allocations: 2.218 MB / 1.085 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.6885, allocations: 2.75 kB / 1.085 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.6888, allocations: 61.89 kB / 1.086 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.6899, allocations: 332 kB / 1.086 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/0.69, allocations: 17.8 kB / 1.086 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.6914, allocations: 0.9708 MB / 1.087 GB, free: 82.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6914, allocations: 6.812 kB / 1.087 GB, free: 82.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/0.695, allocations: 1.241 MB / 1.088 GB, free: 81.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/0.6956, allocations: 279 kB / 1.088 GB, free: 81.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.6957, allocations: 17.22 kB / 1.088 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008436/0.6966, allocations: 103.9 kB / 1.088 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-05/0.6967, allocations: 42.19 kB / 1.088 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/0.6968, allocations: 23.34 kB / 1.088 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001221/0.698, allocations: 0.7359 MB / 1.089 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.11e-07/0.698, allocations: 0 / 1.089 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001585/0.6996, allocations: 0.5731 MB / 1.09 GB, free: 81.2 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.00425/0.7039, allocations: 2.076 MB / 1.092 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003136/0.707, allocations: 1.094 MB / 1.093 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.7071, allocations: 1.312 kB / 1.093 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009084/0.708, allocations: 358.6 kB / 1.093 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/0.7111, allocations: 0.5219 MB / 1.094 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.7264, allocations: 6.517 MB / 1.1 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.727, allocations: 1.065 MB / 1.101 GB, free: 75.45 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001105/0.7281, allocations: 231.2 kB / 1.101 GB, free: 75.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/0.7286, allocations: 416.7 kB / 1.102 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/0.7286, allocations: 1.188 kB / 1.102 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7624/1.491, allocations: 34.93 MB / 1.136 GB, free: 49.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003349/1.491, allocations: 267.9 kB / 1.136 GB, free: 49.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/4.475, allocations: 4.766 kB / 1.136 GB, free: 49.59 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)