Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",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.001299/0.001299, 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.001359/0.001359, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.558/2.558, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 65.95 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2635, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06015/0.3237, allocations: 61.29 MB / 1.113 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01604/0.3397, allocations: 12.01 MB / 1.124 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.3415, allocations: 59.62 kB / 1.125 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.3433, allocations: 0.6752 MB / 1.125 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00484/0.3481, allocations: 1.975 MB / 1.127 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.3509, allocations: 1.196 MB / 1.128 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003902/0.3548, allocations: 3.105 MB / 1.131 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/0.3565, allocations: 1.112 MB / 1.132 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002914/0.3594, allocations: 1.329 MB / 1.134 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.3609, allocations: 0.9061 MB / 1.135 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.3611, allocations: 116 kB / 1.135 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/0.3638, allocations: 1.443 MB / 1.136 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.3641, allocations: 290.9 kB / 1.136 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007824/0.3649, allocations: 0.7036 MB / 1.137 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003301/0.3682, allocations: 2.271 MB / 1.139 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3683, allocations: 0 / 1.139 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.597e-06/0.3683, allocations: 0 / 1.139 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.866e-05/0.3683, allocations: 3.938 kB / 1.139 GB, free: 15.49 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002993/0.3713, allocations: 1.75 MB / 1.141 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3713, allocations: 8.625 kB / 1.141 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.3715, allocations: 126.9 kB / 1.141 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.3737, allocations: 410.8 kB / 1.142 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.3758, allocations: 1.113 MB / 1.143 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003726/0.3762, allocations: 121.9 kB / 1.143 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.3763, allocations: 80 kB / 1.143 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.3783, allocations: 1.021 MB / 1.144 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.3784, allocations: 4 kB / 1.144 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-05/0.3785, allocations: 32 kB / 1.144 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.3785, allocations: 20 kB / 1.144 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.3809, allocations: 0.8976 MB / 1.145 GB, free: 9.742 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.006814/0.3877, allocations: 5.286 MB / 1.15 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.3913, allocations: 0.8018 MB / 1.151 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008131/0.3921, allocations: 322.2 kB / 1.151 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006618/0.3928, allocations: 0.9024 MB / 1.152 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3928, allocations: 38.56 kB / 1.152 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.725e-06/0.3928, allocations: 0 / 1.152 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.009109/0.402, allocations: 1.961 MB / 1.154 GB, free: 15.8 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.402, allocations: 59.34 kB / 1.154 GB, free: 15.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.4037, allocations: 1.076 MB / 1.155 GB, free: 14.64 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-05/0.4038, allocations: 41.7 kB / 1.155 GB, free: 14.6 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/0.4042, allocations: 0.539 MB / 1.155 GB, free: 14.05 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.4043, allocations: 157.7 kB / 1.156 GB, free: 13.9 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.4046, allocations: 134.2 kB / 1.156 GB, free: 13.76 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4047, allocations: 330 kB / 1.156 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.4057, allocations: 327.2 kB / 1.156 GB, free: 13.11 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.4069, allocations: 0.5619 MB / 1.157 GB, free: 12.45 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.4088, allocations: 0.7464 MB / 1.158 GB, free: 11.63 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.4088, allocations: 3.938 kB / 1.158 GB, free: 11.62 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003961/0.4128, allocations: 1.207 MB / 1.159 GB, free: 10.41 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4128, allocations: 8 kB / 1.159 GB, free: 10.4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.4128, allocations: 7.938 kB / 1.159 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.4141, allocations: 320.7 kB / 1.159 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.4148, allocations: 135.8 kB / 1.159 GB, free: 9.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.4163, allocations: 0.9097 MB / 1.16 GB, free: 9.008 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.4177, allocations: 171.1 kB / 1.16 GB, free: 8.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-05/0.4178, allocations: 31.98 kB / 1.16 GB, free: 8.809 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001397/0.4192, allocations: 0.53 MB / 1.161 GB, free: 8.277 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001172/0.4204, allocations: 0.5502 MB / 1.161 GB, free: 7.629 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001907/0.4223, allocations: 0.7455 MB / 1.162 GB, free: 6.812 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.572e-06/0.4223, allocations: 4 kB / 1.162 GB, free: 6.809 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003892/0.4262, allocations: 1.18 MB / 1.163 GB, free: 5.617 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4263, allocations: 8 kB / 1.163 GB, free: 5.609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4263, allocations: 4 kB / 1.163 GB, free: 5.605 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.4274, allocations: 308.7 kB / 1.164 GB, free: 5.301 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.428, allocations: 135.7 kB / 1.164 GB, free: 5.168 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.4296, allocations: 0.919 MB / 1.165 GB, free: 4.223 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.4309, allocations: 143.6 kB / 1.165 GB, free: 4.082 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.431, allocations: 39.98 kB / 1.165 GB, free: 4.043 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0002301/0.4312, allocations: 220 kB / 1.165 GB, free: 3.82 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.4315, allocations: 110.6 kB / 1.165 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/0.4356, allocations: 1.138 MB / 1.166 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.4356, allocations: 4 kB / 1.166 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.4357, allocations: 4 kB / 1.166 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.4357, allocations: 3.984 kB / 1.166 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005789/0.4415, allocations: 2.207 MB / 1.168 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.4415, allocations: 4 kB / 1.168 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.4418, allocations: 76.09 kB / 1.169 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.4429, allocations: 302.6 kB / 1.169 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.4429, allocations: 19.98 kB / 1.169 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.4445, allocations: 0.9386 MB / 1.17 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.4445, allocations: 4.031 kB / 1.17 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004016/0.4485, allocations: 1.212 MB / 1.171 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/0.449, allocations: 271.5 kB / 1.171 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.4492, allocations: 12 kB / 1.171 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009598/0.4502, allocations: 75.91 kB / 1.171 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4503, allocations: 47.83 kB / 1.171 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.383e-05/0.4504, allocations: 23.98 kB / 1.171 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001259/0.4516, allocations: 0.7553 MB / 1.172 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4516, allocations: 0 / 1.172 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001661/0.4533, allocations: 0.5654 MB / 1.173 GB, free: 11.87 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 (34): * Single equations (assignments): 29 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004897/0.4582, allocations: 2.041 MB / 1.175 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003704/0.4619, allocations: 1.207 MB / 1.176 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.462, allocations: 3.938 kB / 1.176 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009948/0.463, allocations: 370.6 kB / 1.176 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.4654, allocations: 0.5075 MB / 1.177 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/0.4831, allocations: 9.018 MB / 1.185 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/0.4837, allocations: 1.061 MB / 1.186 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009351/0.4847, allocations: 233.5 kB / 1.187 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/0.4852, allocations: 420.7 kB / 1.187 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of SimCode: time 6.11e-07/0.4852, allocations: 0 / 1.187 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5961/1.081, allocations: 33.76 MB / 1.22 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15.44, allocations: 11.73 kB / 1.22 GB, free: 11.2 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)