Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001513/0.001513, allocations: 193.4 kB / 16.14 MB, free: 6.703 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.501/1.501, allocations: 205.1 MB / 222 MB, free: 4.961 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.702/1.702, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001305/0.001305, allocations: 67.47 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.227, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.08071/0.3077, allocations: 74.73 MB / 0.8556 GB, free: 3.031 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02026/0.328, allocations: 15.11 MB / 0.8704 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003742/0.3318, allocations: 63.56 kB / 0.8705 GB, free: 3.816 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003006/0.3349, allocations: 0.6838 MB / 0.8711 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007215/0.3422, allocations: 2.361 MB / 0.8734 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.3457, allocations: 1.281 MB / 0.8747 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00666/0.3524, allocations: 5.527 MB / 0.8801 GB, free: 9.945 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.3544, allocations: 1.182 MB / 0.8812 GB, free: 8.73 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/0.3573, allocations: 1.373 MB / 0.8826 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.3591, allocations: 1.206 MB / 0.8838 GB, free: 6.141 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.3593, allocations: 76 kB / 0.8838 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.362, allocations: 1.251 MB / 0.8851 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.3624, allocations: 314.6 kB / 0.8854 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009211/0.3633, allocations: 0.8084 MB / 0.8861 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00365/0.367, allocations: 2.781 MB / 0.8889 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.367, allocations: 4 kB / 0.8889 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.422e-06/0.367, allocations: 0 / 0.8889 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.675e-05/0.3671, allocations: 0 / 0.8889 GB, free: 0.8984 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.004696/0.3718, allocations: 2.087 MB / 0.8909 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3718, allocations: 8.031 kB / 0.8909 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008233/0.3726, allocations: 234.8 kB / 0.8911 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/0.3749, allocations: 1.481 MB / 0.8926 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/0.375, allocations: 74 kB / 0.8926 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.3752, allocations: 104 kB / 0.8927 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.3771, allocations: 1.108 MB / 0.8938 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.3771, allocations: 7.844 kB / 0.8938 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.631e-05/0.3772, allocations: 40 kB / 0.8939 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.3773, allocations: 24 kB / 0.8939 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.3791, allocations: 0.89 MB / 0.8948 GB, free: 10.69 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.005953/0.385, allocations: 4.93 MB / 0.8996 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.3865, allocations: 0.6156 MB / 0.9002 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007029/0.3872, allocations: 342.3 kB / 0.9005 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006391/0.3879, allocations: 0.8277 MB / 0.9013 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3879, allocations: 39.12 kB / 0.9014 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.945e-06/0.3879, allocations: 0 / 0.9014 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.006938/0.3948, allocations: 1.701 MB / 0.903 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3949, allocations: 55.97 kB / 0.9031 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.3968, allocations: 1.214 MB / 0.9043 GB, free: 436 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.3969, allocations: 41.7 kB / 0.9043 GB, free: 388 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000518/0.3974, allocations: 0.6027 MB / 0.9049 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.3977, allocations: 212.8 kB / 0.9051 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.3979, allocations: 158.5 kB / 0.9052 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.398, allocations: 337.9 kB / 0.9056 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006387/0.3987, allocations: 288.7 kB / 0.9058 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.3995, allocations: 0.4929 MB / 0.9063 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.4008, allocations: 0.7051 MB / 0.907 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.4008, allocations: 3.938 kB / 0.907 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004503/0.4054, allocations: 1.273 MB / 0.9083 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.4054, allocations: 8 kB / 0.9083 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4054, allocations: 0 / 0.9083 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/0.406, allocations: 141.1 kB / 0.9084 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006222/0.4066, allocations: 159.8 kB / 0.9085 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008022/0.4075, allocations: 0.7083 MB / 0.9092 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.4088, allocations: 163.1 kB / 0.9094 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.4089, allocations: 27.98 kB / 0.9094 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001082/0.41, allocations: 0.5527 MB / 0.91 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007945/0.4108, allocations: 0.4922 MB / 0.9104 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001355/0.4121, allocations: 0.705 MB / 0.9111 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.907e-06/0.4121, allocations: 0 / 0.9111 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004718/0.4169, allocations: 1.265 MB / 0.9124 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4169, allocations: 8 kB / 0.9124 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.4169, allocations: 7.938 kB / 0.9124 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005042/0.4174, allocations: 137 kB / 0.9125 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/0.4181, allocations: 163.8 kB / 0.9127 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007773/0.4189, allocations: 0.6967 MB / 0.9133 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.4203, allocations: 147.4 kB / 0.9135 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/0.4203, allocations: 31.98 kB / 0.9135 GB, free: 6.566 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.0002677/0.4206, allocations: 236 kB / 0.9137 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.4209, allocations: 130.4 kB / 0.9139 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004475/0.4254, allocations: 1.26 MB / 0.9151 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.4254, allocations: 11.98 kB / 0.9151 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.4254, allocations: 4 kB / 0.9151 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00401/0.4295, allocations: 1.111 MB / 0.9162 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006781/0.4363, allocations: 2.606 MB / 0.9187 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.4363, allocations: 0 / 0.9187 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.4368, allocations: 115.8 kB / 0.9189 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004819/0.4373, allocations: 133.2 kB / 0.919 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.4374, allocations: 23.98 kB / 0.919 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4262/0.8635, allocations: 2.369 MB / 0.9213 GB, free: 135 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.8636, allocations: 4.688 kB / 0.9213 GB, free: 135 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00548/0.8691, allocations: 1.704 MB / 0.923 GB, free: 134.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006978/0.8699, allocations: 305.4 kB / 0.9233 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.8701, allocations: 17.34 kB / 0.9233 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009926/0.8711, allocations: 81.33 kB / 0.9234 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.8713, allocations: 63.88 kB / 0.9234 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.138e-05/0.8713, allocations: 28.64 kB / 0.9235 GB, free: 134.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001427/0.8728, allocations: 0.869 MB / 0.9243 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8728, allocations: 0 / 0.9243 GB, free: 134.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002183/0.875, allocations: 0.7185 MB / 0.925 GB, free: 134.5 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.000901/0.8759, allocations: 445.7 kB / 0.9254 GB, free: 134.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.8783, allocations: 1.107 MB / 0.9265 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.8783, allocations: 0 / 0.9265 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.8796, allocations: 0.5651 MB / 0.9271 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/0.8829, allocations: 0.7717 MB / 0.9278 GB, free: 134 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.8867, allocations: 2.751 MB / 0.9305 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/0.8875, allocations: 1.164 MB / 0.9316 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001527/0.8891, allocations: 312 kB / 0.9319 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.8893, allocations: 108.3 kB / 0.932 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.482e-06/0.8893, allocations: 0 / 0.932 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.04663/0.936, allocations: 30.75 MB / 0.9621 GB, free: 118.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)