Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_y_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",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.001113/0.001113, allocations: 108 kB / 15.61 MB, free: 152 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.001213/0.001213, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.25 kB / 0.8992 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2678, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07985/0.3477, allocations: 75.26 MB / 1.126 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01993/0.3676, allocations: 15.15 MB / 1.141 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.3698, allocations: 63.62 kB / 1.141 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.3721, allocations: 0.8345 MB / 1.142 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006909/0.3791, allocations: 2.6 MB / 1.145 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003493/0.3826, allocations: 1.382 MB / 1.146 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005555/0.3881, allocations: 4.381 MB / 1.15 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.3904, allocations: 1.445 MB / 1.152 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003412/0.3938, allocations: 1.634 MB / 1.153 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.3958, allocations: 1.206 MB / 1.154 GB, free: 40 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004508/0.3963, allocations: 164 kB / 1.155 GB, free: 15.88 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.3994, allocations: 1.419 MB / 1.156 GB, free: 14.46 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005587/0.4, allocations: 398.6 kB / 1.156 GB, free: 14.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.4014, allocations: 0.9099 MB / 1.157 GB, free: 13.15 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004191/0.4056, allocations: 2.851 MB / 1.16 GB, free: 10.29 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4056, allocations: 0 / 1.16 GB, free: 10.29 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4056, allocations: 0 / 1.16 GB, free: 10.29 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.926e-05/0.4057, allocations: 0 / 1.16 GB, free: 10.29 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004389/0.4101, allocations: 2.083 MB / 1.162 GB, free: 8.145 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.4101, allocations: 8.625 kB / 1.162 GB, free: 8.137 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002494/0.4104, allocations: 160.1 kB / 1.162 GB, free: 7.973 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000921/0.4113, allocations: 230.8 kB / 1.162 GB, free: 7.746 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.4139, allocations: 1.454 MB / 1.164 GB, free: 6.234 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/0.414, allocations: 81.98 kB / 1.164 GB, free: 6.156 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.4142, allocations: 104 kB / 1.164 GB, free: 6.055 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.4163, allocations: 1.092 MB / 1.165 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.4163, allocations: 7.922 kB / 1.165 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.413e-05/0.4164, allocations: 44 kB / 1.165 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/0.4165, allocations: 24 kB / 1.165 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.4186, allocations: 0.8939 MB / 1.166 GB, free: 3.961 MB / 0.92 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.006633/0.4253, allocations: 4.95 MB / 1.171 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.4268, allocations: 0.6202 MB / 1.171 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007471/0.4275, allocations: 354.3 kB / 1.172 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006948/0.4282, allocations: 0.8277 MB / 1.173 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.4283, allocations: 43.12 kB / 1.173 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.495e-06/0.4283, allocations: 0 / 1.173 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.005031/0.4333, allocations: 1.401 MB / 1.174 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.4334, allocations: 59.97 kB / 1.174 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.4351, allocations: 1.226 MB / 1.175 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.116e-05/0.4352, allocations: 41.7 kB / 1.175 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/0.4357, allocations: 0.6065 MB / 1.176 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.436, allocations: 212.9 kB / 1.176 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.4362, allocations: 158.5 kB / 1.176 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4363, allocations: 337.9 kB / 1.177 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/0.437, allocations: 288.7 kB / 1.177 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008765/0.4379, allocations: 499.8 kB / 1.177 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.4394, allocations: 0.7121 MB / 1.178 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4394, allocations: 0 / 1.178 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004922/0.4443, allocations: 1.269 MB / 1.179 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4443, allocations: 4 kB / 1.179 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.4444, allocations: 4 kB / 1.179 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000673/0.445, allocations: 165 kB / 1.179 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006073/0.4457, allocations: 151.8 kB / 1.18 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008683/0.4465, allocations: 0.7084 MB / 1.18 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.4476, allocations: 127 kB / 1.18 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.055e-05/0.4476, allocations: 39.92 kB / 1.18 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00106/0.4487, allocations: 0.5488 MB / 1.181 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008509/0.4496, allocations: 0.4919 MB / 1.181 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001417/0.451, allocations: 0.7002 MB / 1.182 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.451, allocations: 4 kB / 1.182 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004746/0.4558, allocations: 1.265 MB / 1.183 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.4558, allocations: 8 kB / 1.183 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4558, allocations: 0 / 1.183 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005688/0.4564, allocations: 153.1 kB / 1.184 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/0.457, allocations: 163.7 kB / 1.184 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008278/0.4578, allocations: 0.7085 MB / 1.184 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009673/0.4588, allocations: 105 kB / 1.184 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/0.4589, allocations: 31.98 kB / 1.184 GB, free: 132 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002316/0.4591, allocations: 228 kB / 1.185 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.4594, allocations: 130.4 kB / 1.185 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/0.464, allocations: 1.268 MB / 1.186 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.464, allocations: 4 kB / 1.186 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.464, allocations: 0 / 1.186 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004206/0.4682, allocations: 1.088 MB / 1.187 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/0.4724, allocations: 2.317 MB / 1.189 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.4725, allocations: 4 kB / 1.189 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.473, allocations: 111.9 kB / 1.19 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005877/0.4736, allocations: 153 kB / 1.19 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/0.4737, allocations: 27.98 kB / 1.19 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009387/0.4746, allocations: 0.6968 MB / 1.19 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.4746, allocations: 7.938 kB / 1.19 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/0.4775, allocations: 1.399 MB / 1.192 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005262/0.478, allocations: 303.2 kB / 1.192 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.4783, allocations: 27.92 kB / 1.192 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008483/0.4791, allocations: 56 kB / 1.192 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.4792, allocations: 56.25 kB / 1.192 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.389e-05/0.4793, allocations: 27.98 kB / 1.192 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001277/0.4806, allocations: 0.8857 MB / 1.193 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4806, allocations: 4 kB / 1.193 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002131/0.4828, allocations: 0.7096 MB / 1.194 GB, free: 6.352 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003989/0.4868, allocations: 2.304 MB / 1.196 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00309/0.4899, allocations: 1.164 MB / 1.197 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4899, allocations: 4 kB / 1.197 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009075/0.4908, allocations: 391.6 kB / 1.198 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003531/0.4943, allocations: 0.8024 MB / 1.198 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/0.5153, allocations: 10.49 MB / 1.209 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009158/0.5162, allocations: 1.18 MB / 1.21 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001206/0.5175, allocations: 304.5 kB / 1.21 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000682/0.5182, allocations: 0.511 MB / 1.21 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of SimCode: time 6.21e-07/0.5182, allocations: 0 / 1.21 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5618/1.08, allocations: 42.2 MB / 1.252 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.9, allocations: 5.188 kB / 1.252 GB, free: 183.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)