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.00106/0.00106, allocations: 105.1 kB / 16.29 MB, free: 6.031 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.001116/0.001116, allocations: 179.3 kB / 17.22 MB, free: 5.641 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.319/1.319, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.754/1.754, allocations: 292.3 MB / 0.5495 GB, free: 17.37 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.001599/0.0016, allocations: 75.02 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2443, allocations: 114.6 MB / 0.7841 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.4282/0.6725, allocations: 75.23 MB / 0.8575 GB, free: 15.04 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02369/0.6963, allocations: 15.07 MB / 0.8722 GB, free: 4.242 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003355/0.6997, allocations: 64.56 kB / 0.8723 GB, free: 4.219 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.7024, allocations: 0.8215 MB / 0.8731 GB, free: 3.707 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008518/0.7109, allocations: 2.567 MB / 0.8756 GB, free: 2.164 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004755/0.7157, allocations: 1.4 MB / 0.877 GB, free: 1.242 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007404/0.7231, allocations: 4.363 MB / 0.8812 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.7258, allocations: 1.443 MB / 0.8827 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004819/0.7307, allocations: 1.634 MB / 0.8842 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.7337, allocations: 1.218 MB / 0.8854 GB, free: 12 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004488/0.7341, allocations: 165.1 kB / 0.8856 GB, free: 12 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004124/0.7383, allocations: 1.423 MB / 0.887 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005177/0.7388, allocations: 411 kB / 0.8874 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.7402, allocations: 0.9051 MB / 0.8883 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004975/0.7452, allocations: 2.888 MB / 0.8911 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7452, allocations: 0 / 0.8911 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7452, allocations: 0.875 kB / 0.8911 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.463e-05/0.7453, allocations: 0 / 0.8911 GB, free: 8.352 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.004603/0.7499, allocations: 2.099 MB / 0.8931 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.75, allocations: 9.531 kB / 0.8931 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009038/0.7509, allocations: 238.8 kB / 0.8934 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.7535, allocations: 1.442 MB / 0.8948 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.52e-05/0.7536, allocations: 80.38 kB / 0.8949 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.7537, allocations: 105.6 kB / 0.895 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.7559, allocations: 1.102 MB / 0.896 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.7559, allocations: 1.156 kB / 0.896 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.52e-05/0.756, allocations: 41.78 kB / 0.8961 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.756, allocations: 24.5 kB / 0.8961 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.7579, allocations: 0.8944 MB / 0.897 GB, free: 4.258 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.00633/0.7643, allocations: 4.925 MB / 0.9018 GB, free: 16 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.7657, allocations: 0.6134 MB / 0.9024 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.7663, allocations: 351.7 kB / 0.9027 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007514/0.7671, allocations: 0.8316 MB / 0.9035 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.7671, allocations: 43.25 kB / 0.9036 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=62): time 4.157e-06/0.7671, allocations: 0 / 0.9036 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of matching and sorting (n=62): time 0.004387/0.7715, allocations: 1.399 MB / 0.9049 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.7716, allocations: 65.31 kB / 0.905 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.7731, allocations: 1.229 MB / 0.9062 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/0.7732, allocations: 40.58 kB / 0.9062 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/0.7737, allocations: 0.6036 MB / 0.9068 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.7739, allocations: 211.3 kB / 0.907 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.7741, allocations: 161 kB / 0.9072 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7742, allocations: 337.5 kB / 0.9075 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.7749, allocations: 295.8 kB / 0.9078 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008553/0.7757, allocations: 0.4969 MB / 0.9083 GB, free: 11 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.777, allocations: 0.7004 MB / 0.909 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.777, allocations: 0 / 0.909 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004176/0.7812, allocations: 1.269 MB / 0.9102 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.7813, allocations: 8 kB / 0.9102 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.7813, allocations: 15.86 kB / 0.9102 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007732/0.7821, allocations: 149.7 kB / 0.9104 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.7826, allocations: 159.8 kB / 0.9105 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008891/0.7836, allocations: 0.7167 MB / 0.9112 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.7847, allocations: 123 kB / 0.9113 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.7848, allocations: 31.98 kB / 0.9114 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001104/0.7859, allocations: 0.5488 MB / 0.9119 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000792/0.7867, allocations: 491.9 kB / 0.9124 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001298/0.788, allocations: 0.7042 MB / 0.913 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.286e-06/0.7881, allocations: 1.562 kB / 0.9131 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004098/0.7922, allocations: 1.269 MB / 0.9143 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.7922, allocations: 8 kB / 0.9143 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7922, allocations: 4 kB / 0.9143 GB, free: 4.594 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.7927, allocations: 153.5 kB / 0.9144 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.7933, allocations: 151.8 kB / 0.9146 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007635/0.7941, allocations: 0.7175 MB / 0.9153 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.7953, allocations: 109.8 kB / 0.9154 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/0.7953, allocations: 35.92 kB / 0.9154 GB, free: 3.41 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.0003175/0.7957, allocations: 221.2 kB / 0.9156 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.7959, allocations: 142.2 kB / 0.9158 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.8001, allocations: 1.251 MB / 0.917 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.8001, allocations: 8 kB / 0.917 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.8001, allocations: 0 / 0.917 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003684/0.8038, allocations: 1.096 MB / 0.9181 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003945/0.8078, allocations: 2.306 MB / 0.9203 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.8078, allocations: 4 kB / 0.9203 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.8083, allocations: 116.2 kB / 0.9204 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000528/0.8088, allocations: 144.7 kB / 0.9206 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.8089, allocations: 27.92 kB / 0.9206 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007434/0.8096, allocations: 0.7006 MB / 0.9213 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.8096, allocations: 7.984 kB / 0.9213 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.8122, allocations: 1.403 MB / 0.9227 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005589/0.8127, allocations: 303.2 kB / 0.923 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.8129, allocations: 17.94 kB / 0.923 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007341/0.8137, allocations: 59.89 kB / 0.923 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.8138, allocations: 52.31 kB / 0.9231 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.8139, allocations: 31.92 kB / 0.9231 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001186/0.815, allocations: 0.8933 MB / 0.924 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8151, allocations: 0 / 0.924 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001876/0.8169, allocations: 0.7174 MB / 0.9247 GB, free: 9.648 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.0009066/0.8179, allocations: 458.4 kB / 0.9251 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002475/0.8203, allocations: 1.119 MB / 0.9262 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.8204, allocations: 0 / 0.9262 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008823/0.8212, allocations: 411.7 kB / 0.9266 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/0.8244, allocations: 0.8107 MB / 0.9274 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.8281, allocations: 2.278 MB / 0.9296 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/0.8288, allocations: 1.168 MB / 0.9308 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001061/0.8299, allocations: 301.5 kB / 0.9311 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.8302, allocations: 107.4 kB / 0.9312 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of SimCode: time 6.71e-07/0.8302, allocations: 4 kB / 0.9312 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of Templates: time 0.05174/0.8819, allocations: 32.3 MB / 0.9627 GB, free: 3.16 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)