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.426/1.426, allocations: 252 MB / 267 MB, free: 10.96 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.001042/0.001042, allocations: 193.3 kB / 326.6 MB, free: 2.207 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.723/1.723, allocations: 205.4 MB / 0.5776 GB, free: 20.25 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.0009091/0.0009093, allocations: 86.12 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 9.688 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2411, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.05324/0.2944, allocations: 69.47 MB / 0.9681 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02021/0.3147, allocations: 14.02 MB / 0.9818 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002861/0.3176, allocations: 59.56 kB / 0.9819 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.3201, allocations: 0.5666 MB / 0.9825 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007106/0.3273, allocations: 1.97 MB / 0.9844 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003587/0.3309, allocations: 0.9511 MB / 0.9853 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007618/0.3385, allocations: 4.759 MB / 0.99 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002751/0.3413, allocations: 1.005 MB / 0.9909 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004082/0.3454, allocations: 1.275 MB / 0.9922 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002986/0.3484, allocations: 1.085 MB / 0.9932 GB, free: 348 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0007172/0.3491, allocations: 56 kB / 0.9933 GB, free: 292 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004039/0.3532, allocations: 0.9393 MB / 0.9942 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0008905/0.3541, allocations: 270.7 kB / 0.9945 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.3553, allocations: 364.9 kB / 0.9948 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004153/0.3595, allocations: 2.073 MB / 0.9968 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.3595, allocations: 4 kB / 0.9968 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.387e-06/0.3595, allocations: 0 / 0.9968 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001028/0.3597, allocations: 0 / 0.9968 GB, free: 12.63 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.005132/0.3648, allocations: 1.807 MB / 0.9986 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.3649, allocations: 12.03 kB / 0.9986 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004598/0.3653, allocations: 151.9 kB / 0.9988 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.3665, allocations: 241.9 kB / 0.999 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/0.3695, allocations: 1.435 MB / 1 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.085e-05/0.3695, allocations: 78 kB / 1 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.3697, allocations: 104 kB / 1.001 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.3719, allocations: 1.108 MB / 1.002 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.3719, allocations: 4 kB / 1.002 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.559e-05/0.372, allocations: 36 kB / 1.002 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/0.3721, allocations: 31.89 kB / 1.002 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.3742, allocations: 0.929 MB / 1.003 GB, free: 6.543 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.007807/0.382, allocations: 4.907 MB / 1.007 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.3836, allocations: 0.6398 MB / 1.008 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007645/0.3843, allocations: 366.3 kB / 1.008 GB, free: 344 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007307/0.3851, allocations: 0.8238 MB / 1.009 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.3851, allocations: 43.12 kB / 1.009 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 3.256e-06/0.3852, allocations: 0 / 1.009 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.00524/0.3904, allocations: 1.522 MB / 1.011 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.3905, allocations: 67.97 kB / 1.011 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.3926, allocations: 1.194 MB / 1.012 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-05/0.3927, allocations: 41.7 kB / 1.012 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005906/0.3933, allocations: 0.5988 MB / 1.013 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.3935, allocations: 216.8 kB / 1.013 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.3936, allocations: 19.94 kB / 1.013 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3938, allocations: 330 kB / 1.013 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.3945, allocations: 297.8 kB / 1.013 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009274/0.3954, allocations: 0.5154 MB / 1.014 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/0.3962, allocations: 359 kB / 1.014 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.3962, allocations: 0 / 1.014 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004987/0.4012, allocations: 1.39 MB / 1.016 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002304/0.4015, allocations: 193 kB / 1.016 GB, free: 8.348 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.4015, allocations: 4 kB / 1.016 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008024/0.4023, allocations: 160.7 kB / 1.016 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.403, allocations: 171.7 kB / 1.016 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.404, allocations: 0.7163 MB / 1.017 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.4056, allocations: 175 kB / 1.017 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.4057, allocations: 39.92 kB / 1.017 GB, free: 7.062 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4057, allocations: 4 kB / 1.017 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004483/0.4102, allocations: 1.242 MB / 1.018 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4102, allocations: 4 kB / 1.018 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/0.4108, allocations: 160.8 kB / 1.018 GB, free: 5.648 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.4115, allocations: 159.8 kB / 1.019 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008806/0.4124, allocations: 0.7318 MB / 1.019 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.4138, allocations: 171.9 kB / 1.019 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.358e-05/0.4139, allocations: 27.98 kB / 1.019 GB, free: 4.539 MB / 0.6667 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.0008031/0.4147, allocations: 424.8 kB / 1.02 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000402/0.4151, allocations: 134.4 kB / 1.02 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004879/0.42, allocations: 1.392 MB / 1.021 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.4201, allocations: 4 kB / 1.021 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.4201, allocations: 4 kB / 1.021 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004227/0.4243, allocations: 1.221 MB / 1.023 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004867/0.4292, allocations: 2.341 MB / 1.025 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.4292, allocations: 7.938 kB / 1.025 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/0.4297, allocations: 115.9 kB / 1.025 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006368/0.4304, allocations: 153.1 kB / 1.025 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.4305, allocations: 19.98 kB / 1.025 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008611/0.4313, allocations: 0.724 MB / 1.026 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.4313, allocations: 4 kB / 1.026 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/0.4344, allocations: 1.454 MB / 1.027 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008889/0.4353, allocations: 335 kB / 1.028 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/0.4357, allocations: 19.98 kB / 1.028 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.437, allocations: 95.81 kB / 1.028 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.4371, allocations: 56.27 kB / 1.028 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.4372, allocations: 35.98 kB / 1.028 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001552/0.4387, allocations: 0.8543 MB / 1.029 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4388, allocations: 0 / 1.029 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002403/0.4412, allocations: 0.7018 MB / 1.029 GB, free: 10.18 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.004387/0.4456, allocations: 2.324 MB / 1.032 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002944/0.4485, allocations: 1.164 MB / 1.033 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.4485, allocations: 4 kB / 1.033 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.4496, allocations: 411.2 kB / 1.033 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00461/0.4542, allocations: 0.774 MB / 1.034 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02444/0.4787, allocations: 8.333 MB / 1.042 GB, free: 12.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.4799, allocations: 1.172 MB / 1.043 GB, free: 11.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001829/0.4818, allocations: 307 kB / 1.043 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009907/0.4828, allocations: 0.5109 MB / 1.044 GB, free: 10.72 MB / 0.698 GB Notification: Performance of SimCode: time 1.452e-06/0.4828, allocations: 0 / 1.044 GB, free: 10.72 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.529/1.012, allocations: 42.09 MB / 1.085 GB, free: 136.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.012, allocations: 269.6 kB / 1.085 GB, free: 136.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.65/4.662, allocations: 0 / 1.085 GB, free: 136.3 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)