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_etaPL.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_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 252 MB / 267.3 MB, free: 10.86 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.001481/0.001481, allocations: 185 kB / 327 MB, free: 2.102 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.961/1.961, allocations: 205.4 MB / 0.578 GB, free: 20.42 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.0007897/0.0007895, allocations: 90 kB / 0.6826 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.000389, allocations: 13.44 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2533, allocations: 106.3 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06056/0.3139, allocations: 73.51 MB / 0.9727 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02207/0.336, allocations: 14.88 MB / 0.9872 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003174/0.3393, allocations: 55.62 kB / 0.9873 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.3419, allocations: 0.6798 MB / 0.9879 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008276/0.3502, allocations: 2.366 MB / 0.9902 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.354, allocations: 1.247 MB / 0.9915 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007586/0.3616, allocations: 5.508 MB / 0.9968 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002375/0.364, allocations: 1.135 MB / 0.998 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003565/0.3676, allocations: 1.353 MB / 0.9993 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.3703, allocations: 1.151 MB / 1 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004649/0.3707, allocations: 56 kB / 1 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004073/0.3748, allocations: 1.263 MB / 1.002 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0006751/0.3755, allocations: 282.6 kB / 1.002 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002021/0.3776, allocations: 0.8022 MB / 1.003 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00579/0.3834, allocations: 2.722 MB / 1.005 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3834, allocations: 3.984 kB / 1.005 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3834, allocations: 0 / 1.005 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000104/0.3835, allocations: 0 / 1.005 GB, free: 4.352 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.005227/0.3888, allocations: 1.791 MB / 1.007 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.3888, allocations: 12.03 kB / 1.007 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004343/0.3893, allocations: 148.1 kB / 1.007 GB, free: 2.332 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.3904, allocations: 238.8 kB / 1.008 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/0.3935, allocations: 1.478 MB / 1.009 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-05/0.3936, allocations: 78 kB / 1.009 GB, free: 500 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.3938, allocations: 107.9 kB / 1.009 GB, free: 392 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.396, allocations: 1.108 MB / 1.01 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.396, allocations: 8 kB / 1.01 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/0.3961, allocations: 40 kB / 1.01 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/0.3962, allocations: 24 kB / 1.01 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.3981, allocations: 0.9368 MB / 1.011 GB, free: 14.23 MB / 0.6667 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.006605/0.4048, allocations: 4.927 MB / 1.016 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.4062, allocations: 0.6435 MB / 1.017 GB, free: 8.359 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007124/0.4069, allocations: 366.3 kB / 1.017 GB, free: 8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006647/0.4076, allocations: 0.8316 MB / 1.018 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.4076, allocations: 35.12 kB / 1.018 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 3.116e-06/0.4076, allocations: 4 kB / 1.018 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.005104/0.4127, allocations: 1.53 MB / 1.019 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.4128, allocations: 59.97 kB / 1.019 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.415, allocations: 1.217 MB / 1.021 GB, free: 4.07 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.815e-05/0.4151, allocations: 37.7 kB / 1.021 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005626/0.4157, allocations: 0.5949 MB / 1.021 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.4159, allocations: 216.8 kB / 1.021 GB, free: 3.211 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.416, allocations: 16 kB / 1.021 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4162, allocations: 337.9 kB / 1.022 GB, free: 2.859 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007057/0.4169, allocations: 305.8 kB / 1.022 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008855/0.4178, allocations: 0.5115 MB / 1.023 GB, free: 1.973 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.4193, allocations: 0.7472 MB / 1.023 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.4193, allocations: 4 kB / 1.023 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00499/0.4243, allocations: 1.398 MB / 1.025 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.4245, allocations: 193 kB / 1.025 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4245, allocations: 0 / 1.025 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007411/0.4253, allocations: 168.7 kB / 1.025 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/0.4259, allocations: 171.8 kB / 1.025 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009408/0.4269, allocations: 0.7202 MB / 1.026 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4283, allocations: 175 kB / 1.026 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/0.4284, allocations: 32 kB / 1.026 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.4284, allocations: 7.938 kB / 1.026 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004547/0.433, allocations: 1.25 MB / 1.027 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.433, allocations: 4.062 kB / 1.027 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/0.4336, allocations: 164.7 kB / 1.027 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006087/0.4343, allocations: 163.8 kB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009328/0.4352, allocations: 0.728 MB / 1.028 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.4368, allocations: 171.8 kB / 1.028 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.963e-05/0.4369, allocations: 35.98 kB / 1.029 GB, free: 11.7 MB / 0.6823 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.000863/0.4378, allocations: 414.4 kB / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004179/0.4382, allocations: 142.4 kB / 1.029 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005137/0.4433, allocations: 1.4 MB / 1.03 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.855e-05/0.4434, allocations: 4 kB / 1.03 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.4434, allocations: 0 / 1.03 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004597/0.448, allocations: 1.221 MB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005791/0.4539, allocations: 2.352 MB / 1.034 GB, free: 6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.454, allocations: 4 kB / 1.034 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/0.4546, allocations: 119.8 kB / 1.034 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007172/0.4553, allocations: 157 kB / 1.034 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.023e-05/0.4554, allocations: 23.92 kB / 1.034 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.4565, allocations: 0.7177 MB / 1.035 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/0.4565, allocations: 7.938 kB / 1.035 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003287/0.4598, allocations: 1.458 MB / 1.036 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009808/0.4608, allocations: 335 kB / 1.037 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004396/0.4613, allocations: 19.98 kB / 1.037 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.4625, allocations: 91.91 kB / 1.037 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.4627, allocations: 56.25 kB / 1.037 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.945e-05/0.4628, allocations: 35.98 kB / 1.037 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001921/0.4647, allocations: 0.866 MB / 1.038 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4647, allocations: 0 / 1.038 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00279/0.4675, allocations: 0.7018 MB / 1.038 GB, free: 1.301 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004714/0.4722, allocations: 2.348 MB / 1.041 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003011/0.4753, allocations: 1.176 MB / 1.042 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.4753, allocations: 4 kB / 1.042 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.4764, allocations: 415.2 kB / 1.042 GB, free: 13.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005092/0.4815, allocations: 0.7947 MB / 1.043 GB, free: 12.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02899/0.5105, allocations: 11.17 MB / 1.054 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4285/0.9391, allocations: 1.169 MB / 1.055 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001726/0.9409, allocations: 302 kB / 1.055 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008122/0.9417, allocations: 0.5186 MB / 1.056 GB, free: 147.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/0.9417, allocations: 3.938 kB / 1.056 GB, free: 147.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08814/1.03, allocations: 42.49 MB / 1.097 GB, free: 124.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/1.03, allocations: 286.7 kB / 1.098 GB, free: 124.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.013/5.043, allocations: 4.062 kB / 1.098 GB, free: 124.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)