Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.522/1.522, allocations: 288.4 MB / 303.6 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009713/0.0009714, allocations: 190 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.225/1.225, allocations: 205.4 MB / 0.631 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007064/0.0007064, allocations: 97.27 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 16.12 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1955, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.05574/0.2513, allocations: 69.49 MB / 1.048 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01681/0.2682, allocations: 14.07 MB / 1.062 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.2707, allocations: 55.62 kB / 1.062 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.2727, allocations: 0.5666 MB / 1.062 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005657/0.2784, allocations: 2.12 MB / 1.064 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.2812, allocations: 0.993 MB / 1.065 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.3507/0.632, allocations: 4.8 MB / 1.07 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00258/0.6346, allocations: 1.14 MB / 1.071 GB, free: 33.95 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/0.6378, allocations: 1.313 MB / 1.073 GB, free: 33.95 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00244/0.6402, allocations: 1.093 MB / 1.074 GB, free: 33.95 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005027/0.6408, allocations: 55.84 kB / 1.074 GB, free: 33.95 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00356/0.6443, allocations: 1.189 MB / 1.075 GB, free: 33.95 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000489/0.6448, allocations: 271.6 kB / 1.075 GB, free: 33.95 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.6461, allocations: 0.7653 MB / 1.076 GB, free: 33.91 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.6492, allocations: 2.167 MB / 1.078 GB, free: 33.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6492, allocations: 0.6094 kB / 1.078 GB, free: 33.85 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6492, allocations: 5 kB / 1.078 GB, free: 33.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.476e-05/0.6493, allocations: 0 / 1.078 GB, free: 33.84 MB / 0.6823 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.003353/0.6526, allocations: 1.783 MB / 1.08 GB, free: 32.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.6527, allocations: 13.75 kB / 1.08 GB, free: 32.85 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001773/0.6528, allocations: 154.9 kB / 1.08 GB, free: 32.81 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007312/0.6536, allocations: 242.9 kB / 1.08 GB, free: 32.72 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.656, allocations: 1.487 MB / 1.082 GB, free: 32.31 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.894e-05/0.656, allocations: 75.16 kB / 1.082 GB, free: 32.31 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.6562, allocations: 105.3 kB / 1.082 GB, free: 32.31 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.6584, allocations: 1.112 MB / 1.083 GB, free: 32.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.6584, allocations: 4.75 kB / 1.083 GB, free: 32.17 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.6585, allocations: 38.34 kB / 1.083 GB, free: 32.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/0.6586, allocations: 33.86 kB / 1.083 GB, free: 32.17 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.6608, allocations: 0.9267 MB / 1.084 GB, free: 32.15 MB / 0.6823 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.005375/0.6662, allocations: 4.927 MB / 1.089 GB, free: 29.95 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.6675, allocations: 0.6415 MB / 1.089 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006569/0.6682, allocations: 374.6 kB / 1.09 GB, free: 29.89 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00042/0.6686, allocations: 0.8325 MB / 1.09 GB, free: 28.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.6686, allocations: 39.12 kB / 1.09 GB, free: 28.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 2.134e-06/0.6686, allocations: 0 / 1.09 GB, free: 28.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.004377/0.673, allocations: 1.525 MB / 1.092 GB, free: 28.65 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.673, allocations: 60.59 kB / 1.092 GB, free: 28.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.6744, allocations: 1.199 MB / 1.093 GB, free: 28.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.6745, allocations: 42.95 kB / 1.093 GB, free: 28.39 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.6749, allocations: 0.5904 MB / 1.094 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.675, allocations: 220.7 kB / 1.094 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.6751, allocations: 14.25 kB / 1.094 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.6751, allocations: 333.7 kB / 1.094 GB, free: 27.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005846/0.6757, allocations: 302.1 kB / 1.095 GB, free: 27.74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/0.6764, allocations: 0.5023 MB / 1.095 GB, free: 27.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.6776, allocations: 0.7363 MB / 1.096 GB, free: 27.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6777, allocations: 5.188 kB / 1.096 GB, free: 27.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004241/0.6819, allocations: 1.389 MB / 1.097 GB, free: 27.24 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.895e-05/0.682, allocations: 192.8 kB / 1.097 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.682, allocations: 7.734 kB / 1.097 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.6826, allocations: 159.8 kB / 1.097 GB, free: 27.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.6832, allocations: 164 kB / 1.098 GB, free: 27.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006786/0.6839, allocations: 0.7324 MB / 1.098 GB, free: 26.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.6849, allocations: 168 kB / 1.099 GB, free: 26.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.685, allocations: 33.81 kB / 1.099 GB, free: 26.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.66e-06/0.685, allocations: 3.281 kB / 1.099 GB, free: 26.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004108/0.6891, allocations: 1.242 MB / 1.1 GB, free: 26.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6891, allocations: 3.906 kB / 1.1 GB, free: 26.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005137/0.6897, allocations: 165.4 kB / 1.1 GB, free: 26.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/0.6902, allocations: 168.1 kB / 1.1 GB, free: 26.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006415/0.6909, allocations: 0.7197 MB / 1.101 GB, free: 25.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009204/0.6918, allocations: 175.1 kB / 1.101 GB, free: 25.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.6919, allocations: 35.7 kB / 1.101 GB, free: 25.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004812/0.6924, allocations: 422.3 kB / 1.101 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.6925, allocations: 132.4 kB / 1.102 GB, free: 25.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004276/0.6968, allocations: 1.386 MB / 1.103 GB, free: 25.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.6968, allocations: 6.656 kB / 1.103 GB, free: 25.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6969, allocations: 2.625 kB / 1.103 GB, free: 25.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00365/0.7005, allocations: 1.216 MB / 1.104 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/0.7037, allocations: 2.351 MB / 1.106 GB, free: 24.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.7037, allocations: 3.5 kB / 1.106 GB, free: 24.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.7041, allocations: 119.3 kB / 1.106 GB, free: 24.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004885/0.7046, allocations: 160.3 kB / 1.107 GB, free: 24.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.7047, allocations: 22.45 kB / 1.107 GB, free: 24.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005899/0.7053, allocations: 0.7195 MB / 1.107 GB, free: 24.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7053, allocations: 3.094 kB / 1.107 GB, free: 24.14 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.7075, allocations: 1.458 MB / 1.109 GB, free: 23.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.7079, allocations: 333.2 kB / 1.109 GB, free: 23.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.7081, allocations: 23.88 kB / 1.109 GB, free: 23.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.7089, allocations: 85.59 kB / 1.109 GB, free: 23.58 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.709, allocations: 61.44 kB / 1.109 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.415e-05/0.7091, allocations: 33.36 kB / 1.109 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009505/0.71, allocations: 0.8547 MB / 1.11 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.71, allocations: 0 / 1.11 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001743/0.7118, allocations: 0.7077 MB / 1.111 GB, free: 23.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003273/0.7151, allocations: 2.342 MB / 1.113 GB, free: 22.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.7174, allocations: 1.161 MB / 1.114 GB, free: 22.38 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7175, allocations: 1.094 kB / 1.114 GB, free: 22.38 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008278/0.7183, allocations: 416.8 kB / 1.115 GB, free: 22.37 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/0.722, allocations: 0.7894 MB / 1.115 GB, free: 22.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.7392, allocations: 8.353 MB / 1.124 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.7397, allocations: 1.174 MB / 1.125 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001196/0.7409, allocations: 310.8 kB / 1.125 GB, free: 18.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/0.7415, allocations: 0.5133 MB / 1.126 GB, free: 18.41 MB / 0.6823 GB Notification: Performance of SimCode: time 4.91e-07/0.7415, allocations: 0 / 1.126 GB, free: 18.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9513/1.693, allocations: 45.1 MB / 1.17 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/1.693, allocations: 260.2 kB / 1.17 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.454/5.147, allocations: 0 / 1.17 GB, free: 14.04 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)