Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.44/1.44, allocations: 252 MB / 268 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 184.5 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007733/0.0007732, allocations: 98.27 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003856, allocations: 15.8 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1978, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.0516/0.2495, allocations: 73.51 MB / 0.9732 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01926/0.2688, allocations: 14.88 MB / 0.9878 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003052/0.2719, allocations: 51.62 kB / 0.9878 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002732/0.2746, allocations: 0.6682 MB / 0.9885 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008065/0.2827, allocations: 2.371 MB / 0.9908 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003699/0.2864, allocations: 1.238 MB / 0.992 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006829/0.2933, allocations: 5.515 MB / 0.9974 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/0.2956, allocations: 1.132 MB / 0.9985 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003212/0.2989, allocations: 1.353 MB / 0.9998 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.3013, allocations: 1.151 MB / 1.001 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004598/0.3018, allocations: 56 kB / 1.001 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004004/0.3058, allocations: 1.255 MB / 1.002 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005778/0.3065, allocations: 294.6 kB / 1.002 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.3079, allocations: 0.7984 MB / 1.003 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002762/0.3106, allocations: 2.151 MB / 1.005 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3107, allocations: 0 / 1.005 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3107, allocations: 3.938 kB / 1.005 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.93e-05/0.3107, allocations: 4 kB / 1.005 GB, free: 4.715 MB / 0.6511 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.003318/0.314, allocations: 1.791 MB / 1.007 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3141, allocations: 8.031 kB / 1.007 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007599/0.3148, allocations: 242.8 kB / 1.007 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.3172, allocations: 1.489 MB / 1.009 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/0.3173, allocations: 78 kB / 1.009 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.3174, allocations: 104 kB / 1.009 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.3195, allocations: 1.112 MB / 1.01 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.3195, allocations: 0 / 1.01 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/0.3196, allocations: 40 kB / 1.01 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/0.3196, allocations: 24 kB / 1.01 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.3215, allocations: 0.9407 MB / 1.011 GB, free: 14.74 MB / 0.6667 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.00614/0.3277, allocations: 4.915 MB / 1.016 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.3291, allocations: 0.6436 MB / 1.016 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007418/0.3298, allocations: 371.5 kB / 1.017 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006031/0.3305, allocations: 0.8316 MB / 1.018 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3305, allocations: 47.06 kB / 1.018 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 2.815e-06/0.3305, allocations: 0 / 1.018 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.004925/0.3354, allocations: 1.522 MB / 1.019 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3355, allocations: 55.97 kB / 1.019 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.3373, allocations: 1.214 MB / 1.02 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.3374, allocations: 41.64 kB / 1.02 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005206/0.3379, allocations: 0.6066 MB / 1.021 GB, free: 3.934 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.3381, allocations: 212.8 kB / 1.021 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.3382, allocations: 23.94 kB / 1.021 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3383, allocations: 334 kB / 1.022 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/0.339, allocations: 301.8 kB / 1.022 GB, free: 3.074 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000808/0.3398, allocations: 0.5076 MB / 1.022 GB, free: 2.488 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.3412, allocations: 0.7588 MB / 1.023 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.3413, allocations: 0 / 1.023 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004853/0.3461, allocations: 1.398 MB / 1.024 GB, free: 284 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.3463, allocations: 191.7 kB / 1.025 GB, free: 44 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3463, allocations: 4 kB / 1.025 GB, free: 40 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007131/0.347, allocations: 160.7 kB / 1.025 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/0.3477, allocations: 167.8 kB / 1.025 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008616/0.3486, allocations: 0.7383 MB / 1.026 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.35, allocations: 171 kB / 1.026 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.3501, allocations: 32 kB / 1.026 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.3501, allocations: 7.938 kB / 1.026 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00448/0.3546, allocations: 1.257 MB / 1.027 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.3546, allocations: 4 kB / 1.027 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.3553, allocations: 164.8 kB / 1.027 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.3559, allocations: 163.8 kB / 1.027 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008333/0.3567, allocations: 0.728 MB / 1.028 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.3581, allocations: 163.2 kB / 1.028 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.3582, allocations: 31.98 kB / 1.028 GB, free: 12.21 MB / 0.6823 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.0007638/0.359, allocations: 417.6 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003712/0.3594, allocations: 134.3 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/0.3641, allocations: 1.4 MB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.3642, allocations: 8 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3642, allocations: 0 / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004067/0.3682, allocations: 1.221 MB / 1.031 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004736/0.373, allocations: 2.345 MB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.3731, allocations: 4 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.3736, allocations: 123.8 kB / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006243/0.3742, allocations: 149.1 kB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/0.3743, allocations: 23.98 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000819/0.3751, allocations: 0.7239 MB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3751, allocations: 4 kB / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/0.3781, allocations: 1.458 MB / 1.036 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000774/0.3788, allocations: 335.1 kB / 1.036 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002902/0.3792, allocations: 19.98 kB / 1.036 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.3802, allocations: 99.86 kB / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.3803, allocations: 56.3 kB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.533e-05/0.3804, allocations: 31.98 kB / 1.037 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001441/0.3819, allocations: 0.866 MB / 1.038 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3819, allocations: 4 kB / 1.038 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001966/0.3839, allocations: 0.6979 MB / 1.038 GB, free: 1.816 MB / 0.6823 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.001025/0.3849, allocations: 449 kB / 1.039 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002817/0.3877, allocations: 1.18 MB / 1.04 GB, free: 208 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3877, allocations: 0 / 1.04 GB, free: 208 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009633/0.3887, allocations: 415.3 kB / 1.04 GB, free: 15.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/0.3932, allocations: 0.8058 MB / 1.041 GB, free: 15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/0.3976, allocations: 2.859 MB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008987/0.3985, allocations: 1.165 MB / 1.045 GB, free: 10.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/0.399, allocations: 123.3 kB / 1.045 GB, free: 10.75 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/0.399, allocations: 0 / 1.045 GB, free: 10.75 MB / 0.698 GB Notification: Performance of Templates: time 0.392/0.791, allocations: 30.73 MB / 1.075 GB, free: 138.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)