Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_TCon_LowTemperature,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature",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.0009632/0.0009633, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005298/0.005298, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 12.28 kB / 0.8729 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5311/0.5315, allocations: 153.8 MB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.0576/0.5891, allocations: 59.83 MB / 1.082 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.6045, allocations: 11.93 MB / 1.093 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.6061, allocations: 55.56 kB / 1.093 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.6078, allocations: 0.5516 MB / 1.094 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004599/0.6124, allocations: 1.807 MB / 1.096 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.615, allocations: 1.087 MB / 1.097 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00416/0.6192, allocations: 3.913 MB / 1.1 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.6206, allocations: 0.9131 MB / 1.101 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.6227, allocations: 1.124 MB / 1.102 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.6239, allocations: 0.8592 MB / 1.103 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.714e-05/0.624, allocations: 40 kB / 1.103 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.6263, allocations: 1.333 MB / 1.105 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.6265, allocations: 222.8 kB / 1.105 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005827/0.6271, allocations: 0.631 MB / 1.105 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.6295, allocations: 2.204 MB / 1.108 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.6295, allocations: 0 / 1.108 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6295, allocations: 0 / 1.108 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.6296, allocations: 0 / 1.108 GB, free: 9.137 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002534/0.6321, allocations: 1.514 MB / 1.109 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6322, allocations: 12.03 kB / 1.109 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/0.6323, allocations: 119 kB / 1.109 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/0.6345, allocations: 470.8 kB / 1.11 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.6364, allocations: 1.136 MB / 1.111 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/0.6368, allocations: 133.9 kB / 1.111 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.6369, allocations: 80 kB / 1.111 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.639, allocations: 1.029 MB / 1.112 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.639, allocations: 0 / 1.112 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.762e-05/0.6391, allocations: 39.94 kB / 1.112 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.6391, allocations: 20 kB / 1.112 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/0.6416, allocations: 0.9563 MB / 1.113 GB, free: 3.48 MB / 0.8575 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.005969/0.6476, allocations: 4.914 MB / 1.118 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/0.6513, allocations: 0.913 MB / 1.119 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008277/0.6521, allocations: 340.6 kB / 1.119 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005872/0.6527, allocations: 0.9102 MB / 1.12 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.6527, allocations: 42.52 kB / 1.12 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 2.144e-06/0.6528, allocations: 3.938 kB / 1.12 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.009214/0.662, allocations: 2.211 MB / 1.122 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.662, allocations: 63.39 kB / 1.122 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.6637, allocations: 1.063 MB / 1.123 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.58e-05/0.6638, allocations: 33.7 kB / 1.123 GB, free: 8.348 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004225/0.6642, allocations: 0.5313 MB / 1.124 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.6643, allocations: 153.8 kB / 1.124 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.6644, allocations: 49.69 kB / 1.124 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6645, allocations: 326 kB / 1.124 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.6656, allocations: 348.8 kB / 1.125 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.6668, allocations: 0.5569 MB / 1.125 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.6686, allocations: 0.7688 MB / 1.126 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.6687, allocations: 7.938 kB / 1.126 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002941/0.6716, allocations: 1.086 MB / 1.127 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.6717, allocations: 217.6 kB / 1.127 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.6718, allocations: 4 kB / 1.127 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.6731, allocations: 332.7 kB / 1.127 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.6737, allocations: 143.7 kB / 1.128 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.6752, allocations: 0.937 MB / 1.128 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.6766, allocations: 203.2 kB / 1.129 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/0.6767, allocations: 27.98 kB / 1.129 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.6767, allocations: 4 kB / 1.129 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002666/0.6794, allocations: 0.9601 MB / 1.13 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.6794, allocations: 4 kB / 1.13 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.6805, allocations: 325 kB / 1.13 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.6811, allocations: 135.8 kB / 1.13 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.6826, allocations: 0.9439 MB / 1.131 GB, free: 36 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.6838, allocations: 183.2 kB / 1.131 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.537e-05/0.6839, allocations: 35.92 kB / 1.131 GB, free: 15.82 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004873/0.6844, allocations: 349 kB / 1.132 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.6846, allocations: 106.7 kB / 1.132 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/0.6888, allocations: 1.244 MB / 1.133 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.6888, allocations: 11.97 kB / 1.133 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6888, allocations: 3.938 kB / 1.133 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6888, allocations: 0 / 1.133 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005444/0.6943, allocations: 2.339 MB / 1.135 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.6943, allocations: 0 / 1.135 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.6946, allocations: 83.88 kB / 1.135 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.6957, allocations: 322.1 kB / 1.136 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/0.6957, allocations: 15.98 kB / 1.136 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.6972, allocations: 0.9632 MB / 1.137 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6972, allocations: 8.016 kB / 1.137 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/0.7011, allocations: 1.321 MB / 1.138 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004422/0.7015, allocations: 287.4 kB / 1.138 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.7017, allocations: 8 kB / 1.138 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009744/0.7027, allocations: 115.9 kB / 1.138 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.7028, allocations: 47.81 kB / 1.138 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.7028, allocations: 23.98 kB / 1.138 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001122/0.704, allocations: 0.751 MB / 1.139 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.01e-07/0.704, allocations: 0 / 1.139 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001385/0.7054, allocations: 0.5652 MB / 1.14 GB, free: 7.074 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004819/0.7102, allocations: 2.144 MB / 1.142 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003362/0.7136, allocations: 1.235 MB / 1.143 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7136, allocations: 3.938 kB / 1.143 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009894/0.7146, allocations: 395.2 kB / 1.143 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/0.7173, allocations: 0.5022 MB / 1.144 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/0.7365, allocations: 9.371 MB / 1.153 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/0.7372, allocations: 1.069 MB / 1.154 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009344/0.7381, allocations: 229.3 kB / 1.154 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/0.7386, allocations: 411.3 kB / 1.155 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of SimCode: time 5.91e-07/0.7386, allocations: 0 / 1.155 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.174/2.913, allocations: 32.39 MB / 1.186 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003628/2.913, allocations: 301.5 kB / 1.186 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.599/6.513, allocations: 0 / 1.186 GB, free: 6.945 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)