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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.001309, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 60.88 kB / 0.8992 GB, free: 36.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.265, allocations: 157.4 MB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05976/0.3248, allocations: 61.25 MB / 1.113 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01595/0.3408, allocations: 11.98 MB / 1.124 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.3431, allocations: 63.62 kB / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.345, allocations: 0.6752 MB / 1.125 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005528/0.3506, allocations: 1.971 MB / 1.127 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.3538, allocations: 1.195 MB / 1.128 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004151/0.358, allocations: 3.082 MB / 1.131 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.3594, allocations: 1.096 MB / 1.132 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.3623, allocations: 1.336 MB / 1.134 GB, free: 5.297 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.3636, allocations: 0.8828 MB / 1.134 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.3638, allocations: 116 kB / 1.135 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.3665, allocations: 1.466 MB / 1.136 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.3668, allocations: 286.9 kB / 1.136 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007789/0.3676, allocations: 0.6997 MB / 1.137 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.3705, allocations: 2.279 MB / 1.139 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3705, allocations: 0 / 1.139 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3705, allocations: 4 kB / 1.139 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.21e-05/0.3706, allocations: 0 / 1.139 GB, free: 15.55 MB / 0.9044 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.002729/0.3733, allocations: 1.734 MB / 1.141 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3733, allocations: 8.625 kB / 1.141 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.3735, allocations: 118.9 kB / 1.141 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.3752, allocations: 351 kB / 1.141 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.377, allocations: 1.093 MB / 1.142 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/0.3774, allocations: 125.8 kB / 1.143 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.3775, allocations: 80 kB / 1.143 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.3793, allocations: 0.9702 MB / 1.144 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.3794, allocations: 11.94 kB / 1.144 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.582e-05/0.3794, allocations: 32 kB / 1.144 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.3795, allocations: 20 kB / 1.144 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.3815, allocations: 0.8079 MB / 1.144 GB, free: 10.03 MB / 0.9044 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.006111/0.3876, allocations: 5.16 MB / 1.149 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.3893, allocations: 0.5789 MB / 1.15 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/0.39, allocations: 268.7 kB / 1.15 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/0.3914, allocations: 1.361 MB / 1.152 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3914, allocations: 46.48 kB / 1.152 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.3914, allocations: 0 / 1.152 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.008299/0.3997, allocations: 1.832 MB / 1.153 GB, free: 72 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3998, allocations: 55.41 kB / 1.153 GB, free: 4 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.4013, allocations: 1.068 MB / 1.155 GB, free: 14.92 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.4014, allocations: 37.7 kB / 1.155 GB, free: 14.88 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000442/0.4018, allocations: 0.5389 MB / 1.155 GB, free: 14.34 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.402, allocations: 149.9 kB / 1.155 GB, free: 14.19 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.4022, allocations: 138.1 kB / 1.155 GB, free: 14.05 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4023, allocations: 326 kB / 1.156 GB, free: 13.72 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008108/0.4032, allocations: 283.3 kB / 1.156 GB, free: 13.44 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.4042, allocations: 0.4978 MB / 1.156 GB, free: 12.84 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.4057, allocations: 0.6714 MB / 1.157 GB, free: 12.11 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4058, allocations: 4 kB / 1.157 GB, free: 12.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002522/0.4083, allocations: 0.9694 MB / 1.158 GB, free: 11.12 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4083, allocations: 5.875 kB / 1.158 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.4083, allocations: 12 kB / 1.158 GB, free: 11.11 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.4096, allocations: 319 kB / 1.158 GB, free: 10.79 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.4101, allocations: 115.9 kB / 1.158 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.4117, allocations: 0.9229 MB / 1.159 GB, free: 9.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.4129, allocations: 139.2 kB / 1.159 GB, free: 9.594 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/0.413, allocations: 31.98 kB / 1.16 GB, free: 9.562 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/0.4141, allocations: 497.2 kB / 1.16 GB, free: 9.074 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009416/0.415, allocations: 0.5056 MB / 1.16 GB, free: 8.473 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001435/0.4165, allocations: 0.6549 MB / 1.161 GB, free: 7.75 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.696e-06/0.4165, allocations: 0 / 1.161 GB, free: 7.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00253/0.419, allocations: 0.9655 MB / 1.162 GB, free: 6.773 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.4191, allocations: 4 kB / 1.162 GB, free: 6.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.4191, allocations: 8 kB / 1.162 GB, free: 6.762 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.4202, allocations: 311.2 kB / 1.162 GB, free: 6.457 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.4207, allocations: 119.8 kB / 1.163 GB, free: 6.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.4222, allocations: 0.9114 MB / 1.163 GB, free: 5.402 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.4234, allocations: 129.4 kB / 1.164 GB, free: 5.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.4234, allocations: 31.98 kB / 1.164 GB, free: 5.246 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0002102/0.4237, allocations: 228 kB / 1.164 GB, free: 5.016 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.4239, allocations: 106.7 kB / 1.164 GB, free: 4.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/0.4277, allocations: 1.07 MB / 1.165 GB, free: 3.828 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.4277, allocations: 11.98 kB / 1.165 GB, free: 3.816 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4277, allocations: 0 / 1.165 GB, free: 3.816 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.4278, allocations: 0 / 1.165 GB, free: 3.816 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004897/0.4327, allocations: 2.068 MB / 1.167 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.4327, allocations: 0 / 1.167 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.4329, allocations: 60.19 kB / 1.167 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/0.4341, allocations: 308.6 kB / 1.167 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.4341, allocations: 11.98 kB / 1.167 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.4357, allocations: 0.9613 MB / 1.168 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4357, allocations: 4 kB / 1.168 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003439/0.4392, allocations: 1.109 MB / 1.169 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/0.4396, allocations: 267.5 kB / 1.17 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.4397, allocations: 8 kB / 1.17 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007804/0.4405, allocations: 67.92 kB / 1.17 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.4406, allocations: 35.89 kB / 1.17 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.4407, allocations: 16 kB / 1.17 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001122/0.4418, allocations: 0.7551 MB / 1.17 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4418, allocations: 0 / 1.17 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001476/0.4433, allocations: 0.5732 MB / 1.171 GB, free: 13.4 MB / 0.9356 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.004358/0.4476, allocations: 1.955 MB / 1.173 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002942/0.4506, allocations: 1.061 MB / 1.174 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.4506, allocations: 4 kB / 1.174 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007704/0.4514, allocations: 318.4 kB / 1.174 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.4536, allocations: 0.5129 MB / 1.175 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.4671, allocations: 8.372 MB / 1.183 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/0.4677, allocations: 1.057 MB / 1.184 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008368/0.4685, allocations: 220 kB / 1.184 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/0.469, allocations: 415.2 kB / 1.185 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.469, allocations: 4 kB / 1.185 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6456/1.115, allocations: 33.61 MB / 1.217 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.87, allocations: 8.062 kB / 1.217 GB, free: 13.85 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)