Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.742/2.742, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001618/0.001618, allocations: 184.4 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001164/0.001164, allocations: 94.78 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005219/0.0005221, allocations: 15.34 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2513, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.1488/0.4002, allocations: 63.02 MB / 1.04 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03967/0.4399, allocations: 12.88 MB / 1.052 GB, free: 276 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00324/0.4432, allocations: 51.62 kB / 1.052 GB, free: 224 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005464/0.4488, allocations: 0.7423 MB / 1.053 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01557/0.4644, allocations: 2.358 MB / 1.055 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.4753, allocations: 1.536 MB / 1.057 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009232/0.4846, allocations: 2.483 MB / 1.059 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.4872, allocations: 1.033 MB / 1.06 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/0.491, allocations: 1.168 MB / 1.062 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.4932, allocations: 0.7895 MB / 1.062 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003791/0.4936, allocations: 56 kB / 1.062 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/0.4974, allocations: 0.8542 MB / 1.063 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005861/0.498, allocations: 266.9 kB / 1.063 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000757/0.4988, allocations: 356.9 kB / 1.064 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004509/0.5033, allocations: 2.026 MB / 1.066 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5034, allocations: 4 kB / 1.066 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.785e-06/0.5034, allocations: 0 / 1.066 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.07e-05/0.5035, allocations: 0 / 1.066 GB, free: 2.531 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.005517/0.509, allocations: 1.791 MB / 1.068 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.5091, allocations: 11.97 kB / 1.068 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004059/0.5095, allocations: 147.9 kB / 1.068 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.5108, allocations: 241.9 kB / 1.068 GB, free: 280 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6747/1.186, allocations: 1.365 MB / 1.069 GB, free: 91.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/1.186, allocations: 80.36 kB / 1.069 GB, free: 91.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002871/1.186, allocations: 109.4 kB / 1.069 GB, free: 91.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/1.19, allocations: 1.103 MB / 1.071 GB, free: 90.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-05/1.19, allocations: 4.906 kB / 1.071 GB, free: 90.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/1.19, allocations: 36.66 kB / 1.071 GB, free: 90.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.293e-05/1.19, allocations: 31.25 kB / 1.071 GB, free: 90.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003653/1.194, allocations: 0.9258 MB / 1.071 GB, free: 90.39 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.01089/1.205, allocations: 4.972 MB / 1.076 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/1.208, allocations: 0.646 MB / 1.077 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007974/1.208, allocations: 0.826 MB / 1.078 GB, free: 85.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/1.209, allocations: 43.89 kB / 1.078 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 3.467e-06/1.209, allocations: 0 / 1.078 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.009735/1.218, allocations: 1.512 MB / 1.079 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/1.218, allocations: 59.45 kB / 1.079 GB, free: 85.31 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/1.222, allocations: 1.252 MB / 1.081 GB, free: 84.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002241/1.222, allocations: 39.33 kB / 1.081 GB, free: 84.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007287/1.223, allocations: 0.5997 MB / 1.081 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003513/1.223, allocations: 220.6 kB / 1.081 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/1.223, allocations: 14.81 kB / 1.081 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/1.223, allocations: 334.6 kB / 1.082 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/1.225, allocations: 294.6 kB / 1.082 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/1.226, allocations: 0.5043 MB / 1.083 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/1.228, allocations: 366.9 kB / 1.083 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/1.228, allocations: 1.547 kB / 1.083 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009628/1.238, allocations: 1.385 MB / 1.084 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003745/1.238, allocations: 1.33 MB / 1.086 GB, free: 81.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/1.238, allocations: 4 kB / 1.086 GB, free: 81.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/1.24, allocations: 170 kB / 1.086 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/1.242, allocations: 160.4 kB / 1.086 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/1.244, allocations: 0.7298 MB / 1.087 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003996/1.248, allocations: 177 kB / 1.087 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003469/1.249, allocations: 30.91 kB / 1.087 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.249, allocations: 8.156 kB / 1.087 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01338/1.262, allocations: 1.24 MB / 1.088 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/1.262, allocations: 3.875 kB / 1.088 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/1.264, allocations: 170.1 kB / 1.088 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/1.266, allocations: 159.5 kB / 1.088 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/1.268, allocations: 0.7307 MB / 1.089 GB, free: 79.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/1.272, allocations: 169.8 kB / 1.089 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/1.272, allocations: 30.66 kB / 1.089 GB, free: 79.71 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.001369/1.273, allocations: 417.6 kB / 1.09 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005801/1.274, allocations: 131.4 kB / 1.09 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/1.285, allocations: 1.398 MB / 1.091 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.605e-05/1.285, allocations: 7.609 kB / 1.091 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/1.285, allocations: 0 / 1.091 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007998/1.293, allocations: 1.221 MB / 1.092 GB, free: 78.49 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007747/1.301, allocations: 2.372 MB / 1.095 GB, free: 77.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.301, allocations: 5.047 kB / 1.095 GB, free: 77.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009929/1.302, allocations: 120.4 kB / 1.095 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/1.303, allocations: 159 kB / 1.095 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/1.303, allocations: 19.72 kB / 1.095 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/1.305, allocations: 0.7245 MB / 1.096 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/1.305, allocations: 4.531 kB / 1.096 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007709/1.312, allocations: 1.665 MB / 1.097 GB, free: 75.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/1.314, allocations: 346.2 kB / 1.098 GB, free: 75.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006777/1.315, allocations: 19.06 kB / 1.098 GB, free: 75.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002986/1.318, allocations: 94.39 kB / 1.098 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003724/1.318, allocations: 59.53 kB / 1.098 GB, free: 75.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/1.319, allocations: 34.78 kB / 1.098 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003509/1.322, allocations: 0.8984 MB / 1.099 GB, free: 74.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.22e-07/1.322, allocations: 0 / 1.099 GB, free: 74.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00367/1.326, allocations: 0.7108 MB / 1.099 GB, free: 74.78 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.009508/1.335, allocations: 3.48 MB / 1.103 GB, free: 72.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007048/1.342, allocations: 1.162 MB / 1.104 GB, free: 71.94 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/1.343, allocations: 5.375 kB / 1.104 GB, free: 71.94 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002742/1.345, allocations: 420.1 kB / 1.104 GB, free: 71.81 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009656/1.355, allocations: 0.7535 MB / 1.105 GB, free: 71.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/1.369, allocations: 5.774 MB / 1.111 GB, free: 67.19 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.37, allocations: 1.203 MB / 1.112 GB, free: 66.25 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003473/1.374, allocations: 313.2 kB / 1.112 GB, free: 66.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/1.376, allocations: 0.5077 MB / 1.113 GB, free: 65.68 MB / 0.6823 GB Notification: Performance of SimCode: time 1.863e-06/1.376, allocations: 0 / 1.113 GB, free: 65.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1511/1.527, allocations: 42.13 MB / 1.154 GB, free: 31.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/1.527, allocations: 250.6 kB / 1.154 GB, free: 30.81 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.365/5.893, allocations: 0 / 1.154 GB, free: 30.81 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)