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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001148/0.001148, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008018/0.008018, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.478/2.478, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003013, allocations: 8.531 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2368, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05039/0.2872, allocations: 59.79 MB / 1.117 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0142/0.3015, allocations: 11.92 MB / 1.129 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.3029, allocations: 51.62 kB / 1.129 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.3044, allocations: 0.536 MB / 1.129 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004173/0.3086, allocations: 1.823 MB / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.311, allocations: 1.067 MB / 1.132 GB, free: 9.445 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00399/0.315, allocations: 3.9 MB / 1.136 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.3163, allocations: 0.91 MB / 1.137 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.3184, allocations: 1.124 MB / 1.138 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.3197, allocations: 0.8553 MB / 1.139 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.3198, allocations: 40 kB / 1.139 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.3222, allocations: 1.349 MB / 1.14 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.3224, allocations: 210.8 kB / 1.14 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006655/0.3231, allocations: 0.6311 MB / 1.141 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002315/0.3254, allocations: 2.204 MB / 1.143 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3254, allocations: 3.938 kB / 1.143 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3254, allocations: 0 / 1.143 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.3254, allocations: 4 kB / 1.143 GB, free: 14.15 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.002267/0.3277, allocations: 1.49 MB / 1.145 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3278, allocations: 11.97 kB / 1.145 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.3279, allocations: 122.9 kB / 1.145 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.3295, allocations: 387 kB / 1.145 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.3312, allocations: 1.12 MB / 1.146 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/0.3316, allocations: 133.9 kB / 1.146 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.3317, allocations: 76 kB / 1.146 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.3334, allocations: 0.9739 MB / 1.147 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3335, allocations: 0 / 1.147 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.241e-05/0.3335, allocations: 32 kB / 1.147 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.3336, allocations: 20 kB / 1.147 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.3355, allocations: 0.8548 MB / 1.148 GB, free: 8.777 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.005257/0.3408, allocations: 4.796 MB / 1.153 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.3423, allocations: 0.601 MB / 1.154 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005948/0.3429, allocations: 278.1 kB / 1.154 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.3441, allocations: 1.404 MB / 1.155 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3442, allocations: 38.5 kB / 1.155 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.644e-06/0.3442, allocations: 0 / 1.155 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.00808/0.3523, allocations: 2.051 MB / 1.157 GB, free: 14.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.3523, allocations: 55.41 kB / 1.157 GB, free: 14.84 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.3537, allocations: 1.055 MB / 1.158 GB, free: 13.77 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.3537, allocations: 41.64 kB / 1.158 GB, free: 13.72 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.3541, allocations: 0.5196 MB / 1.159 GB, free: 13.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.3542, allocations: 145.8 kB / 1.159 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.3543, allocations: 53.69 kB / 1.159 GB, free: 13 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.3544, allocations: 326 kB / 1.159 GB, free: 12.67 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007382/0.3551, allocations: 284.9 kB / 1.16 GB, free: 12.39 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008811/0.356, allocations: 0.4981 MB / 1.16 GB, free: 11.81 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.3574, allocations: 0.6585 MB / 1.161 GB, free: 11.1 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3574, allocations: 0 / 1.161 GB, free: 11.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002248/0.3597, allocations: 0.9805 MB / 1.162 GB, free: 10.11 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.3598, allocations: 208.4 kB / 1.162 GB, free: 9.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.3598, allocations: 7.938 kB / 1.162 GB, free: 9.836 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.361, allocations: 343.7 kB / 1.162 GB, free: 9.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.3615, allocations: 111.8 kB / 1.162 GB, free: 9.391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.3629, allocations: 0.9426 MB / 1.163 GB, free: 8.422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.364, allocations: 171.3 kB / 1.163 GB, free: 8.254 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/0.3641, allocations: 31.98 kB / 1.163 GB, free: 8.223 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.3641, allocations: 4 kB / 1.163 GB, free: 8.219 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002061/0.3661, allocations: 0.8396 MB / 1.164 GB, free: 7.375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3662, allocations: 11.92 kB / 1.164 GB, free: 7.363 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.3672, allocations: 329 kB / 1.165 GB, free: 7.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.3676, allocations: 111.8 kB / 1.165 GB, free: 6.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.3689, allocations: 0.9373 MB / 1.166 GB, free: 5.969 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009305/0.3699, allocations: 155.4 kB / 1.166 GB, free: 5.816 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.3699, allocations: 31.98 kB / 1.166 GB, free: 5.785 MB / 0.92 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.0003939/0.3703, allocations: 352.9 kB / 1.166 GB, free: 5.43 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.3705, allocations: 110.7 kB / 1.166 GB, free: 5.32 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003561/0.374, allocations: 1.155 MB / 1.167 GB, free: 4.156 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.3741, allocations: 7.984 kB / 1.167 GB, free: 4.148 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3741, allocations: 0 / 1.167 GB, free: 4.148 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3741, allocations: 0 / 1.167 GB, free: 4.148 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004501/0.3786, allocations: 2.157 MB / 1.169 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.3786, allocations: 7.938 kB / 1.169 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.3788, allocations: 60.19 kB / 1.17 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000955/0.3798, allocations: 322.3 kB / 1.17 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.3798, allocations: 16 kB / 1.17 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.3812, allocations: 0.9853 MB / 1.171 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3812, allocations: 4 kB / 1.171 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003263/0.3845, allocations: 1.195 MB / 1.172 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.3848, allocations: 275.5 kB / 1.172 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.385, allocations: 12 kB / 1.172 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/0.3858, allocations: 103.8 kB / 1.172 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.3859, allocations: 43.83 kB / 1.172 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.3859, allocations: 23.98 kB / 1.172 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009953/0.3869, allocations: 0.7467 MB / 1.173 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3869, allocations: 0 / 1.173 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00128/0.3882, allocations: 0.5769 MB / 1.174 GB, free: 13.45 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.004065/0.3923, allocations: 2.013 MB / 1.176 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002494/0.3948, allocations: 1.055 MB / 1.177 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3948, allocations: 4.125 kB / 1.177 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007259/0.3955, allocations: 329.1 kB / 1.177 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/0.3981, allocations: 0.5074 MB / 1.178 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/0.4127, allocations: 8.721 MB / 1.186 GB, free: 364 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.4133, allocations: 1.062 MB / 1.187 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008287/0.4141, allocations: 215 kB / 1.187 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/0.4146, allocations: 407.3 kB / 1.188 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of SimCode: time 7.12e-07/0.4146, allocations: 0 / 1.188 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.078/3.492, allocations: 32.32 MB / 1.219 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/3.492, allocations: 295.8 kB / 1.22 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.112/6.605, allocations: 0 / 1.22 GB, free: 14.49 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)