Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_11_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.004533/0.004533, allocations: 97.25 kB / 15.73 MB, free: 6.039 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.001325/0.001325, allocations: 204.6 kB / 16.68 MB, free: 5.961 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.515/2.515, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 63.89 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2456, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.5142/0.7598, allocations: 75.25 MB / 1.294 GB, free: 5.875 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.7787, allocations: 15.18 MB / 1.308 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.7808, allocations: 70.09 kB / 1.309 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.7826, allocations: 0.8211 MB / 1.309 GB, free: 10.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005906/0.7885, allocations: 2.594 MB / 1.312 GB, free: 8.883 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.7916, allocations: 1.396 MB / 1.313 GB, free: 8.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005038/0.7966, allocations: 4.396 MB / 1.318 GB, free: 5.898 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.7984, allocations: 1.446 MB / 1.319 GB, free: 5.199 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.8014, allocations: 1.639 MB / 1.321 GB, free: 4.391 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.8029, allocations: 1.214 MB / 1.322 GB, free: 3.824 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.8031, allocations: 163.8 kB / 1.322 GB, free: 3.824 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/0.8058, allocations: 1.422 MB / 1.323 GB, free: 3.301 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003724/0.8062, allocations: 401.8 kB / 1.324 GB, free: 3.047 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008485/0.8071, allocations: 0.8994 MB / 1.325 GB, free: 2.484 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003579/0.8107, allocations: 2.889 MB / 1.327 GB, free: 1.371 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.8107, allocations: 0 / 1.327 GB, free: 1.371 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8107, allocations: 0.75 kB / 1.327 GB, free: 1.371 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.12e-05/0.8107, allocations: 0 / 1.327 GB, free: 1.371 MB / 1.029 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.003492/0.8142, allocations: 2.146 MB / 1.329 GB, free: 15.93 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.8143, allocations: 12.94 kB / 1.329 GB, free: 15.92 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001812/0.8144, allocations: 152 kB / 1.33 GB, free: 15.82 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007357/0.8152, allocations: 235.8 kB / 1.33 GB, free: 15.73 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.8174, allocations: 1.53 MB / 1.331 GB, free: 14.81 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-05/0.8175, allocations: 80.36 kB / 1.331 GB, free: 14.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.8177, allocations: 101.8 kB / 1.332 GB, free: 14.74 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.8196, allocations: 1.105 MB / 1.333 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.8196, allocations: 0 / 1.333 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.8197, allocations: 42.09 kB / 1.333 GB, free: 14.22 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/0.8197, allocations: 29.48 kB / 1.333 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.8216, allocations: 0.896 MB / 1.334 GB, free: 13.9 MB / 1.045 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.005392/0.827, allocations: 4.912 MB / 1.338 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.8282, allocations: 0.6224 MB / 1.339 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000648/0.8289, allocations: 348.3 kB / 1.339 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000644/0.8295, allocations: 0.833 MB / 1.34 GB, free: 9.152 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.8296, allocations: 38.84 kB / 1.34 GB, free: 9.109 MB / 1.045 GB Notification: Performance of pre-optimization done (n=62): time 1.673e-06/0.8296, allocations: 0 / 1.34 GB, free: 9.109 MB / 1.045 GB Notification: Performance of matching and sorting (n=62): time 0.004376/0.834, allocations: 1.417 MB / 1.342 GB, free: 8.617 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.834, allocations: 57.78 kB / 1.342 GB, free: 8.551 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.8354, allocations: 1.226 MB / 1.343 GB, free: 8.047 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.8355, allocations: 39.02 kB / 1.343 GB, free: 8.008 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/0.8359, allocations: 0.6138 MB / 1.343 GB, free: 7.52 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.8361, allocations: 228.3 kB / 1.344 GB, free: 7.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.8364, allocations: 157 kB / 1.344 GB, free: 7.262 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.8365, allocations: 336.1 kB / 1.344 GB, free: 6.945 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006263/0.8371, allocations: 288.8 kB / 1.344 GB, free: 6.844 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007906/0.8379, allocations: 498.5 kB / 1.345 GB, free: 6.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.8393, allocations: 0.7071 MB / 1.346 GB, free: 6.148 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8393, allocations: 1.312 kB / 1.346 GB, free: 6.148 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004224/0.8435, allocations: 1.277 MB / 1.347 GB, free: 5.738 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.8436, allocations: 5.125 kB / 1.347 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.8436, allocations: 4.438 kB / 1.347 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/0.8442, allocations: 163.1 kB / 1.347 GB, free: 5.691 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.8447, allocations: 161 kB / 1.347 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008055/0.8455, allocations: 0.7099 MB / 1.348 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008688/0.8464, allocations: 120.2 kB / 1.348 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.8465, allocations: 35.73 kB / 1.348 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009389/0.8474, allocations: 0.5567 MB / 1.348 GB, free: 4.703 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007728/0.8482, allocations: 491 kB / 1.349 GB, free: 4.328 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001311/0.8495, allocations: 0.7018 MB / 1.35 GB, free: 3.887 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.534e-06/0.8495, allocations: 1.062 kB / 1.35 GB, free: 3.887 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004249/0.8538, allocations: 1.269 MB / 1.351 GB, free: 3.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.8538, allocations: 14.25 kB / 1.351 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.8538, allocations: 3.75 kB / 1.351 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000507/0.8543, allocations: 152.1 kB / 1.351 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/0.8548, allocations: 151 kB / 1.351 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007767/0.8556, allocations: 0.7175 MB / 1.352 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008341/0.8565, allocations: 98.53 kB / 1.352 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.8565, allocations: 39.22 kB / 1.352 GB, free: 2.434 MB / 1.045 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.0001963/0.8567, allocations: 227.7 kB / 1.352 GB, free: 2.219 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.857, allocations: 140 kB / 1.352 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004264/0.8612, allocations: 1.27 MB / 1.354 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.8613, allocations: 7.281 kB / 1.354 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8613, allocations: 0 / 1.354 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003812/0.8651, allocations: 1.087 MB / 1.355 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003505/0.8686, allocations: 2.315 MB / 1.357 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.8686, allocations: 3.281 kB / 1.357 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.869, allocations: 114.8 kB / 1.357 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005/0.8695, allocations: 150.8 kB / 1.357 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.8696, allocations: 20.77 kB / 1.357 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007595/0.8704, allocations: 0.7088 MB / 1.358 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8704, allocations: 4 kB / 1.358 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.8729, allocations: 1.401 MB / 1.359 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004124/0.8733, allocations: 320.4 kB / 1.36 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.8735, allocations: 19.88 kB / 1.36 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007199/0.8742, allocations: 61.7 kB / 1.36 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.8743, allocations: 50.44 kB / 1.36 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.8744, allocations: 29.36 kB / 1.36 GB, free: 13.19 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001074/0.8754, allocations: 0.8826 MB / 1.361 GB, free: 12.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8755, allocations: 0 / 1.361 GB, free: 12.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001592/0.8771, allocations: 0.7228 MB / 1.361 GB, free: 12.54 MB / 1.061 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.003565/0.8806, allocations: 2.32 MB / 1.364 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002384/0.883, allocations: 1.123 MB / 1.365 GB, free: 10.44 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.883, allocations: 1.062 kB / 1.365 GB, free: 10.44 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008628/0.8839, allocations: 398.6 kB / 1.365 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/0.887, allocations: 0.7902 MB / 1.366 GB, free: 9.855 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/0.9044, allocations: 9.858 MB / 1.375 GB, free: 3.906 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006784/0.9051, allocations: 1.175 MB / 1.377 GB, free: 2.992 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009259/0.906, allocations: 307.5 kB / 1.377 GB, free: 2.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006468/0.9066, allocations: 0.5135 MB / 1.377 GB, free: 2.41 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.9067, allocations: 0 / 1.377 GB, free: 2.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.838/4.744, allocations: 42.45 MB / 1.419 GB, free: 9.273 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.5/21.24, allocations: 5.891 kB / 1.419 GB, free: 9.27 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)