Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 196.4 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.715/1.715, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 69.14 kB / 0.6715 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2319, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07497/0.3069, allocations: 75.22 MB / 0.8568 GB, free: 2 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02169/0.3287, allocations: 15.05 MB / 0.8715 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/0.3323, allocations: 71.56 kB / 0.8716 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003489/0.3359, allocations: 0.8306 MB / 0.8724 GB, free: 2 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008214/0.3441, allocations: 2.562 MB / 0.8749 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004732/0.3489, allocations: 1.387 MB / 0.8763 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005994/0.3549, allocations: 4.357 MB / 0.8805 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.3572, allocations: 1.433 MB / 0.8819 GB, free: 8.215 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003811/0.3611, allocations: 1.642 MB / 0.8835 GB, free: 6.574 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.3632, allocations: 1.21 MB / 0.8847 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004264/0.3636, allocations: 168 kB / 0.8849 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.3671, allocations: 1.396 MB / 0.8862 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005099/0.3676, allocations: 398.6 kB / 0.8866 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.3691, allocations: 0.9099 MB / 0.8875 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004595/0.3737, allocations: 2.84 MB / 0.8903 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3737, allocations: 0 / 0.8903 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3738, allocations: 4 kB / 0.8903 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.42e-05/0.3738, allocations: 0 / 0.8903 GB, free: 15.64 MB / 0.7169 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.004139/0.378, allocations: 2.083 MB / 0.8923 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.378, allocations: 12.03 kB / 0.8923 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008667/0.3789, allocations: 230.8 kB / 0.8925 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.3814, allocations: 1.434 MB / 0.8939 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.279e-05/0.3815, allocations: 78 kB / 0.894 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.3816, allocations: 107.9 kB / 0.8941 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.3836, allocations: 1.1 MB / 0.8952 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.3837, allocations: 7.938 kB / 0.8952 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.352e-05/0.3838, allocations: 40 kB / 0.8952 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.3838, allocations: 24 kB / 0.8952 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.3859, allocations: 0.8939 MB / 0.8961 GB, free: 9.484 MB / 0.7169 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.006649/0.3925, allocations: 4.958 MB / 0.901 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.3941, allocations: 0.6167 MB / 0.9016 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/0.3948, allocations: 350.3 kB / 0.9019 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006335/0.3954, allocations: 0.8316 MB / 0.9027 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.3955, allocations: 35.12 kB / 0.9027 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.585e-06/0.3955, allocations: 4 kB / 0.9027 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.007425/0.4029, allocations: 1.693 MB / 0.9044 GB, free: 496 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.403, allocations: 59.97 kB / 0.9045 GB, free: 424 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.4049, allocations: 1.222 MB / 0.9056 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.4051, allocations: 45.7 kB / 0.9057 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005109/0.4056, allocations: 0.6025 MB / 0.9063 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.4058, allocations: 216.9 kB / 0.9065 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.4061, allocations: 150.6 kB / 0.9066 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4062, allocations: 341.9 kB / 0.907 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006923/0.4069, allocations: 296.7 kB / 0.9072 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008871/0.4078, allocations: 0.4896 MB / 0.9077 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.4093, allocations: 0.709 MB / 0.9084 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4093, allocations: 4 kB / 0.9084 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005092/0.4144, allocations: 1.273 MB / 0.9097 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4144, allocations: 8 kB / 0.9097 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4145, allocations: 4 kB / 0.9097 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006098/0.4151, allocations: 141.1 kB / 0.9098 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.4157, allocations: 155.8 kB / 0.91 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009062/0.4167, allocations: 0.7083 MB / 0.9106 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.4178, allocations: 123 kB / 0.9108 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/0.4179, allocations: 36.06 kB / 0.9108 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001115/0.4191, allocations: 0.5487 MB / 0.9113 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008333/0.4199, allocations: 0.4929 MB / 0.9118 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0014/0.4213, allocations: 0.6973 MB / 0.9125 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.135e-05/0.4213, allocations: 4 kB / 0.9125 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004858/0.4262, allocations: 1.265 MB / 0.9137 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4262, allocations: 6.969 kB / 0.9137 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4262, allocations: 8.312 kB / 0.9137 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005225/0.4268, allocations: 144.7 kB / 0.9139 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005947/0.4274, allocations: 151.8 kB / 0.914 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008325/0.4282, allocations: 0.7045 MB / 0.9147 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.4294, allocations: 118.2 kB / 0.9148 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.4295, allocations: 31.98 kB / 0.9149 GB, free: 5.367 MB / 0.7325 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.0002506/0.4297, allocations: 235.2 kB / 0.9151 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.43, allocations: 130.4 kB / 0.9152 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004866/0.4349, allocations: 1.267 MB / 0.9164 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.4349, allocations: 8 kB / 0.9165 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4349, allocations: 0 / 0.9165 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004237/0.4391, allocations: 1.103 MB / 0.9175 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4067/0.8458, allocations: 2.613 MB / 0.9201 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/0.8459, allocations: 3.906 kB / 0.9201 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.8465, allocations: 113.1 kB / 0.9202 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00053/0.8471, allocations: 128.1 kB / 0.9203 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.782e-05/0.8471, allocations: 24.2 kB / 0.9203 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005254/0.8524, allocations: 2.625 MB / 0.9229 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.8524, allocations: 4.188 kB / 0.9229 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005974/0.8584, allocations: 1.7 MB / 0.9246 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006856/0.8591, allocations: 306.3 kB / 0.9249 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.8594, allocations: 21.19 kB / 0.9249 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008059/0.8602, allocations: 52.98 kB / 0.9249 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.8603, allocations: 61.25 kB / 0.925 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.757e-05/0.8604, allocations: 30.55 kB / 0.925 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001461/0.8619, allocations: 0.8827 MB / 0.9259 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8619, allocations: 0 / 0.9259 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003079/0.865, allocations: 0.7256 MB / 0.9266 GB, free: 133.6 MB / 0.7325 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.001123/0.8661, allocations: 464.1 kB / 0.927 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002897/0.869, allocations: 1.158 MB / 0.9282 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.869, allocations: 0 / 0.9282 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.8706, allocations: 0.5626 MB / 0.9287 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/0.8742, allocations: 0.8062 MB / 0.9295 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.8779, allocations: 2.315 MB / 0.9318 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007931/0.8787, allocations: 1.17 MB / 0.9329 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001433/0.8802, allocations: 305.7 kB / 0.9332 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.8804, allocations: 106.6 kB / 0.9333 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.8804, allocations: 2.812 kB / 0.9333 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.0554/0.9358, allocations: 32.51 MB / 0.965 GB, free: 116.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)