Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_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.004636/0.004636, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001374/0.001374, allocations: 198.7 kB / 16.68 MB, free: 5.977 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.628/2.628, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 75.86 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2685, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.5566/0.8251, allocations: 75.36 MB / 1.315 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02/0.8452, allocations: 15.19 MB / 1.33 GB, free: 2.516 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.8475, allocations: 65.31 kB / 1.33 GB, free: 2.492 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.8494, allocations: 0.8257 MB / 1.331 GB, free: 1.977 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006162/0.8556, allocations: 2.581 MB / 1.334 GB, free: 432 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.8588, allocations: 1.39 MB / 1.335 GB, free: 15.63 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005253/0.8641, allocations: 4.404 MB / 1.339 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.8659, allocations: 1.444 MB / 1.341 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00382/0.8698, allocations: 1.829 MB / 1.343 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.8714, allocations: 1.197 MB / 1.344 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.8716, allocations: 162.3 kB / 1.344 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.8746, allocations: 1.42 MB / 1.345 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003885/0.875, allocations: 397.4 kB / 1.346 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008955/0.8759, allocations: 0.9041 MB / 1.347 GB, free: 9.906 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003952/0.8799, allocations: 2.898 MB / 1.349 GB, free: 8.789 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.8799, allocations: 0 / 1.349 GB, free: 8.789 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8799, allocations: 0 / 1.349 GB, free: 8.789 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.799e-05/0.8799, allocations: 4 kB / 1.349 GB, free: 8.785 MB / 1.061 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.003603/0.8835, allocations: 2.143 MB / 1.351 GB, free: 7.352 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.8836, allocations: 8.781 kB / 1.351 GB, free: 7.352 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.8837, allocations: 151.5 kB / 1.352 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007601/0.8845, allocations: 237 kB / 1.352 GB, free: 7.156 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.8868, allocations: 1.54 MB / 1.353 GB, free: 6.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/0.8869, allocations: 76.25 kB / 1.353 GB, free: 6.195 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.887, allocations: 101.8 kB / 1.354 GB, free: 6.164 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.8889, allocations: 1.101 MB / 1.355 GB, free: 5.676 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.8889, allocations: 5.484 kB / 1.355 GB, free: 5.672 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.678e-05/0.889, allocations: 36.19 kB / 1.355 GB, free: 5.645 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/0.8891, allocations: 33.58 kB / 1.355 GB, free: 5.637 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.8909, allocations: 0.8923 MB / 1.356 GB, free: 5.324 MB / 1.061 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.005606/0.8965, allocations: 4.941 MB / 1.36 GB, free: 1.086 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.8978, allocations: 0.6245 MB / 1.361 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006932/0.8985, allocations: 346.6 kB / 1.361 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007468/0.8993, allocations: 0.8291 MB / 1.362 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.8993, allocations: 38.62 kB / 1.362 GB, free: 15.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=62): time 2.264e-06/0.8993, allocations: 0 / 1.362 GB, free: 15.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=62): time 0.004587/0.9039, allocations: 1.419 MB / 1.364 GB, free: 14.83 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.904, allocations: 58.31 kB / 1.364 GB, free: 14.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.9055, allocations: 1.229 MB / 1.365 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.9055, allocations: 38.83 kB / 1.365 GB, free: 14.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005143/0.9061, allocations: 0.6094 MB / 1.365 GB, free: 13.51 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.9063, allocations: 225.1 kB / 1.366 GB, free: 13.31 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.9065, allocations: 151.6 kB / 1.366 GB, free: 13.22 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.9067, allocations: 337.9 kB / 1.366 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/0.9073, allocations: 294.7 kB / 1.366 GB, free: 12.74 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008211/0.9081, allocations: 0.4887 MB / 1.367 GB, free: 12.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.9095, allocations: 0.7099 MB / 1.368 GB, free: 11.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9096, allocations: 1.656 kB / 1.368 GB, free: 11.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00438/0.9139, allocations: 1.272 MB / 1.369 GB, free: 11.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.914, allocations: 6.156 kB / 1.369 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.914, allocations: 4.5 kB / 1.369 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006383/0.9146, allocations: 163.5 kB / 1.369 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/0.9152, allocations: 159.4 kB / 1.369 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008329/0.916, allocations: 0.7097 MB / 1.37 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009477/0.917, allocations: 125.6 kB / 1.37 GB, free: 10.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.9171, allocations: 34.92 kB / 1.37 GB, free: 10.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009976/0.9181, allocations: 0.5523 MB / 1.371 GB, free: 10.09 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000806/0.9189, allocations: 499.6 kB / 1.371 GB, free: 9.707 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001334/0.9202, allocations: 0.6976 MB / 1.372 GB, free: 9.273 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.9203, allocations: 1 kB / 1.372 GB, free: 9.273 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004292/0.9245, allocations: 1.272 MB / 1.373 GB, free: 8.633 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.9246, allocations: 7.625 kB / 1.373 GB, free: 8.633 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.9246, allocations: 2.406 kB / 1.373 GB, free: 8.633 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/0.9251, allocations: 148.8 kB / 1.373 GB, free: 8.566 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.9256, allocations: 163.1 kB / 1.373 GB, free: 8.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007986/0.9264, allocations: 0.7206 MB / 1.374 GB, free: 7.887 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000931/0.9274, allocations: 95.88 kB / 1.374 GB, free: 7.832 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.9275, allocations: 35.27 kB / 1.374 GB, free: 7.82 MB / 1.076 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.0002253/0.9277, allocations: 221.5 kB / 1.374 GB, free: 7.609 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.9279, allocations: 140.8 kB / 1.374 GB, free: 7.535 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004308/0.9322, allocations: 1.258 MB / 1.376 GB, free: 6.844 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.9322, allocations: 6.406 kB / 1.376 GB, free: 6.844 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9323, allocations: 1.312 kB / 1.376 GB, free: 6.844 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003868/0.9361, allocations: 1.094 MB / 1.377 GB, free: 6.223 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/0.9398, allocations: 2.312 MB / 1.379 GB, free: 4.562 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.9399, allocations: 7.297 kB / 1.379 GB, free: 4.559 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/0.9403, allocations: 113.5 kB / 1.379 GB, free: 4.527 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005031/0.9408, allocations: 148.1 kB / 1.379 GB, free: 4.457 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.9409, allocations: 20.45 kB / 1.379 GB, free: 4.445 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007716/0.9416, allocations: 0.7119 MB / 1.38 GB, free: 3.816 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.9416, allocations: 12.92 kB / 1.38 GB, free: 3.809 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.9442, allocations: 1.397 MB / 1.381 GB, free: 2.938 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000457/0.9446, allocations: 313 kB / 1.382 GB, free: 2.668 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.9448, allocations: 14.47 kB / 1.382 GB, free: 2.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/0.9455, allocations: 69.42 kB / 1.382 GB, free: 2.617 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.9457, allocations: 55.66 kB / 1.382 GB, free: 2.586 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.9457, allocations: 29.42 kB / 1.382 GB, free: 2.578 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001114/0.9468, allocations: 0.8856 MB / 1.383 GB, free: 2.082 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9469, allocations: 0 / 1.383 GB, free: 2.082 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001644/0.9485, allocations: 0.7239 MB / 1.383 GB, free: 1.922 MB / 1.076 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.003546/0.9521, allocations: 2.3 MB / 1.386 GB, free: 360 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002374/0.9544, allocations: 1.126 MB / 1.387 GB, free: 15.84 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9545, allocations: 2.25 kB / 1.387 GB, free: 15.84 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008471/0.9553, allocations: 393.9 kB / 1.387 GB, free: 15.67 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003013/0.9583, allocations: 0.7987 MB / 1.388 GB, free: 15.25 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.9762, allocations: 9.869 MB / 1.397 GB, free: 6.574 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007832/0.977, allocations: 1.172 MB / 1.399 GB, free: 5.371 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001002/0.978, allocations: 303 kB / 1.399 GB, free: 5.07 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006717/0.9787, allocations: 0.5149 MB / 1.399 GB, free: 4.559 MB / 1.092 GB Notification: Performance of SimCode: time 6.61e-07/0.9787, allocations: 3.938 kB / 1.399 GB, free: 4.555 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.937/4.915, allocations: 42.44 MB / 1.441 GB, free: 10.62 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.51/30.42, allocations: 6.109 kB / 1.441 GB, free: 10.62 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)