Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009828/0.0009829, allocations: 184.2 kB / 326.5 MB, free: 2.695 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.69/1.69, allocations: 205 MB / 0.5766 GB, free: 21.04 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.0008929/0.0008929, allocations: 89.98 kB / 0.6803 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 14.95 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2143, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.04167/0.256, allocations: 60.62 MB / 0.9559 GB, free: 7.387 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0148/0.2708, allocations: 11.93 MB / 0.9676 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/0.2733, allocations: 51.69 kB / 0.9676 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.2754, allocations: 0.5516 MB / 0.9682 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005813/0.2812, allocations: 1.791 MB / 0.9699 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00336/0.2846, allocations: 1.104 MB / 0.971 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005022/0.2897, allocations: 3.906 MB / 0.9748 GB, free: 4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.2913, allocations: 0.9007 MB / 0.9757 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.2939, allocations: 1.128 MB / 0.9768 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.2954, allocations: 0.8787 MB / 0.9777 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.2956, allocations: 40 kB / 0.9777 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/0.2983, allocations: 1.294 MB / 0.979 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.2985, allocations: 218.9 kB / 0.9792 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007613/0.2993, allocations: 0.6138 MB / 0.9798 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.3015, allocations: 1.691 MB / 0.9814 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3016, allocations: 0 / 0.9814 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3016, allocations: 0 / 0.9814 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.217e-05/0.3016, allocations: 0 / 0.9814 GB, free: 13.19 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002898/0.3045, allocations: 1.52 MB / 0.9829 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3046, allocations: 8.031 kB / 0.9829 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.3068, allocations: 478.8 kB / 0.9834 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.3091, allocations: 1.142 MB / 0.9845 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003778/0.3095, allocations: 133.8 kB / 0.9846 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.3097, allocations: 83.94 kB / 0.9847 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.3118, allocations: 1.031 MB / 0.9857 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.3119, allocations: 3.938 kB / 0.9857 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.077e-05/0.312, allocations: 36 kB / 0.9857 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.312, allocations: 16 kB / 0.9857 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.3145, allocations: 0.968 MB / 0.9867 GB, free: 7.629 MB / 0.6355 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.006991/0.3215, allocations: 4.671 MB / 0.9913 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/0.3253, allocations: 0.954 MB / 0.9922 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008405/0.3261, allocations: 358 kB / 0.9925 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000659/0.3268, allocations: 0.9107 MB / 0.9934 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3268, allocations: 35 kB / 0.9934 GB, free: 176 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.246e-06/0.3268, allocations: 0 / 0.9934 GB, free: 176 kB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.009186/0.336, allocations: 2.267 MB / 0.9957 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.3361, allocations: 55.84 kB / 0.9957 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.3379, allocations: 1.068 MB / 0.9968 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.338, allocations: 41.64 kB / 0.9968 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/0.3384, allocations: 0.5236 MB / 0.9973 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.3386, allocations: 169.6 kB / 0.9975 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.3387, allocations: 53.62 kB / 0.9975 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3388, allocations: 330 kB / 0.9978 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009955/0.3398, allocations: 356.9 kB / 0.9982 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.3411, allocations: 0.5602 MB / 0.9987 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/0.343, allocations: 0.784 MB / 0.9995 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.343, allocations: 0 / 0.9995 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004397/0.3474, allocations: 1.288 MB / 1.001 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.3476, allocations: 197.4 kB / 1.001 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3476, allocations: 4 kB / 1.001 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.349, allocations: 340.4 kB / 1.001 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/0.3496, allocations: 135.8 kB / 1.001 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.3512, allocations: 0.9442 MB / 1.002 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.3529, allocations: 207.2 kB / 1.003 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.286e-05/0.353, allocations: 27.98 kB / 1.003 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.353, allocations: 4 kB / 1.003 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003623/0.3566, allocations: 1.143 MB / 1.004 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3567, allocations: 4 kB / 1.004 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.3578, allocations: 320.8 kB / 1.004 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.3585, allocations: 139.8 kB / 1.004 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.36, allocations: 0.9398 MB / 1.005 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.3615, allocations: 179.3 kB / 1.005 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.3616, allocations: 35.98 kB / 1.005 GB, free: 3.77 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006964/0.3623, allocations: 349 kB / 1.006 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/0.3627, allocations: 118.6 kB / 1.006 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004488/0.3672, allocations: 1.314 MB / 1.007 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.3673, allocations: 8 kB / 1.007 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.3673, allocations: 3.984 kB / 1.007 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.3673, allocations: 3.984 kB / 1.007 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006459/0.3738, allocations: 2.386 MB / 1.009 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.3738, allocations: 4 kB / 1.009 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.3742, allocations: 83.88 kB / 1.009 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.3753, allocations: 320.8 kB / 1.01 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/0.3754, allocations: 16 kB / 1.01 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.377, allocations: 0.9819 MB / 1.011 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.377, allocations: 4.031 kB / 1.011 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004217/0.3813, allocations: 1.357 MB / 1.012 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007117/0.382, allocations: 267.5 kB / 1.012 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/0.3823, allocations: 12 kB / 1.012 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.3835, allocations: 123.8 kB / 1.012 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.3837, allocations: 47.27 kB / 1.012 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.667e-05/0.3838, allocations: 27.97 kB / 1.012 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001562/0.3853, allocations: 0.7471 MB / 1.013 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3853, allocations: 0 / 1.013 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002101/0.3875, allocations: 0.5614 MB / 1.014 GB, free: 10.85 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (38): * Single equations (assignments): 33 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001035/0.3885, allocations: 373.1 kB / 1.014 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003854/0.3924, allocations: 1.288 MB / 1.015 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.3924, allocations: 0 / 1.015 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.3935, allocations: 415 kB / 1.016 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/0.397, allocations: 0.5424 MB / 1.016 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006362/0.4034, allocations: 2.602 MB / 1.019 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008814/0.4043, allocations: 1.066 MB / 1.02 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/0.4047, allocations: 87.41 kB / 1.02 GB, free: 4.414 MB / 0.6667 GB Notification: Performance of SimCode: time 1.012e-06/0.4048, allocations: 0 / 1.02 GB, free: 4.414 MB / 0.6667 GB Notification: Performance of Templates: time 0.03882/0.4436, allocations: 24.2 MB / 1.044 GB, free: 12.33 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)