Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_y_etaCar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",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.494/1.494, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.001653/0.001653, allocations: 182.3 kB / 325.8 MB, free: 2.699 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.76/1.76, allocations: 205 MB / 0.576 GB, free: 20.95 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.0008151/0.0008152, allocations: 85.53 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 15.09 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2217, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06002/0.2817, allocations: 74.45 MB / 0.9689 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02082/0.3026, allocations: 15.06 MB / 0.9836 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.3056, allocations: 59.62 kB / 0.9837 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.3081, allocations: 0.6721 MB / 0.9843 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00754/0.3157, allocations: 2.364 MB / 0.9866 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004043/0.3197, allocations: 1.248 MB / 0.9878 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007322/0.327, allocations: 5.504 MB / 0.9932 GB, free: 448 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.3297, allocations: 1.136 MB / 0.9943 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003665/0.3334, allocations: 1.345 MB / 0.9956 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002562/0.3359, allocations: 1.155 MB / 0.9968 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0005144/0.3365, allocations: 56 kB / 0.9968 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00377/0.3403, allocations: 1.236 MB / 0.998 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0006371/0.3409, allocations: 282.6 kB / 0.9983 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001959/0.3429, allocations: 0.7771 MB / 0.9991 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005397/0.3483, allocations: 2.698 MB / 1.002 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3484, allocations: 0 / 1.002 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3484, allocations: 0 / 1.002 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.871e-05/0.3485, allocations: 4 kB / 1.002 GB, free: 7.695 MB / 0.6511 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.004401/0.3529, allocations: 1.776 MB / 1.003 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.353, allocations: 8.031 kB / 1.003 GB, free: 5.844 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003207/0.3533, allocations: 152.1 kB / 1.004 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008732/0.3542, allocations: 238.8 kB / 1.004 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.3568, allocations: 1.485 MB / 1.005 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/0.3569, allocations: 74 kB / 1.005 GB, free: 3.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.3571, allocations: 100 kB / 1.005 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.3591, allocations: 1.116 MB / 1.007 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.3592, allocations: 0 / 1.007 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.024e-05/0.3592, allocations: 43.98 kB / 1.007 GB, free: 2.551 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.3593, allocations: 24 kB / 1.007 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.3612, allocations: 0.9329 MB / 1.007 GB, free: 1.59 MB / 0.6511 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.006357/0.3676, allocations: 4.903 MB / 1.012 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.3692, allocations: 0.6552 MB / 1.013 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007239/0.3699, allocations: 366.3 kB / 1.013 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007236/0.3707, allocations: 0.8277 MB / 1.014 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.3707, allocations: 43.05 kB / 1.014 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=61): time 4.148e-06/0.3707, allocations: 4 kB / 1.014 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=61): time 0.007267/0.378, allocations: 1.896 MB / 1.016 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3781, allocations: 63.95 kB / 1.016 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.3801, allocations: 1.198 MB / 1.017 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.3803, allocations: 45.7 kB / 1.017 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005887/0.3809, allocations: 0.5987 MB / 1.018 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.3811, allocations: 220.8 kB / 1.018 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.3813, allocations: 61.67 kB / 1.018 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3814, allocations: 341.9 kB / 1.018 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007145/0.3821, allocations: 305.8 kB / 1.019 GB, free: 5.508 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009192/0.3831, allocations: 0.5085 MB / 1.019 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.3847, allocations: 0.7558 MB / 1.02 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.3847, allocations: 0 / 1.02 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004965/0.3897, allocations: 1.406 MB / 1.021 GB, free: 2.699 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.3898, allocations: 198.1 kB / 1.022 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3899, allocations: 4 kB / 1.022 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006272/0.3905, allocations: 140.8 kB / 1.022 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.3912, allocations: 171.8 kB / 1.022 GB, free: 2.141 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009368/0.3921, allocations: 0.72 MB / 1.023 GB, free: 1.395 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.3936, allocations: 167 kB / 1.023 GB, free: 1.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/0.3937, allocations: 35.98 kB / 1.023 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3937, allocations: 4 kB / 1.023 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00453/0.3982, allocations: 1.253 MB / 1.024 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3983, allocations: 4 kB / 1.024 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005107/0.3988, allocations: 145 kB / 1.024 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.3994, allocations: 163.8 kB / 1.024 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008913/0.4003, allocations: 0.7242 MB / 1.025 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.4017, allocations: 167.8 kB / 1.025 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-05/0.4018, allocations: 31.98 kB / 1.025 GB, free: 14.68 MB / 0.6823 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0008175/0.4026, allocations: 416.8 kB / 1.026 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/0.4031, allocations: 142.2 kB / 1.026 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004831/0.4079, allocations: 1.396 MB / 1.027 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.408, allocations: 4 kB / 1.027 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.408, allocations: 0 / 1.027 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004109/0.4121, allocations: 1.244 MB / 1.028 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007531/0.4196, allocations: 2.739 MB / 1.031 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.4197, allocations: 4 kB / 1.031 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.4202, allocations: 119.9 kB / 1.031 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005131/0.4207, allocations: 141 kB / 1.031 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.4208, allocations: 19.98 kB / 1.031 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00515/0.426, allocations: 2.482 MB / 1.034 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.847e-05/0.426, allocations: 4 kB / 1.034 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005967/0.432, allocations: 1.848 MB / 1.035 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007997/0.4328, allocations: 307.1 kB / 1.036 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003846/0.4332, allocations: 16 kB / 1.036 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.4344, allocations: 96.09 kB / 1.036 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.4346, allocations: 60.23 kB / 1.036 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/0.4346, allocations: 27.98 kB / 1.036 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001645/0.4363, allocations: 0.866 MB / 1.037 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4363, allocations: 96 / 1.037 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002424/0.4387, allocations: 0.7134 MB / 1.037 GB, free: 1.641 MB / 0.6823 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006733/0.4455, allocations: 2.736 MB / 1.04 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002804/0.4483, allocations: 1.172 MB / 1.041 GB, free: 13.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.4483, allocations: 0 / 1.041 GB, free: 13.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.4499, allocations: 0.5995 MB / 1.042 GB, free: 13.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004649/0.4546, allocations: 0.801 MB / 1.043 GB, free: 12.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0275/0.4821, allocations: 11.12 MB / 1.054 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3757/0.8579, allocations: 1.165 MB / 1.055 GB, free: 150.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001511/0.8595, allocations: 307.2 kB / 1.055 GB, free: 150.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/0.8602, allocations: 0.5185 MB / 1.055 GB, free: 150.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.844e-06/0.8602, allocations: 0 / 1.055 GB, free: 150.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07215/0.9323, allocations: 42.6 MB / 1.097 GB, free: 127.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.9325, allocations: 277.3 kB / 1.097 GB, free: 127.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.498/4.43, allocations: 0 / 1.097 GB, free: 127.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)