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_etaCar.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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.346/1.346, allocations: 252 MB / 268 MB, free: 10.87 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.0009362/0.0009362, allocations: 175 kB / 327.6 MB, free: 2.125 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.602/1.602, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0007621/0.0007624, allocations: 89.8 kB / 0.6832 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 15.28 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2092, allocations: 106.3 MB / 0.9014 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.05145/0.2607, allocations: 73.51 MB / 0.9732 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.2804, allocations: 14.87 MB / 0.9878 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003031/0.2835, allocations: 55.62 kB / 0.9878 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.286, allocations: 0.6799 MB / 0.9885 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007045/0.2931, allocations: 2.355 MB / 0.9908 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.2966, allocations: 1.238 MB / 0.992 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006678/0.3032, allocations: 5.519 MB / 0.9974 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.3052, allocations: 1.143 MB / 0.9985 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.3082, allocations: 1.341 MB / 0.9998 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.3104, allocations: 1.147 MB / 1.001 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.3107, allocations: 52 kB / 1.001 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.3138, allocations: 1.247 MB / 1.002 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003926/0.3142, allocations: 282.7 kB / 1.002 GB, free: 7.785 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.3154, allocations: 0.7944 MB / 1.003 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002775/0.3181, allocations: 2.143 MB / 1.005 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3182, allocations: 0 / 1.005 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3182, allocations: 4 kB / 1.005 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.325e-05/0.3182, allocations: 0 / 1.005 GB, free: 4.828 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.003423/0.3216, allocations: 1.776 MB / 1.007 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3217, allocations: 16.03 kB / 1.007 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007804/0.3225, allocations: 234.8 kB / 1.007 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.325, allocations: 1.485 MB / 1.009 GB, free: 1.199 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.988e-05/0.325, allocations: 77.94 kB / 1.009 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.3252, allocations: 100 kB / 1.009 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.3272, allocations: 1.112 MB / 1.01 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.3273, allocations: 0 / 1.01 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.807e-05/0.3274, allocations: 40 kB / 1.01 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/0.3274, allocations: 31.98 kB / 1.01 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.3294, allocations: 0.9368 MB / 1.011 GB, free: 14.87 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.007126/0.3365, allocations: 4.907 MB / 1.016 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.3381, allocations: 0.6488 MB / 1.016 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007665/0.3389, allocations: 368.2 kB / 1.017 GB, free: 8.656 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/0.3397, allocations: 0.8238 MB / 1.018 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.3397, allocations: 43.06 kB / 1.018 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=61): time 2.826e-06/0.3397, allocations: 0 / 1.018 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of matching and sorting (n=61): time 0.007318/0.347, allocations: 1.9 MB / 1.019 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.3471, allocations: 55.97 kB / 1.02 GB, free: 5.602 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.3489, allocations: 1.21 MB / 1.021 GB, free: 4.375 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.349, allocations: 41.7 kB / 1.021 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005279/0.3496, allocations: 0.5987 MB / 1.021 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.3498, allocations: 216.9 kB / 1.022 GB, free: 3.508 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.3498, allocations: 15.94 kB / 1.022 GB, free: 3.492 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.35, allocations: 334 kB / 1.022 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006927/0.3507, allocations: 305.8 kB / 1.022 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/0.3515, allocations: 0.5162 MB / 1.023 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.353, allocations: 0.7558 MB / 1.023 GB, free: 1.461 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.353, allocations: 0 / 1.023 GB, free: 1.461 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004715/0.3577, allocations: 1.406 MB / 1.025 GB, free: 44 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.3579, allocations: 198.2 kB / 1.025 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3579, allocations: 4 kB / 1.025 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/0.3585, allocations: 140.7 kB / 1.025 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/0.3592, allocations: 171.8 kB / 1.025 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008721/0.3601, allocations: 0.7161 MB / 1.026 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.3614, allocations: 178.9 kB / 1.026 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.83e-05/0.3615, allocations: 35.98 kB / 1.026 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.3615, allocations: 4 kB / 1.026 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004412/0.3659, allocations: 1.253 MB / 1.027 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3659, allocations: 4 kB / 1.027 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004975/0.3664, allocations: 145.1 kB / 1.028 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.3671, allocations: 163.8 kB / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008227/0.3679, allocations: 0.7239 MB / 1.028 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.3692, allocations: 163.2 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/0.3693, allocations: 28 kB / 1.029 GB, free: 12.02 MB / 0.6823 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.0006813/0.3699, allocations: 417.5 kB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.3702, allocations: 138.2 kB / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/0.3748, allocations: 1.404 MB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.3749, allocations: 11.98 kB / 1.03 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.3749, allocations: 4 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004323/0.3792, allocations: 1.236 MB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007449/0.3867, allocations: 2.738 MB / 1.034 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.3867, allocations: 4 kB / 1.034 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.3873, allocations: 119.9 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00051/0.3878, allocations: 145 kB / 1.035 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/0.3879, allocations: 16 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005004/0.3929, allocations: 2.478 MB / 1.037 GB, free: 3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3929, allocations: 4 kB / 1.037 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005728/0.3987, allocations: 1.852 MB / 1.039 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008929/0.3996, allocations: 335.1 kB / 1.039 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000299/0.3999, allocations: 19.94 kB / 1.039 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.401, allocations: 94.03 kB / 1.039 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.4012, allocations: 64.22 kB / 1.039 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.069e-05/0.4013, allocations: 27.98 kB / 1.039 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0014/0.4027, allocations: 0.8622 MB / 1.04 GB, free: 15.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4027, allocations: 0 / 1.04 GB, free: 15.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002384/0.4051, allocations: 0.7134 MB / 1.041 GB, free: 14.95 MB / 0.698 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.001065/0.4062, allocations: 453.4 kB / 1.041 GB, free: 14.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002827/0.409, allocations: 1.168 MB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.409, allocations: 0 / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.4106, allocations: 0.6034 MB / 1.043 GB, free: 12.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004583/0.4152, allocations: 0.8101 MB / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004556/0.4198, allocations: 2.844 MB / 1.047 GB, free: 9.016 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008561/0.4207, allocations: 1.173 MB / 1.048 GB, free: 7.816 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/0.4211, allocations: 111.4 kB / 1.048 GB, free: 7.707 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/0.4212, allocations: 4 kB / 1.048 GB, free: 7.703 MB / 0.698 GB Notification: Performance of Templates: time 0.4107/0.8319, allocations: 30.72 MB / 1.078 GB, free: 137.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)