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.001393/0.001393, allocations: 115.9 kB / 16.38 MB, free: 5.547 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.001496/0.001496, allocations: 186.1 kB / 17.31 MB, free: 5.188 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.404/1.404, allocations: 205.1 MB / 223.2 MB, free: 12.12 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.775/1.775, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001555/0.001555, allocations: 67.91 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2003, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.4094/0.6097, allocations: 75.23 MB / 0.8583 GB, free: 14.81 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02558/0.6353, allocations: 15.05 MB / 0.873 GB, free: 4.027 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003853/0.6393, allocations: 68.03 kB / 0.873 GB, free: 4 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00324/0.6426, allocations: 0.8297 MB / 0.8738 GB, free: 3.48 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009453/0.6521, allocations: 2.565 MB / 0.8763 GB, free: 1.941 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004508/0.6566, allocations: 1.402 MB / 0.8777 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007/0.6636, allocations: 4.366 MB / 0.882 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.6665, allocations: 1.433 MB / 0.8834 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00445/0.671, allocations: 1.643 MB / 0.885 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.6738, allocations: 1.215 MB / 0.8862 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006058/0.6744, allocations: 163.7 kB / 0.8863 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004198/0.6786, allocations: 1.425 MB / 0.8877 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007402/0.6794, allocations: 405.3 kB / 0.8881 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002235/0.6816, allocations: 0.9133 MB / 0.889 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005991/0.6876, allocations: 2.884 MB / 0.8918 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.6877, allocations: 3.938 kB / 0.8918 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.554e-06/0.6877, allocations: 1.344 kB / 0.8918 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.945e-05/0.6878, allocations: 0 / 0.8918 GB, free: 8.039 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.005492/0.6933, allocations: 2.09 MB / 0.8938 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.6933, allocations: 9.156 kB / 0.8939 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009974/0.6943, allocations: 231.1 kB / 0.8941 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/0.6973, allocations: 1.515 MB / 0.8956 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.36e-05/0.6974, allocations: 75.84 kB / 0.8956 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.6975, allocations: 110.4 kB / 0.8957 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.6996, allocations: 1.106 MB / 0.8968 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.6997, allocations: 1.312 kB / 0.8968 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.795e-05/0.6998, allocations: 46.61 kB / 0.8969 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.912e-05/0.6998, allocations: 32.8 kB / 0.8969 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.7018, allocations: 0.8903 MB / 0.8978 GB, free: 3.91 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.006555/0.7084, allocations: 4.92 MB / 0.9026 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.7098, allocations: 0.6166 MB / 0.9032 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007419/0.7106, allocations: 355.3 kB / 0.9035 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000692/0.7113, allocations: 0.8255 MB / 0.9043 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.7114, allocations: 44.19 kB / 0.9044 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=62): time 2.725e-06/0.7114, allocations: 0 / 0.9044 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=62): time 0.005388/0.7168, allocations: 1.406 MB / 0.9057 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.7168, allocations: 57.47 kB / 0.9058 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.7191, allocations: 1.227 MB / 0.907 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.7192, allocations: 42.27 kB / 0.907 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005786/0.7198, allocations: 0.5987 MB / 0.9076 GB, free: 12 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.7201, allocations: 220.8 kB / 0.9078 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.7204, allocations: 158.5 kB / 0.908 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7205, allocations: 337.9 kB / 0.9083 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007367/0.7213, allocations: 290.6 kB / 0.9086 GB, free: 11 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009485/0.7222, allocations: 0.4931 MB / 0.909 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.7238, allocations: 0.7043 MB / 0.9097 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.7238, allocations: 0 / 0.9097 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005141/0.7289, allocations: 1.269 MB / 0.911 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.729, allocations: 8 kB / 0.911 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.729, allocations: 4 kB / 0.911 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007601/0.7298, allocations: 153.3 kB / 0.9111 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.7305, allocations: 155.8 kB / 0.9113 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009758/0.7315, allocations: 0.7224 MB / 0.912 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.7329, allocations: 119.1 kB / 0.9121 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.7331, allocations: 35.98 kB / 0.9121 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001257/0.7343, allocations: 0.5487 MB / 0.9127 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009356/0.7353, allocations: 0.4932 MB / 0.9132 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001524/0.7368, allocations: 0.7004 MB / 0.9138 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.067e-06/0.7368, allocations: 0 / 0.9138 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005146/0.742, allocations: 1.257 MB / 0.9151 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.742, allocations: 8 kB / 0.9151 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.742, allocations: 4.375 kB / 0.9151 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006587/0.7427, allocations: 160.7 kB / 0.9152 GB, free: 3.879 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006451/0.7433, allocations: 153.2 kB / 0.9154 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009258/0.7443, allocations: 0.7201 MB / 0.9161 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.7458, allocations: 99.52 kB / 0.9162 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.7459, allocations: 35.98 kB / 0.9162 GB, free: 2.852 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.0003114/0.7462, allocations: 225.1 kB / 0.9164 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005154/0.7467, allocations: 138.2 kB / 0.9166 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/0.7516, allocations: 1.251 MB / 0.9178 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004158/0.7558, allocations: 1.088 MB / 0.9188 GB, free: 112 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.7558, allocations: 3.938 kB / 0.9188 GB, free: 108 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009762/0.7568, allocations: 303.2 kB / 0.9191 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004732/0.7573, allocations: 14.31 kB / 0.9191 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.7584, allocations: 59.86 kB / 0.9192 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.7586, allocations: 44.45 kB / 0.9192 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003008/0.7616, allocations: 0.9716 MB / 0.9202 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00284/0.7644, allocations: 1.344 MB / 0.9215 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007384/0.7652, allocations: 332.2 kB / 0.9218 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001644/0.7668, allocations: 0.8614 MB / 0.9227 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of Backend: time 5.51e-07/0.7669, allocations: 0 / 0.9227 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004978/0.7718, allocations: 1.381 MB / 0.924 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of SimCode: time 0.006819/0.7787, allocations: 3.171 MB / 0.9271 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of Templates: time 0.05591/0.8346, allocations: 33.96 MB / 0.9603 GB, free: 6.102 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)