Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_etaCar,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",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.004447/0.004447, allocations: 97.22 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.00134/0.00134, allocations: 202.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.244/1.244, 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.503/2.503, allocations: 482.6 MB / 0.755 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 67.89 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2735, allocations: 162.3 MB / 1.242 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.5179/0.7914, allocations: 75.36 MB / 1.315 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0182/0.8096, allocations: 15.19 MB / 1.33 GB, free: 2.535 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.8112, allocations: 64.81 kB / 1.33 GB, free: 2.512 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.8129, allocations: 0.83 MB / 1.331 GB, free: 1.992 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004968/0.8179, allocations: 2.576 MB / 1.334 GB, free: 452 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002772/0.8206, allocations: 1.391 MB / 1.335 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004286/0.8249, allocations: 4.402 MB / 1.339 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.8265, allocations: 1.445 MB / 1.341 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.8296, allocations: 1.831 MB / 1.343 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.8309, allocations: 1.204 MB / 1.344 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001969/0.8311, allocations: 162.1 kB / 1.344 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.8336, allocations: 1.397 MB / 1.345 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003536/0.8339, allocations: 392.4 kB / 1.346 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008016/0.8348, allocations: 0.9081 MB / 1.347 GB, free: 9.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003208/0.838, allocations: 2.878 MB / 1.349 GB, free: 8.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.838, allocations: 4.75 kB / 1.349 GB, free: 8.816 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.883e-06/0.838, allocations: 0 / 1.349 GB, free: 8.816 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.838, allocations: 0.9375 kB / 1.349 GB, free: 8.816 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.003241/0.8413, allocations: 2.133 MB / 1.351 GB, free: 7.387 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.8413, allocations: 9.969 kB / 1.351 GB, free: 7.387 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.8415, allocations: 147.8 kB / 1.352 GB, free: 7.289 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007136/0.8422, allocations: 244 kB / 1.352 GB, free: 7.188 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.8443, allocations: 1.532 MB / 1.353 GB, free: 6.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/0.8444, allocations: 76.22 kB / 1.353 GB, free: 6.234 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.8445, allocations: 109.4 kB / 1.353 GB, free: 6.195 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.8462, allocations: 1.1 MB / 1.355 GB, free: 5.707 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.8463, allocations: 5.531 kB / 1.355 GB, free: 5.703 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.232e-05/0.8464, allocations: 41.5 kB / 1.355 GB, free: 5.672 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.8464, allocations: 23.97 kB / 1.355 GB, free: 5.672 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.8481, allocations: 0.8968 MB / 1.355 GB, free: 5.355 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.005173/0.8533, allocations: 4.917 MB / 1.36 GB, free: 1.176 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.8546, allocations: 0.625 MB / 1.361 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/0.8553, allocations: 353.5 kB / 1.361 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000632/0.8559, allocations: 0.8195 MB / 1.362 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.8559, allocations: 38.62 kB / 1.362 GB, free: 15.69 MB / 1.076 GB Notification: Performance of pre-optimization done (n=61): time 1.853e-06/0.8559, allocations: 0 / 1.362 GB, free: 15.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=61): time 0.006438/0.8624, allocations: 1.702 MB / 1.364 GB, free: 14.79 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.8624, allocations: 58.84 kB / 1.364 GB, free: 14.73 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.8638, allocations: 1.233 MB / 1.365 GB, free: 14.04 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/0.8639, allocations: 38.27 kB / 1.365 GB, free: 14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005096/0.8644, allocations: 0.6139 MB / 1.366 GB, free: 13.46 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.8646, allocations: 224.1 kB / 1.366 GB, free: 13.26 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.8648, allocations: 152.7 kB / 1.366 GB, free: 13.17 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.865, allocations: 336.4 kB / 1.366 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006141/0.8656, allocations: 290.4 kB / 1.367 GB, free: 12.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000793/0.8664, allocations: 0.4892 MB / 1.367 GB, free: 12.31 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.8677, allocations: 0.716 MB / 1.368 GB, free: 11.85 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8677, allocations: 2.062 kB / 1.368 GB, free: 11.85 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004136/0.8719, allocations: 1.277 MB / 1.369 GB, free: 11.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.8719, allocations: 10.84 kB / 1.369 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.8719, allocations: 4.156 kB / 1.369 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005005/0.8724, allocations: 146.1 kB / 1.369 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.8729, allocations: 153.6 kB / 1.369 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007987/0.8737, allocations: 0.7075 MB / 1.37 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/0.8745, allocations: 116.2 kB / 1.37 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.8746, allocations: 40.05 kB / 1.37 GB, free: 10.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009109/0.8755, allocations: 0.5474 MB / 1.371 GB, free: 10.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007677/0.8763, allocations: 0.4917 MB / 1.371 GB, free: 9.652 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001285/0.8776, allocations: 0.702 MB / 1.372 GB, free: 9.207 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.8776, allocations: 1.125 kB / 1.372 GB, free: 9.207 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004201/0.8818, allocations: 1.273 MB / 1.373 GB, free: 8.566 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.8818, allocations: 7.406 kB / 1.373 GB, free: 8.566 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.8818, allocations: 3.844 kB / 1.373 GB, free: 8.566 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.8822, allocations: 143 kB / 1.373 GB, free: 8.496 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.8827, allocations: 156 kB / 1.373 GB, free: 8.457 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007543/0.8835, allocations: 0.7068 MB / 1.374 GB, free: 7.832 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007539/0.8843, allocations: 103.9 kB / 1.374 GB, free: 7.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.8843, allocations: 31.45 kB / 1.374 GB, free: 7.762 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.8845, allocations: 229.8 kB / 1.374 GB, free: 7.543 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.8847, allocations: 143.8 kB / 1.375 GB, free: 7.465 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004244/0.889, allocations: 1.264 MB / 1.376 GB, free: 6.773 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.889, allocations: 6.375 kB / 1.376 GB, free: 6.773 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.889, allocations: 1.094 kB / 1.376 GB, free: 6.773 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003753/0.8928, allocations: 1.105 MB / 1.377 GB, free: 6.141 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005641/0.8984, allocations: 2.618 MB / 1.379 GB, free: 4.332 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.8984, allocations: 3.281 kB / 1.379 GB, free: 4.332 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/0.8989, allocations: 109.5 kB / 1.38 GB, free: 4.305 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004138/0.8993, allocations: 138.8 kB / 1.38 GB, free: 4.234 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.8993, allocations: 20.47 kB / 1.38 GB, free: 4.223 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004643/0.904, allocations: 2.633 MB / 1.382 GB, free: 1.992 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.904, allocations: 4.656 kB / 1.382 GB, free: 1.992 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004751/0.9087, allocations: 1.705 MB / 1.384 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.9091, allocations: 311.5 kB / 1.384 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.9093, allocations: 19.81 kB / 1.384 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000682/0.91, allocations: 57.67 kB / 1.384 GB, free: 0.6562 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.9101, allocations: 61.38 kB / 1.384 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.9102, allocations: 36.41 kB / 1.384 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009988/0.9112, allocations: 0.8776 MB / 1.385 GB, free: 120 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.833e-06/0.9112, allocations: 112 / 1.385 GB, free: 120 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.001521/0.9127, allocations: 0.7268 MB / 1.386 GB, free: 15.96 MB / 1.092 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005641/0.9183, allocations: 2.597 MB / 1.389 GB, free: 14.26 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002149/0.9205, allocations: 1.121 MB / 1.39 GB, free: 13.75 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9205, allocations: 2.062 kB / 1.39 GB, free: 13.75 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.9218, allocations: 0.567 MB / 1.39 GB, free: 13.41 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/0.9247, allocations: 0.7974 MB / 1.391 GB, free: 13 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/0.9425, allocations: 9.863 MB / 1.401 GB, free: 3.266 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008152/0.9433, allocations: 1.175 MB / 1.402 GB, free: 2.062 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009724/0.9443, allocations: 314.9 kB / 1.402 GB, free: 1.75 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006635/0.945, allocations: 0.5148 MB / 1.403 GB, free: 1.234 MB / 1.092 GB Notification: Performance of SimCode: time 5.11e-07/0.945, allocations: 0 / 1.403 GB, free: 1.234 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.831/1.776, allocations: 42.61 MB / 1.444 GB, free: 7.133 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.47/21.25, allocations: 7.938 kB / 1.444 GB, free: 7.125 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)