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_etaCar.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_etaCar,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.732/1.732, allocations: 288.4 MB / 303.3 MB, free: 8.094 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.001241/0.001242, allocations: 180.4 kB / 372 MB, free: 10.28 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.641/1.641, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0009597/0.0009598, allocations: 82.25 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004386, allocations: 16.53 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2537, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.05983/0.3136, allocations: 69.47 MB / 1.047 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02022/0.3339, allocations: 14.08 MB / 1.061 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00288/0.3368, allocations: 55.62 kB / 1.061 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.3391, allocations: 0.5589 MB / 1.062 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007061/0.3462, allocations: 1.959 MB / 1.064 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00354/0.3498, allocations: 0.9814 MB / 1.065 GB, free: 4.25 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.5637/0.9135, allocations: 4.774 MB / 1.069 GB, free: 34.04 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003535/0.9171, allocations: 1.013 MB / 1.07 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004416/0.9215, allocations: 1.273 MB / 1.072 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/0.9252, allocations: 1.083 MB / 1.073 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005266/0.9258, allocations: 56.28 kB / 1.073 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004532/0.9303, allocations: 0.921 MB / 1.074 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006539/0.931, allocations: 269.3 kB / 1.074 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.9322, allocations: 358 kB / 1.074 GB, free: 33.93 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005137/0.9373, allocations: 2.081 MB / 1.076 GB, free: 33.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.9374, allocations: 1.609 kB / 1.076 GB, free: 33.86 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.394e-06/0.9374, allocations: 0 / 1.076 GB, free: 33.86 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.946e-05/0.9374, allocations: 1.906 kB / 1.076 GB, free: 33.86 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.005109/0.9426, allocations: 1.792 MB / 1.078 GB, free: 32.87 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.9426, allocations: 10.23 kB / 1.078 GB, free: 32.87 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000338/0.943, allocations: 155.5 kB / 1.078 GB, free: 32.83 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.944, allocations: 243.7 kB / 1.078 GB, free: 32.74 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003373/0.9474, allocations: 1.427 MB / 1.08 GB, free: 32.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.967e-05/0.9475, allocations: 76.38 kB / 1.08 GB, free: 32.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.9477, allocations: 103.8 kB / 1.08 GB, free: 32.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.9504, allocations: 1.115 MB / 1.081 GB, free: 32.24 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.9505, allocations: 1.531 kB / 1.081 GB, free: 32.24 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.9506, allocations: 42.83 kB / 1.081 GB, free: 32.24 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/0.9507, allocations: 26.34 kB / 1.081 GB, free: 32.24 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/0.9532, allocations: 0.9276 MB / 1.082 GB, free: 32.22 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.009238/0.9625, allocations: 4.918 MB / 1.087 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.9643, allocations: 0.6317 MB / 1.087 GB, free: 30 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008081/0.9651, allocations: 366.8 kB / 1.088 GB, free: 29.99 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005902/0.9657, allocations: 0.8332 MB / 1.089 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.9658, allocations: 39.38 kB / 1.089 GB, free: 29.01 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.577e-06/0.9658, allocations: 0 / 1.089 GB, free: 29.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.008064/0.9739, allocations: 1.892 MB / 1.09 GB, free: 28.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.9739, allocations: 57.78 kB / 1.091 GB, free: 28.67 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/0.9768, allocations: 1.199 MB / 1.092 GB, free: 28.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.9769, allocations: 38.92 kB / 1.092 GB, free: 28.47 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006115/0.9776, allocations: 0.6053 MB / 1.092 GB, free: 28.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/0.9779, allocations: 215.5 kB / 1.093 GB, free: 28.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.9779, allocations: 13.66 kB / 1.093 GB, free: 28.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.978, allocations: 337.5 kB / 1.093 GB, free: 27.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007493/0.9788, allocations: 295.5 kB / 1.093 GB, free: 27.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.9798, allocations: 0.5044 MB / 1.094 GB, free: 27.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/0.9807, allocations: 359.3 kB / 1.094 GB, free: 27.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.9807, allocations: 5.188 kB / 1.094 GB, free: 27.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005427/0.9862, allocations: 1.392 MB / 1.095 GB, free: 27.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.9863, allocations: 198.9 kB / 1.096 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.9863, allocations: 3.969 kB / 1.096 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007373/0.9871, allocations: 152.2 kB / 1.096 GB, free: 27.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/0.9878, allocations: 164.3 kB / 1.096 GB, free: 27.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008795/0.9887, allocations: 0.7135 MB / 1.097 GB, free: 26.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.9905, allocations: 172.1 kB / 1.097 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.9907, allocations: 33.39 kB / 1.097 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.9907, allocations: 7.812 kB / 1.097 GB, free: 26.62 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00491/0.9956, allocations: 1.245 MB / 1.098 GB, free: 26.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.9957, allocations: 5.125 kB / 1.098 GB, free: 26.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/0.9963, allocations: 147.7 kB / 1.098 GB, free: 26.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006923/0.997, allocations: 169.5 kB / 1.098 GB, free: 26.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008237/0.9978, allocations: 0.7172 MB / 1.099 GB, free: 26.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.9996, allocations: 165.7 kB / 1.099 GB, free: 25.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.9998, allocations: 32.09 kB / 1.099 GB, free: 25.98 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 (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 10} Notification: Performance of prepare postOptimizeDAE: time 0.001088/1.001, allocations: 416.5 kB / 1.1 GB, free: 25.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005621/1.001, allocations: 140.4 kB / 1.1 GB, free: 25.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005246/1.007, allocations: 1.399 MB / 1.101 GB, free: 25.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/1.007, allocations: 8.391 kB / 1.101 GB, free: 25.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.007, allocations: 0 / 1.101 GB, free: 25.57 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004362/1.011, allocations: 1.238 MB / 1.102 GB, free: 25.36 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007998/1.019, allocations: 2.732 MB / 1.105 GB, free: 24.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/1.019, allocations: 3.312 kB / 1.105 GB, free: 24.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/1.02, allocations: 122.3 kB / 1.105 GB, free: 24.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004943/1.02, allocations: 137.5 kB / 1.105 GB, free: 24.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.526e-05/1.02, allocations: 19.05 kB / 1.105 GB, free: 24.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004485/1.025, allocations: 2.49 MB / 1.108 GB, free: 23.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/1.025, allocations: 15.55 kB / 1.108 GB, free: 23.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005749/1.031, allocations: 1.841 MB / 1.109 GB, free: 22.96 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.032, allocations: 330.4 kB / 1.11 GB, free: 22.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006369/1.033, allocations: 23.8 kB / 1.11 GB, free: 22.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/1.034, allocations: 92.36 kB / 1.11 GB, free: 22.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/1.034, allocations: 56.77 kB / 1.11 GB, free: 22.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/1.035, allocations: 34.23 kB / 1.11 GB, free: 22.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002221/1.037, allocations: 0.8533 MB / 1.111 GB, free: 22.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.2e-07/1.037, allocations: 0 / 1.111 GB, free: 22.66 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00406/1.041, allocations: 0.7085 MB / 1.111 GB, free: 22.57 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.007575/1.048, allocations: 2.716 MB / 1.114 GB, free: 21.58 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003384/1.052, allocations: 1.159 MB / 1.115 GB, free: 21.55 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.052, allocations: 0 / 1.115 GB, free: 21.55 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/1.053, allocations: 0.6015 MB / 1.116 GB, free: 21.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005658/1.059, allocations: 0.7704 MB / 1.117 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0291/1.088, allocations: 8.335 MB / 1.125 GB, free: 18.06 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/1.09, allocations: 1.172 MB / 1.126 GB, free: 17.17 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002392/1.092, allocations: 301.6 kB / 1.126 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/1.093, allocations: 0.5118 MB / 1.127 GB, free: 16.97 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-06/1.093, allocations: 2.734 kB / 1.127 GB, free: 16.97 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08864/1.182, allocations: 42.33 MB / 1.168 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/1.182, allocations: 261.8 kB / 1.168 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.588/4.77, allocations: 0 / 1.168 GB, free: 14.78 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)