Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 193.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.3 MB / 0.6647 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001245, allocations: 67.88 kB / 0.8126 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5608, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07077/0.6316, allocations: 75.24 MB / 1.023 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01988/0.6515, allocations: 15.16 MB / 1.038 GB, free: 7.094 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.6538, allocations: 67.62 kB / 1.038 GB, free: 7.027 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.6561, allocations: 0.8306 MB / 1.039 GB, free: 6.191 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006506/0.6626, allocations: 2.585 MB / 1.041 GB, free: 3.594 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.6661, allocations: 1.382 MB / 1.043 GB, free: 2.223 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005344/0.6715, allocations: 4.396 MB / 1.047 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.6734, allocations: 1.453 MB / 1.048 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/0.6765, allocations: 1.623 MB / 1.05 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.6783, allocations: 1.221 MB / 1.051 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.00034/0.6787, allocations: 164 kB / 1.051 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.6814, allocations: 1.412 MB / 1.053 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004276/0.6818, allocations: 406.6 kB / 1.053 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.6829, allocations: 0.906 MB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00336/0.6863, allocations: 2.851 MB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6863, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6863, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.6863, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 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.003323/0.6897, allocations: 2.095 MB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.6897, allocations: 12.03 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/0.6899, allocations: 148.1 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007896/0.6907, allocations: 230.8 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.6928, allocations: 1.454 MB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.6929, allocations: 78 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.6931, allocations: 107.9 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.695, allocations: 1.104 MB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.695, allocations: 3.938 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.061e-05/0.6951, allocations: 48 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.6951, allocations: 24 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.697, allocations: 0.89 MB / 1.063 GB, free: 13.39 MB / 0.8262 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.005465/0.7025, allocations: 4.95 MB / 1.068 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.7039, allocations: 0.6203 MB / 1.068 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007127/0.7046, allocations: 346.3 kB / 1.069 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006283/0.7053, allocations: 0.8316 MB / 1.069 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.7053, allocations: 35.12 kB / 1.069 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=62): time 1.914e-06/0.7053, allocations: 0 / 1.069 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=62): time 0.004833/0.7101, allocations: 1.409 MB / 1.071 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.7102, allocations: 55.97 kB / 1.071 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.7117, allocations: 1.234 MB / 1.072 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.7118, allocations: 41.7 kB / 1.072 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/0.7123, allocations: 0.6143 MB / 1.073 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.7124, allocations: 208.9 kB / 1.073 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.7127, allocations: 162.5 kB / 1.073 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.7128, allocations: 333.9 kB / 1.073 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/0.7135, allocations: 300.6 kB / 1.074 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008347/0.7143, allocations: 491.8 kB / 1.074 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.7158, allocations: 0.7043 MB / 1.075 GB, free: 396 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7158, allocations: 0 / 1.075 GB, free: 396 kB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004773/0.7206, allocations: 1.273 MB / 1.076 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.7206, allocations: 5.875 kB / 1.076 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.7206, allocations: 7.984 kB / 1.076 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006435/0.7212, allocations: 156.7 kB / 1.076 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.7219, allocations: 163.7 kB / 1.076 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000839/0.7227, allocations: 0.7084 MB / 1.077 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008773/0.7236, allocations: 127.8 kB / 1.077 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.959e-05/0.7237, allocations: 32 kB / 1.077 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009789/0.7247, allocations: 0.5565 MB / 1.078 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008284/0.7255, allocations: 497 kB / 1.078 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001398/0.7269, allocations: 0.7004 MB / 1.079 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.7269, allocations: 0 / 1.079 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004656/0.7316, allocations: 1.265 MB / 1.08 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.7316, allocations: 8 kB / 1.08 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.7316, allocations: 0 / 1.08 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/0.7322, allocations: 160.6 kB / 1.08 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.7328, allocations: 159.8 kB / 1.081 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008062/0.7336, allocations: 0.7084 MB / 1.081 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009182/0.7345, allocations: 111.5 kB / 1.081 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.7346, allocations: 31.98 kB / 1.081 GB, free: 9.539 MB / 0.8419 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.0001919/0.7348, allocations: 222.1 kB / 1.082 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.735, allocations: 138.2 kB / 1.082 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00475/0.7398, allocations: 1.264 MB / 1.083 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.7398, allocations: 4 kB / 1.083 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7398, allocations: 4 kB / 1.083 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004276/0.7441, allocations: 1.088 MB / 1.084 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.7478, allocations: 2.326 MB / 1.086 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.7478, allocations: 4 kB / 1.086 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.7483, allocations: 111.8 kB / 1.086 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005636/0.7489, allocations: 152.7 kB / 1.087 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.7489, allocations: 16 kB / 1.087 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007916/0.7497, allocations: 0.7045 MB / 1.087 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.7497, allocations: 7.938 kB / 1.087 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.7524, allocations: 1.395 MB / 1.089 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004244/0.7528, allocations: 315.2 kB / 1.089 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.753, allocations: 12 kB / 1.089 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007943/0.7538, allocations: 51.94 kB / 1.089 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.7539, allocations: 60.31 kB / 1.089 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/0.754, allocations: 35.97 kB / 1.089 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001154/0.7552, allocations: 0.8818 MB / 1.09 GB, free: 492 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7552, allocations: 0 / 1.09 GB, free: 492 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001638/0.7568, allocations: 0.7174 MB / 1.091 GB, free: 15.76 MB / 0.8575 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.003735/0.7606, allocations: 2.305 MB / 1.093 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002689/0.7633, allocations: 1.16 MB / 1.094 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7633, allocations: 0 / 1.094 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008944/0.7642, allocations: 399.3 kB / 1.094 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/0.7675, allocations: 0.8009 MB / 1.095 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/0.7873, allocations: 10.51 MB / 1.105 GB, free: 44 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008297/0.7882, allocations: 1.168 MB / 1.107 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001193/0.7894, allocations: 311.1 kB / 1.107 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/0.7901, allocations: 0.511 MB / 1.107 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/0.7901, allocations: 0 / 1.107 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07949/0.8696, allocations: 42.25 MB / 1.149 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.6, allocations: 14.03 kB / 1.149 GB, free: 4.277 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)