Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 113.2 kB / 16.37 MB, free: 6.012 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.00167/0.00167, allocations: 185.7 kB / 17.31 MB, free: 5.613 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.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.747/1.747, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001838/0.001838, allocations: 63.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2507, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.5106/0.7613, allocations: 75.23 MB / 0.8583 GB, free: 14.83 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02514/0.7865, allocations: 15.05 MB / 0.873 GB, free: 4.043 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00416/0.7907, allocations: 63.69 kB / 0.873 GB, free: 4.02 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003714/0.7945, allocations: 0.8288 MB / 0.8738 GB, free: 3.5 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.8048, allocations: 2.555 MB / 0.8763 GB, free: 1.969 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005172/0.8099, allocations: 1.415 MB / 0.8777 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008766/0.8187, allocations: 4.357 MB / 0.882 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004253/0.823, allocations: 1.434 MB / 0.8834 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007105/0.8301, allocations: 1.652 MB / 0.885 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004094/0.8342, allocations: 1.216 MB / 0.8862 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008368/0.8351, allocations: 163.9 kB / 0.8863 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006307/0.8414, allocations: 1.424 MB / 0.8877 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.8426, allocations: 406.3 kB / 0.8881 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003117/0.8457, allocations: 0.9092 MB / 0.889 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008641/0.8543, allocations: 2.882 MB / 0.8918 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.8544, allocations: 1.125 kB / 0.8918 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.498e-05/0.8544, allocations: 0 / 0.8918 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000104/0.8545, allocations: 3.938 kB / 0.8918 GB, free: 8.086 MB / 0.6856 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.00854/0.8631, allocations: 2.102 MB / 0.8939 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.8632, allocations: 9.969 kB / 0.8939 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.8648, allocations: 227 kB / 0.8941 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005296/0.8701, allocations: 1.518 MB / 0.8956 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.8703, allocations: 76.31 kB / 0.8956 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000368/0.8706, allocations: 105.8 kB / 0.8957 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00368/0.8743, allocations: 1.105 MB / 0.8968 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.8744, allocations: 1.312 kB / 0.8968 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.8746, allocations: 36.16 kB / 0.8968 GB, free: 4.406 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.588e-05/0.8747, allocations: 28.62 kB / 0.8969 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/0.8778, allocations: 0.8992 MB / 0.8978 GB, free: 3.953 MB / 0.6856 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.01101/0.8888, allocations: 4.92 MB / 0.9026 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.8908, allocations: 0.6211 MB / 0.9032 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009964/0.8918, allocations: 351.1 kB / 0.9035 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.893, allocations: 0.833 MB / 0.9043 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.8931, allocations: 38 kB / 0.9043 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=62): time 4.778e-06/0.8931, allocations: 0 / 0.9043 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of matching and sorting (n=62): time 0.006853/0.8999, allocations: 1.403 MB / 0.9057 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.9, allocations: 57.47 kB / 0.9058 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003362/0.9034, allocations: 1.234 MB / 0.907 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.9036, allocations: 37.7 kB / 0.907 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008521/0.9045, allocations: 0.6027 MB / 0.9076 GB, free: 12 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004695/0.9049, allocations: 212.8 kB / 0.9078 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004262/0.9054, allocations: 166.5 kB / 0.908 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.9056, allocations: 333.9 kB / 0.9083 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009638/0.9065, allocations: 296.7 kB / 0.9086 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.9078, allocations: 0.4925 MB / 0.909 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.9098, allocations: 0.7004 MB / 0.9097 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.9098, allocations: 4 kB / 0.9097 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005697/0.9155, allocations: 1.269 MB / 0.911 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.9156, allocations: 4 kB / 0.911 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.9156, allocations: 4 kB / 0.911 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007328/0.9163, allocations: 157.9 kB / 0.9111 GB, free: 8.23 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.917, allocations: 151.8 kB / 0.9113 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009669/0.918, allocations: 0.721 MB / 0.912 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.9195, allocations: 119 kB / 0.9121 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.9196, allocations: 31.98 kB / 0.9121 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001323/0.921, allocations: 0.5605 MB / 0.9127 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009159/0.9219, allocations: 491.8 kB / 0.9131 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001491/0.9234, allocations: 0.6965 MB / 0.9138 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.051e-06/0.9234, allocations: 4 kB / 0.9138 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00489/0.9283, allocations: 1.265 MB / 0.9151 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.9283, allocations: 8 kB / 0.9151 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9284, allocations: 4 kB / 0.9151 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00066/0.929, allocations: 157 kB / 0.9152 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.9297, allocations: 155.8 kB / 0.9154 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009189/0.9306, allocations: 0.7174 MB / 0.9161 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.9322, allocations: 107.1 kB / 0.9162 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.9323, allocations: 27.98 kB / 0.9162 GB, free: 2.848 MB / 0.7012 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.000328/0.9326, allocations: 233.2 kB / 0.9164 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005365/0.9332, allocations: 138.2 kB / 0.9166 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004946/0.9381, allocations: 1.251 MB / 0.9178 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.9382, allocations: 7.984 kB / 0.9178 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/0.9382, allocations: 3.938 kB / 0.9178 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004214/0.9424, allocations: 1.088 MB / 0.9188 GB, free: 88 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005361/0.9478, allocations: 2.322 MB / 0.9211 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.9478, allocations: 4.438 kB / 0.9211 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000501/0.9483, allocations: 115.9 kB / 0.9212 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006196/0.949, allocations: 140.7 kB / 0.9214 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-05/0.949, allocations: 27.92 kB / 0.9214 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000864/0.9499, allocations: 0.7045 MB / 0.9221 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.9499, allocations: 7.938 kB / 0.9221 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/0.953, allocations: 1.391 MB / 0.9234 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009225/0.954, allocations: 303.3 kB / 0.9237 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004938/0.9545, allocations: 23.98 kB / 0.9238 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.9557, allocations: 55.78 kB / 0.9238 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.9558, allocations: 60.25 kB / 0.9239 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.983e-05/0.9559, allocations: 31.98 kB / 0.9239 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00169/0.9576, allocations: 0.8816 MB / 0.9248 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9576, allocations: 0 / 0.9248 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002832/0.9605, allocations: 0.7174 MB / 0.9255 GB, free: 9.078 MB / 0.7169 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.001202/0.9617, allocations: 468 kB / 0.9259 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002947/0.9646, allocations: 1.115 MB / 0.927 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/0.9647, allocations: 4 kB / 0.927 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.9657, allocations: 407.7 kB / 0.9274 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004517/0.9702, allocations: 0.817 MB / 0.9282 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/0.975, allocations: 2.301 MB / 0.9304 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.9761, allocations: 1.157 MB / 0.9316 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.9765, allocations: 115.4 kB / 0.9317 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of SimCode: time 1.132e-06/0.9766, allocations: 3.938 kB / 0.9317 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of Templates: time 0.04761/1.024, allocations: 31.23 MB / 0.9622 GB, free: 3.73 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)