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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001047/0.001047, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007946/0.007946, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.9 MB / 0.6664 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003065, allocations: 8 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5425/0.5428, allocations: 142.4 MB / 0.9552 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06299/0.6059, allocations: 73.5 MB / 1.027 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01772/0.6236, allocations: 15.03 MB / 1.042 GB, free: 6.559 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.6253, allocations: 63.56 kB / 1.042 GB, free: 6.496 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.6269, allocations: 0.6682 MB / 1.042 GB, free: 5.824 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00529/0.6323, allocations: 2.396 MB / 1.045 GB, free: 3.418 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.635, allocations: 1.267 MB / 1.046 GB, free: 2.164 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005256/0.6403, allocations: 5.558 MB / 1.051 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.6419, allocations: 1.159 MB / 1.052 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.6442, allocations: 1.338 MB / 1.054 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/0.6459, allocations: 1.151 MB / 1.055 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.6461, allocations: 60 kB / 1.055 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.6486, allocations: 1.259 MB / 1.056 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003242/0.649, allocations: 286.7 kB / 1.056 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0008248/0.6498, allocations: 0.8061 MB / 1.057 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002814/0.6526, allocations: 2.73 MB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6526, allocations: 0 / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6526, allocations: 0 / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.6527, allocations: 0 / 1.06 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.003007/0.6557, allocations: 1.791 MB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.6557, allocations: 12.02 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001717/0.6559, allocations: 148.1 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007327/0.6566, allocations: 242.8 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.6588, allocations: 1.508 MB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.6589, allocations: 70 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.6591, allocations: 108 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.661, allocations: 1.12 MB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.661, allocations: 4 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-05/0.6611, allocations: 43.91 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.6612, allocations: 24 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.6631, allocations: 0.9368 MB / 1.066 GB, free: 13.58 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.005243/0.6683, allocations: 4.923 MB / 1.071 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.6697, allocations: 0.6353 MB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007358/0.6705, allocations: 375.7 kB / 1.072 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005729/0.671, allocations: 0.8277 MB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.6711, allocations: 51.06 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=62): time 2.024e-06/0.6711, allocations: 3.938 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=62): time 0.004923/0.676, allocations: 1.518 MB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.6761, allocations: 59.97 kB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.6776, allocations: 1.214 MB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-05/0.6776, allocations: 41.7 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.6781, allocations: 0.6104 MB / 1.076 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.6783, allocations: 209 kB / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.6784, allocations: 65.67 kB / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.6785, allocations: 333.9 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007027/0.6792, allocations: 305.8 kB / 1.077 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008387/0.6801, allocations: 0.5038 MB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.6815, allocations: 0.7511 MB / 1.078 GB, free: 496 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.6815, allocations: 4 kB / 1.078 GB, free: 492 kB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00491/0.6865, allocations: 1.402 MB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.6866, allocations: 193.5 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.6866, allocations: 4 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006714/0.6873, allocations: 164.7 kB / 1.08 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/0.6879, allocations: 163.8 kB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008303/0.6887, allocations: 0.724 MB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.6898, allocations: 167 kB / 1.081 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/0.6899, allocations: 35.98 kB / 1.081 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.6899, allocations: 5.406 kB / 1.081 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004729/0.6947, allocations: 1.261 MB / 1.082 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6947, allocations: 0 / 1.082 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/0.6953, allocations: 165.1 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.6959, allocations: 159.8 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000808/0.6967, allocations: 0.7424 MB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.6979, allocations: 153.2 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/0.698, allocations: 31.98 kB / 1.083 GB, free: 11.02 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.0007731/0.6988, allocations: 425.8 kB / 1.084 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.6991, allocations: 134.3 kB / 1.084 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005099/0.7042, allocations: 1.381 MB / 1.085 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.7043, allocations: 15.98 kB / 1.085 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7043, allocations: 0 / 1.085 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004405/0.7087, allocations: 1.221 MB / 1.086 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/0.7128, allocations: 2.356 MB / 1.088 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.7128, allocations: 7.938 kB / 1.088 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/0.7133, allocations: 128.2 kB / 1.089 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000589/0.7139, allocations: 152.7 kB / 1.089 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.714, allocations: 20 kB / 1.089 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008076/0.7148, allocations: 0.7201 MB / 1.089 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7148, allocations: 4 kB / 1.089 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/0.7176, allocations: 1.466 MB / 1.091 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/0.7182, allocations: 331 kB / 1.091 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.7184, allocations: 20 kB / 1.091 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009947/0.7194, allocations: 107.8 kB / 1.091 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.7195, allocations: 48.31 kB / 1.091 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-05/0.7196, allocations: 35.97 kB / 1.091 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001173/0.7207, allocations: 0.8701 MB / 1.092 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.453e-06/0.7208, allocations: 0 / 1.092 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001738/0.7225, allocations: 0.7096 MB / 1.093 GB, free: 0.6016 MB / 0.8419 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.003716/0.7262, allocations: 2.351 MB / 1.095 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00263/0.7289, allocations: 1.164 MB / 1.096 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.7289, allocations: 4.125 kB / 1.096 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009335/0.7298, allocations: 419.1 kB / 1.097 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004198/0.734, allocations: 0.7946 MB / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02522/0.7593, allocations: 11.23 MB / 1.109 GB, free: 80 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008593/0.7602, allocations: 1.173 MB / 1.11 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001324/0.7615, allocations: 307.1 kB / 1.11 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007703/0.7623, allocations: 0.5188 MB / 1.111 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of SimCode: time 6.11e-07/0.7623, allocations: 0 / 1.111 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5329/1.295, allocations: 42.41 MB / 1.152 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/1.295, allocations: 269.5 kB / 1.152 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.821/4.116, allocations: 0 / 1.152 GB, free: 3.805 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)