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_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.574/1.574, allocations: 252 MB / 267.6 MB, free: 10.89 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.00203/0.00203, allocations: 177.5 kB / 327.3 MB, free: 2.199 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.753/1.753, allocations: 205.4 MB / 0.5783 GB, free: 20.51 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.0007616/0.0007616, allocations: 90.91 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 16.12 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2195, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04166/0.2612, allocations: 56.56 MB / 0.9561 GB, free: 7.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.2772, allocations: 11.08 MB / 0.9669 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0034/0.2807, allocations: 51.62 kB / 0.9669 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.2834, allocations: 464.9 kB / 0.9674 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006659/0.2901, allocations: 1.515 MB / 0.9688 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003826/0.294, allocations: 0.8839 MB / 0.9697 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005495/0.2995, allocations: 3.386 MB / 0.973 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.3013, allocations: 0.7898 MB / 0.9738 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.3042, allocations: 1.042 MB / 0.9748 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.3062, allocations: 0.8088 MB / 0.9756 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003559/0.3066, allocations: 48 kB / 0.9756 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.3098, allocations: 1.095 MB / 0.9767 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.3101, allocations: 203 kB / 0.9769 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005938/0.3107, allocations: 281 kB / 0.9772 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.313, allocations: 1.645 MB / 0.9788 GB, free: 220 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.313, allocations: 0 / 0.9788 GB, free: 220 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.313, allocations: 0 / 0.9788 GB, free: 220 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.313, allocations: 0 / 0.9788 GB, free: 220 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003267/0.3163, allocations: 1.516 MB / 0.9803 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3164, allocations: 8.031 kB / 0.9803 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.3181, allocations: 386 kB / 0.9806 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.3202, allocations: 1.082 MB / 0.9817 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003638/0.3206, allocations: 129.9 kB / 0.9818 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.3207, allocations: 83.94 kB / 0.9819 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.3226, allocations: 0.9644 MB / 0.9828 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.3227, allocations: 0 / 0.9828 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.3227, allocations: 32 kB / 0.9829 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.3228, allocations: 20 kB / 0.9829 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.3249, allocations: 0.8626 MB / 0.9837 GB, free: 10.99 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.006508/0.3314, allocations: 4.538 MB / 0.9882 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.3331, allocations: 0.6432 MB / 0.9888 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006475/0.3337, allocations: 297.9 kB / 0.9891 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.3352, allocations: 1.396 MB / 0.9904 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.3352, allocations: 42.98 kB / 0.9905 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 2.856e-06/0.3352, allocations: 0 / 0.9905 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.007669/0.3429, allocations: 1.897 MB / 0.9923 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.343, allocations: 59.84 kB / 0.9924 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.3446, allocations: 1.051 MB / 0.9934 GB, free: 396 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.422e-05/0.3447, allocations: 33.7 kB / 0.9934 GB, free: 356 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004292/0.3451, allocations: 0.5159 MB / 0.994 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.3453, allocations: 169.5 kB / 0.9941 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.3453, allocations: 12 kB / 0.9941 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3455, allocations: 322 kB / 0.9944 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000781/0.3462, allocations: 300.9 kB / 0.9947 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009223/0.3472, allocations: 0.4962 MB / 0.9952 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008584/0.348, allocations: 332.6 kB / 0.9955 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3481, allocations: 0 / 0.9955 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003389/0.3515, allocations: 1.171 MB / 0.9967 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.3516, allocations: 196.1 kB / 0.9969 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.3516, allocations: 4 kB / 0.9969 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.3529, allocations: 332.5 kB / 0.9972 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.3534, allocations: 127.8 kB / 0.9973 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.3549, allocations: 0.9414 MB / 0.9982 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.3562, allocations: 183.3 kB / 0.9984 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/0.3563, allocations: 31.98 kB / 0.9984 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.3563, allocations: 4 kB / 0.9984 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003106/0.3594, allocations: 1.026 MB / 0.9994 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3595, allocations: 8 kB / 0.9994 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.3606, allocations: 320.8 kB / 0.9997 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.3611, allocations: 123.8 kB / 0.9999 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.3625, allocations: 0.9415 MB / 1.001 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.3637, allocations: 163.3 kB / 1.001 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.3638, allocations: 27.98 kB / 1.001 GB, free: 8.445 MB / 0.6511 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005552/0.3644, allocations: 353.6 kB / 1.001 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.3645, allocations: 114.6 kB / 1.001 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003651/0.3682, allocations: 1.204 MB / 1.003 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.3682, allocations: 4 kB / 1.003 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3682, allocations: 3.984 kB / 1.003 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3683, allocations: 4 kB / 1.003 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004893/0.3732, allocations: 2.2 MB / 1.005 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.3732, allocations: 4 kB / 1.005 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.3734, allocations: 63.91 kB / 1.005 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00106/0.3745, allocations: 331.7 kB / 1.005 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.9e-05/0.3746, allocations: 15.98 kB / 1.005 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.376, allocations: 0.9737 MB / 1.006 GB, free: 3.055 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.3761, allocations: 4 kB / 1.006 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/0.3796, allocations: 1.243 MB / 1.007 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005976/0.3802, allocations: 283.4 kB / 1.008 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.3803, allocations: 12 kB / 1.008 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008592/0.3812, allocations: 99.84 kB / 1.008 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.3813, allocations: 39.89 kB / 1.008 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.3814, allocations: 31.97 kB / 1.008 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001234/0.3826, allocations: 0.7274 MB / 1.008 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3826, allocations: 0 / 1.008 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001786/0.3844, allocations: 0.5654 MB / 1.009 GB, free: 15.98 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 (37): * Single equations (assignments): 32 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008316/0.3853, allocations: 381 kB / 1.009 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003074/0.3883, allocations: 1.096 MB / 1.01 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3884, allocations: 256 / 1.01 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008811/0.3893, allocations: 357.4 kB / 1.011 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/0.392, allocations: 0.5227 MB / 1.011 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.396, allocations: 2.264 MB / 1.014 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.3966, allocations: 1.058 MB / 1.015 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.3969, allocations: 87.42 kB / 1.015 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of SimCode: time 1.493e-06/0.3969, allocations: 0 / 1.015 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of Templates: time 0.04882/0.4457, allocations: 24.03 MB / 1.038 GB, free: 2.23 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)