Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.006525/0.006525, allocations: 102 kB / 15.73 MB, free: 6.043 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.001185/0.001184, allocations: 195 kB / 16.67 MB, free: 5.965 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.616/1.616, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.546/1.546, allocations: 251.7 MB / 0.5094 GB, free: 3.098 MB / 414.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.001443/0.001443, allocations: 75.83 kB / 0.7258 GB, free: 9.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2178, allocations: 104.7 MB / 0.828 GB, free: 380 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07724/0.295, allocations: 75.2 MB / 0.9015 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6259/0.921, allocations: 15 MB / 0.9161 GB, free: 27.21 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003764/0.9248, allocations: 62.78 kB / 0.9162 GB, free: 27.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.9278, allocations: 0.859 MB / 0.917 GB, free: 27.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.9381, allocations: 2.698 MB / 0.9197 GB, free: 27.1 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004572/0.9427, allocations: 1.367 MB / 0.921 GB, free: 27.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01214/0.9548, allocations: 4.36 MB / 0.9252 GB, free: 27.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003351/0.9582, allocations: 1.44 MB / 0.9267 GB, free: 26.9 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007538/0.9658, allocations: 1.684 MB / 0.9283 GB, free: 26.58 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004212/0.97, allocations: 1.222 MB / 0.9295 GB, free: 26.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007434/0.9708, allocations: 160.4 kB / 0.9296 GB, free: 26.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005993/0.9768, allocations: 1.408 MB / 0.931 GB, free: 26.21 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008968/0.9777, allocations: 397.2 kB / 0.9314 GB, free: 26.14 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003379/0.9811, allocations: 0.9006 MB / 0.9323 GB, free: 25.89 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008537/0.9897, allocations: 2.851 MB / 0.9351 GB, free: 25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.9897, allocations: 0 / 0.9351 GB, free: 25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.015e-06/0.9897, allocations: 0 / 0.9351 GB, free: 25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.576e-05/0.9898, allocations: 5.531 kB / 0.9351 GB, free: 25 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.00555/0.9954, allocations: 2.084 MB / 0.9371 GB, free: 23.65 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.9954, allocations: 9.625 kB / 0.9371 GB, free: 23.65 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.9965, allocations: 227.3 kB / 0.9373 GB, free: 23.56 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.9997, allocations: 1.513 MB / 0.9388 GB, free: 22.69 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.355e-05/0.9998, allocations: 77.44 kB / 0.9389 GB, free: 22.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/1, allocations: 105.2 kB / 0.939 GB, free: 22.62 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/1.003, allocations: 1.09 MB / 0.94 GB, free: 22.14 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/1.003, allocations: 0 / 0.94 GB, free: 22.14 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/1.003, allocations: 37.53 kB / 0.9401 GB, free: 22.11 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-05/1.003, allocations: 29.25 kB / 0.9401 GB, free: 22.11 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/1.005, allocations: 0.8903 MB / 0.941 GB, free: 21.8 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.006893/1.012, allocations: 4.897 MB / 0.9458 GB, free: 18.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/1.014, allocations: 0.6167 MB / 0.9464 GB, free: 18.19 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000721/1.014, allocations: 341.8 kB / 0.9467 GB, free: 18.08 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005786/1.015, allocations: 0.8353 MB / 0.9475 GB, free: 17.12 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/1.015, allocations: 38.64 kB / 0.9475 GB, free: 17.08 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 3.687e-06/1.015, allocations: 0 / 0.9475 GB, free: 17.08 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.007091/1.022, allocations: 1.688 MB / 0.9492 GB, free: 16.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/1.022, allocations: 62.38 kB / 0.9493 GB, free: 16.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/1.024, allocations: 1.229 MB / 0.9505 GB, free: 16.01 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002227/1.025, allocations: 43.7 kB / 0.9505 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005875/1.025, allocations: 0.6008 MB / 0.9511 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/1.026, allocations: 217.4 kB / 0.9513 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/1.026, allocations: 158.2 kB / 0.9514 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.724e-05/1.026, allocations: 333.3 kB / 0.9518 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007229/1.027, allocations: 290.3 kB / 0.952 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009439/1.028, allocations: 0.4894 MB / 0.9525 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/1.029, allocations: 0.7089 MB / 0.9532 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.029, allocations: 8.938 kB / 0.9532 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004925/1.034, allocations: 1.268 MB / 0.9544 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/1.034, allocations: 6.625 kB / 0.9545 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.034, allocations: 3.5 kB / 0.9545 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006513/1.035, allocations: 147.3 kB / 0.9546 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/1.036, allocations: 154.5 kB / 0.9547 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007972/1.036, allocations: 0.7086 MB / 0.9554 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/1.038, allocations: 120.6 kB / 0.9556 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/1.038, allocations: 34.05 kB / 0.9556 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001381/1.04, allocations: 0.5563 MB / 0.9561 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008975/1.041, allocations: 0.4903 MB / 0.9566 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001438/1.042, allocations: 0.7013 MB / 0.9573 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.592e-06/1.042, allocations: 1.344 kB / 0.9573 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004708/1.047, allocations: 1.268 MB / 0.9585 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.047, allocations: 10.34 kB / 0.9585 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.047, allocations: 3.281 kB / 0.9585 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005588/1.047, allocations: 143.5 kB / 0.9587 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/1.048, allocations: 157.7 kB / 0.9588 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006908/1.049, allocations: 0.7023 MB / 0.9595 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/1.05, allocations: 107 kB / 0.9596 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/1.05, allocations: 26.06 kB / 0.9596 GB, free: 10.69 MB / 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 (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.0002944/1.051, allocations: 227.2 kB / 0.9599 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005403/1.051, allocations: 137.2 kB / 0.96 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/1.056, allocations: 1.269 MB / 0.9612 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/1.056, allocations: 12.28 kB / 0.9612 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/1.056, allocations: 0 / 0.9612 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003592/1.059, allocations: 1.101 MB / 0.9623 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006956/1.066, allocations: 2.613 MB / 0.9649 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.066, allocations: 5.375 kB / 0.9649 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000493/1.067, allocations: 113.4 kB / 0.965 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000507/1.067, allocations: 131.1 kB / 0.9651 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.96e-05/1.067, allocations: 20.45 kB / 0.9651 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004305/1.072, allocations: 2.625 MB / 0.9677 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.072, allocations: 7.188 kB / 0.9677 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005234/1.077, allocations: 1.7 MB / 0.9694 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.078, allocations: 302.4 kB / 0.9696 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004852/1.079, allocations: 17.67 kB / 0.9697 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.08, allocations: 56 kB / 0.9697 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/1.08, allocations: 62.42 kB / 0.9698 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.251e-05/1.08, allocations: 35.89 kB / 0.9698 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001748/1.082, allocations: 0.8819 MB / 0.9707 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.01e-07/1.082, allocations: 0 / 0.9707 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003595/1.085, allocations: 0.7195 MB / 0.9714 GB, free: 2.938 MB / 0.7169 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.001429/1.087, allocations: 448.1 kB / 0.9718 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002877/1.09, allocations: 1.12 MB / 0.9729 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/1.09, allocations: 2.438 kB / 0.9729 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001426/1.091, allocations: 0.563 MB / 0.9734 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/1.095, allocations: 0.8084 MB / 0.9742 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004381/1.1, allocations: 2.283 MB / 0.9765 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.101, allocations: 1.172 MB / 0.9776 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001512/1.103, allocations: 307 kB / 0.9779 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/1.103, allocations: 103.4 kB / 0.978 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of SimCode: time 8.11e-07/1.103, allocations: 0 / 0.978 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.0598/1.163, allocations: 32.56 MB / 1.01 GB, free: 14.03 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)