Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.567/1.567, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 193.2 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.4 MB / 0.5777 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007848/0.0007849, allocations: 89.8 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 11.5 kB / 0.7964 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2666, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04224/0.3089, allocations: 56.55 MB / 0.9555 GB, free: 7.629 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0149/0.3239, allocations: 11.1 MB / 0.9664 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.3265, allocations: 47.69 kB / 0.9664 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.3287, allocations: 460.8 kB / 0.9668 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006606/0.3353, allocations: 1.515 MB / 0.9683 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003615/0.339, allocations: 0.8812 MB / 0.9692 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005724/0.3447, allocations: 3.378 MB / 0.9725 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.3465, allocations: 0.7937 MB / 0.9733 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/0.3495, allocations: 1.042 MB / 0.9743 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.3513, allocations: 0.8011 MB / 0.9751 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.3515, allocations: 44 kB / 0.9751 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.3545, allocations: 1.103 MB / 0.9762 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.3548, allocations: 207 kB / 0.9764 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005395/0.3553, allocations: 285 kB / 0.9766 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.3577, allocations: 1.637 MB / 0.9782 GB, free: 280 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.3577, allocations: 0 / 0.9782 GB, free: 280 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.985e-06/0.3578, allocations: 3.938 kB / 0.9783 GB, free: 276 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.3578, allocations: 4 kB / 0.9783 GB, free: 272 kB / 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.003039/0.3608, allocations: 1.508 MB / 0.9797 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3609, allocations: 8.031 kB / 0.9797 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.3611, allocations: 122.7 kB / 0.9799 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.3628, allocations: 394 kB / 0.9802 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/0.365, allocations: 1.078 MB / 0.9813 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/0.3654, allocations: 129.9 kB / 0.9814 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.3655, allocations: 87.94 kB / 0.9815 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.3675, allocations: 0.9605 MB / 0.9824 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.3675, allocations: 0 / 0.9824 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.041e-05/0.3676, allocations: 36 kB / 0.9825 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.3677, allocations: 23.95 kB / 0.9825 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.3698, allocations: 0.8548 MB / 0.9833 GB, free: 10.91 MB / 0.6355 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.006718/0.3766, allocations: 4.543 MB / 0.9878 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.3782, allocations: 0.6415 MB / 0.9884 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000654/0.3789, allocations: 301 kB / 0.9887 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.3803, allocations: 1.396 MB / 0.99 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3804, allocations: 39 kB / 0.9901 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 3.196e-06/0.3804, allocations: 3.938 kB / 0.9901 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.007641/0.388, allocations: 1.897 MB / 0.9919 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.3881, allocations: 59.84 kB / 0.992 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.3899, allocations: 1.047 MB / 0.993 GB, free: 320 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.39, allocations: 41.69 kB / 0.993 GB, free: 272 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/0.3905, allocations: 0.5236 MB / 0.9936 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.3906, allocations: 161.6 kB / 0.9937 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.3907, allocations: 8 kB / 0.9937 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3908, allocations: 334 kB / 0.994 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00079/0.3916, allocations: 288.9 kB / 0.9943 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008912/0.3925, allocations: 0.4923 MB / 0.9948 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008263/0.3934, allocations: 344.6 kB / 0.9951 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.3934, allocations: 4 kB / 0.9951 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003569/0.3969, allocations: 1.167 MB / 0.9963 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.3971, allocations: 188.2 kB / 0.9964 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3971, allocations: 8 kB / 0.9965 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.3985, allocations: 340.4 kB / 0.9968 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.399, allocations: 115.9 kB / 0.9969 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.4007, allocations: 0.9412 MB / 0.9978 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.4022, allocations: 179.3 kB / 0.998 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.4023, allocations: 31.98 kB / 0.998 GB, free: 11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.4023, allocations: 4 kB / 0.998 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003374/0.4057, allocations: 1.03 MB / 0.999 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.4058, allocations: 4 kB / 0.999 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.407, allocations: 324.9 kB / 0.9993 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/0.4075, allocations: 123.8 kB / 0.9994 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.409, allocations: 0.9347 MB / 1 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.4105, allocations: 159.3 kB / 1.001 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.126e-05/0.4106, allocations: 31.98 kB / 1.001 GB, free: 8.371 MB / 0.6511 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.0007367/0.4113, allocations: 349 kB / 1.001 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/0.4117, allocations: 118.5 kB / 1.001 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003994/0.4157, allocations: 1.201 MB / 1.002 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.4157, allocations: 8 kB / 1.002 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.4157, allocations: 0 / 1.002 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.4157, allocations: 7.922 kB / 1.002 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005682/0.4214, allocations: 2.208 MB / 1.004 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.4215, allocations: 0 / 1.004 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.4217, allocations: 67.89 kB / 1.004 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.4228, allocations: 320.9 kB / 1.005 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.4229, allocations: 23.94 kB / 1.005 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.4244, allocations: 0.9674 MB / 1.006 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.4244, allocations: 4.031 kB / 1.006 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003675/0.4281, allocations: 1.235 MB / 1.007 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007522/0.4289, allocations: 287.4 kB / 1.007 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/0.4292, allocations: 15.98 kB / 1.007 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.4303, allocations: 103.8 kB / 1.007 GB, free: 1.273 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.4305, allocations: 35.89 kB / 1.007 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-05/0.4305, allocations: 27.98 kB / 1.007 GB, free: 1.211 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001584/0.4321, allocations: 0.7313 MB / 1.008 GB, free: 484 kB / 0.6511 GB Notification: Performance of sort global known variables: time 4.3e-07/0.4322, allocations: 0 / 1.008 GB, free: 484 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002089/0.4343, allocations: 0.5654 MB / 1.009 GB, free: 15.9 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.004774/0.439, allocations: 2.063 MB / 1.011 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003072/0.4421, allocations: 1.1 MB / 1.012 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.4422, allocations: 4 kB / 1.012 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000867/0.443, allocations: 349.7 kB / 1.012 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/0.4463, allocations: 0.5202 MB / 1.013 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.4622, allocations: 6.526 MB / 1.019 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.4633, allocations: 1.066 MB / 1.02 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00138/0.4647, allocations: 235.7 kB / 1.02 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006585/0.4654, allocations: 411.3 kB / 1.021 GB, free: 3.273 MB / 0.6667 GB Notification: Performance of SimCode: time 1.563e-06/0.4654, allocations: 0 / 1.021 GB, free: 3.273 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06648/0.5319, allocations: 34.11 MB / 1.054 GB, free: 1.562 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.5322, allocations: 287.3 kB / 1.054 GB, free: 1.199 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.169/3.701, allocations: 0 / 1.054 GB, free: 1.199 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)