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.001146/0.001146, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 188 kB / 16.62 MB, free: 6.582 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.387/1.387, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.765/1.765, allocations: 292.3 MB / 0.549 GB, free: 12.81 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.001434/0.001434, allocations: 70.55 kB / 0.6723 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2272, allocations: 114.5 MB / 0.7841 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07487/0.3022, allocations: 75.22 MB / 0.8576 GB, free: 1.309 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02267/0.3249, allocations: 15.05 MB / 0.8723 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003309/0.3282, allocations: 63.62 kB / 0.8723 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003273/0.3316, allocations: 0.8306 MB / 0.8731 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008863/0.3405, allocations: 2.569 MB / 0.8757 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004567/0.3451, allocations: 1.399 MB / 0.877 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007622/0.3527, allocations: 4.361 MB / 0.8813 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/0.3551, allocations: 1.437 MB / 0.8827 GB, free: 7.504 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/0.3593, allocations: 1.644 MB / 0.8843 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/0.3616, allocations: 1.221 MB / 0.8855 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003148/0.362, allocations: 164 kB / 0.8856 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003375/0.3653, allocations: 1.4 MB / 0.887 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004872/0.3658, allocations: 398.6 kB / 0.8874 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.3673, allocations: 0.906 MB / 0.8883 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00488/0.3722, allocations: 2.867 MB / 0.8911 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.3722, allocations: 0 / 0.8911 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3722, allocations: 0 / 0.8911 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.024e-05/0.3723, allocations: 0 / 0.8911 GB, free: 14.89 MB / 0.7169 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.004087/0.3764, allocations: 2.083 MB / 0.8931 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3764, allocations: 12.03 kB / 0.8931 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008782/0.3773, allocations: 226.8 kB / 0.8933 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.3799, allocations: 1.501 MB / 0.8948 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.38, allocations: 82 kB / 0.8949 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.3802, allocations: 104 kB / 0.895 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.3823, allocations: 1.096 MB / 0.896 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.3823, allocations: 7.922 kB / 0.8961 GB, free: 9.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.991e-05/0.3824, allocations: 36 kB / 0.8961 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.655e-05/0.3824, allocations: 28 kB / 0.8961 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.3844, allocations: 0.89 MB / 0.897 GB, free: 8.684 MB / 0.7169 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.006381/0.3908, allocations: 4.927 MB / 0.9018 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.3923, allocations: 0.6128 MB / 0.9024 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006948/0.393, allocations: 358.3 kB / 0.9027 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007006/0.3937, allocations: 0.8238 MB / 0.9035 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.3937, allocations: 43.12 kB / 0.9036 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 3.206e-06/0.3937, allocations: 0 / 0.9036 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.007171/0.4009, allocations: 1.697 MB / 0.9052 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.401, allocations: 55.97 kB / 0.9053 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.4028, allocations: 1.225 MB / 0.9065 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.4029, allocations: 37.7 kB / 0.9065 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/0.4035, allocations: 0.6026 MB / 0.9071 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.4037, allocations: 216.9 kB / 0.9073 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.404, allocations: 154.6 kB / 0.9075 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4042, allocations: 333.9 kB / 0.9078 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006874/0.4049, allocations: 292.7 kB / 0.9081 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/0.4057, allocations: 0.491 MB / 0.9085 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.4072, allocations: 0.7129 MB / 0.9092 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.4072, allocations: 4 kB / 0.9092 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004729/0.4119, allocations: 1.277 MB / 0.9105 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.412, allocations: 4 kB / 0.9105 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.412, allocations: 4 kB / 0.9105 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/0.4126, allocations: 141 kB / 0.9106 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/0.4133, allocations: 159.8 kB / 0.9108 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009799/0.4142, allocations: 0.7045 MB / 0.9115 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.4153, allocations: 123.1 kB / 0.9116 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.065e-05/0.4155, allocations: 31.92 kB / 0.9116 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001225/0.4167, allocations: 0.5488 MB / 0.9122 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008794/0.4176, allocations: 0.4956 MB / 0.9126 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001414/0.419, allocations: 0.705 MB / 0.9133 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-06/0.419, allocations: 0 / 0.9133 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004697/0.4237, allocations: 1.269 MB / 0.9146 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4238, allocations: 8 kB / 0.9146 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4238, allocations: 7.938 kB / 0.9146 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004955/0.4243, allocations: 133 kB / 0.9147 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/0.4249, allocations: 159.8 kB / 0.9149 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008139/0.4257, allocations: 0.7084 MB / 0.9156 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.4268, allocations: 107.5 kB / 0.9157 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.4269, allocations: 35.98 kB / 0.9157 GB, free: 4.602 MB / 0.7325 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.0002306/0.4271, allocations: 228 kB / 0.9159 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/0.4274, allocations: 130.4 kB / 0.916 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004582/0.432, allocations: 1.26 MB / 0.9173 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.432, allocations: 11.98 kB / 0.9173 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.432, allocations: 0 / 0.9173 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004039/0.4361, allocations: 1.111 MB / 0.9184 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4283/0.8644, allocations: 2.603 MB / 0.9209 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.8645, allocations: 3.625 kB / 0.9209 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/0.865, allocations: 113.1 kB / 0.921 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005361/0.8655, allocations: 131.5 kB / 0.9211 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.8656, allocations: 20.58 kB / 0.9212 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005057/0.8707, allocations: 2.631 MB / 0.9237 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.8707, allocations: 3.5 kB / 0.9237 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005709/0.8764, allocations: 1.701 MB / 0.9254 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006507/0.8771, allocations: 307 kB / 0.9257 GB, free: 134 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.8773, allocations: 17.3 kB / 0.9257 GB, free: 134 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008013/0.8781, allocations: 57.81 kB / 0.9258 GB, free: 134 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.8783, allocations: 59.3 kB / 0.9258 GB, free: 134 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.553e-05/0.8784, allocations: 32.06 kB / 0.9258 GB, free: 134 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001395/0.8798, allocations: 0.8816 MB / 0.9267 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.253e-06/0.8798, allocations: 1.281 kB / 0.9267 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001908/0.8817, allocations: 0.7227 MB / 0.9274 GB, free: 133.6 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 (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.0009214/0.8826, allocations: 462.8 kB / 0.9279 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002439/0.8851, allocations: 1.118 MB / 0.9289 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.8851, allocations: 2.5 kB / 0.9289 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.8865, allocations: 0.5662 MB / 0.9295 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/0.89, allocations: 0.8093 MB / 0.9303 GB, free: 132.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004557/0.8946, allocations: 2.27 MB / 0.9325 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.8957, allocations: 1.169 MB / 0.9336 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001652/0.8973, allocations: 307 kB / 0.9339 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.8977, allocations: 106.2 kB / 0.934 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.132e-06/0.8977, allocations: 0 / 0.934 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.05695/0.9547, allocations: 32.48 MB / 0.9658 GB, free: 116.1 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (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)