Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008403/0.0008401, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0008749/0.0008751, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.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.589/1.589, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0007282/0.0007284, allocations: 15.66 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2493, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06381/0.3131, allocations: 69.47 MB / 0.8551 GB, free: 6.27 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02001/0.3332, allocations: 14.07 MB / 0.8689 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.3352, allocations: 59.56 kB / 0.8689 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.3368, allocations: 0.5666 MB / 0.8695 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005465/0.3423, allocations: 1.973 MB / 0.8714 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.3455, allocations: 0.9743 MB / 0.8723 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006052/0.3515, allocations: 4.777 MB / 0.877 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.3533, allocations: 1.013 MB / 0.878 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.3563, allocations: 1.287 MB / 0.8793 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.3584, allocations: 1.077 MB / 0.8803 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002081/0.3586, allocations: 56 kB / 0.8804 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002835/0.3614, allocations: 0.9199 MB / 0.8813 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003574/0.3618, allocations: 278.7 kB / 0.8815 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006701/0.3625, allocations: 356.9 kB / 0.8819 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002612/0.3651, allocations: 2.081 MB / 0.8839 GB, free: 8.691 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3651, allocations: 0 / 0.8839 GB, free: 8.691 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3651, allocations: 0 / 0.8839 GB, free: 8.691 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.3652, allocations: 0 / 0.8839 GB, free: 8.691 MB / 0.7012 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.003345/0.3685, allocations: 1.799 MB / 0.8857 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3686, allocations: 12.03 kB / 0.8857 GB, free: 6.816 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006931/0.3693, allocations: 241.9 kB / 0.8859 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.3715, allocations: 1.423 MB / 0.8873 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.3716, allocations: 78 kB / 0.8874 GB, free: 5.023 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.3717, allocations: 103.9 kB / 0.8875 GB, free: 4.922 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.3736, allocations: 1.112 MB / 0.8885 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.3737, allocations: 0 / 0.8885 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.668e-05/0.3738, allocations: 44 kB / 0.8886 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.3738, allocations: 27.98 kB / 0.8886 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.3756, allocations: 0.9251 MB / 0.8895 GB, free: 2.781 MB / 0.7012 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.005751/0.3814, allocations: 4.931 MB / 0.8943 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.3827, allocations: 0.6351 MB / 0.895 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006947/0.3835, allocations: 358.3 kB / 0.8953 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006487/0.3841, allocations: 0.8277 MB / 0.8961 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3842, allocations: 43.12 kB / 0.8961 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.495e-06/0.3842, allocations: 3.938 kB / 0.8961 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.006362/0.3905, allocations: 1.896 MB / 0.898 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.3906, allocations: 59.97 kB / 0.8981 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.3921, allocations: 1.19 MB / 0.8992 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.302e-05/0.3922, allocations: 41.7 kB / 0.8993 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005156/0.3927, allocations: 0.6026 MB / 0.8998 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.3929, allocations: 212.9 kB / 0.9001 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.393, allocations: 16 kB / 0.9001 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3931, allocations: 334 kB / 0.9004 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006103/0.3937, allocations: 293.8 kB / 0.9007 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000771/0.3945, allocations: 0.5121 MB / 0.9012 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006913/0.3952, allocations: 359 kB / 0.9015 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3952, allocations: 4 kB / 0.9015 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004136/0.3993, allocations: 1.394 MB / 0.9029 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.3995, allocations: 202.2 kB / 0.9031 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3995, allocations: 4 kB / 0.9031 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00055/0.4001, allocations: 144.7 kB / 0.9032 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.4007, allocations: 171.7 kB / 0.9034 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000789/0.4015, allocations: 0.7123 MB / 0.9041 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.4026, allocations: 171 kB / 0.9042 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.962e-05/0.4027, allocations: 35.98 kB / 0.9043 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.4027, allocations: 4 kB / 0.9043 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003922/0.4066, allocations: 1.249 MB / 0.9055 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4066, allocations: 4 kB / 0.9055 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004843/0.4071, allocations: 149.1 kB / 0.9056 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/0.4077, allocations: 167.7 kB / 0.9058 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007756/0.4085, allocations: 0.7046 MB / 0.9065 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.4097, allocations: 174.4 kB / 0.9066 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-05/0.4098, allocations: 27.98 kB / 0.9067 GB, free: 456 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006539/0.4104, allocations: 424.9 kB / 0.9071 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.4106, allocations: 134.5 kB / 0.9072 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/0.415, allocations: 1.404 MB / 0.9086 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/0.415, allocations: 12 kB / 0.9086 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/0.415, allocations: 3.984 kB / 0.9086 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003697/0.4187, allocations: 1.232 MB / 0.9098 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006662/0.4254, allocations: 2.727 MB / 0.9125 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.4255, allocations: 4 kB / 0.9125 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.426, allocations: 128.2 kB / 0.9126 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004635/0.4264, allocations: 132.8 kB / 0.9127 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.4265, allocations: 27.94 kB / 0.9127 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004536/0.4311, allocations: 2.482 MB / 0.9152 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.4311, allocations: 7.938 kB / 0.9152 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005109/0.4362, allocations: 1.848 MB / 0.917 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007844/0.437, allocations: 335.1 kB / 0.9173 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/0.4374, allocations: 16 kB / 0.9173 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.4385, allocations: 91.91 kB / 0.9174 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.4386, allocations: 56.27 kB / 0.9175 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.4387, allocations: 39.97 kB / 0.9175 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001547/0.4403, allocations: 0.8543 MB / 0.9183 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4403, allocations: 0 / 0.9183 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002344/0.4426, allocations: 0.7018 MB / 0.919 GB, free: 3.391 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009727/0.4436, allocations: 436.8 kB / 0.9194 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002836/0.4465, allocations: 1.153 MB / 0.9206 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.4465, allocations: 4 kB / 0.9206 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.448, allocations: 0.6033 MB / 0.9211 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003818/0.4519, allocations: 0.7678 MB / 0.9219 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3976/0.8495, allocations: 2.748 MB / 0.9246 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.8506, allocations: 1.169 MB / 0.9257 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001678/0.8522, allocations: 308.5 kB / 0.926 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.8525, allocations: 104.6 kB / 0.9261 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of SimCode: time 2.034e-06/0.8525, allocations: 2.812 kB / 0.9261 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.05778/0.9103, allocations: 29.66 MB / 0.9551 GB, free: 122.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) Environment - environmentSimulation: