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.408/1.408, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001049/0.001049, allocations: 176.7 kB / 326.5 MB, free: 2.668 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.58/1.58, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007996/0.0007996, allocations: 92.23 kB / 0.6803 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003168, allocations: 11.28 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2074, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.03979/0.2472, allocations: 60.57 MB / 0.9559 GB, free: 7.375 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01415/0.2614, allocations: 11.92 MB / 0.9675 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.2638, allocations: 55.62 kB / 0.9676 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.2659, allocations: 0.5555 MB / 0.9681 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005643/0.2716, allocations: 1.789 MB / 0.9699 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.2747, allocations: 1.088 MB / 0.9709 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004736/0.2794, allocations: 3.894 MB / 0.9747 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.2809, allocations: 0.8884 MB / 0.9756 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.2835, allocations: 1.116 MB / 0.9767 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.2848, allocations: 0.8787 MB / 0.9775 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.2849, allocations: 43.94 kB / 0.9776 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.2876, allocations: 1.318 MB / 0.9789 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.2878, allocations: 210.9 kB / 0.9791 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007759/0.2886, allocations: 0.606 MB / 0.9797 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.2909, allocations: 1.703 MB / 0.9813 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2909, allocations: 0 / 0.9813 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2909, allocations: 0 / 0.9813 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.2909, allocations: 0 / 0.9813 GB, free: 13.21 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002638/0.2936, allocations: 1.493 MB / 0.9828 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2936, allocations: 8.031 kB / 0.9828 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.2953, allocations: 391 kB / 0.9832 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.2973, allocations: 1.128 MB / 0.9843 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003513/0.2977, allocations: 125.9 kB / 0.9844 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.2978, allocations: 80 kB / 0.9845 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.2996, allocations: 0.9761 MB / 0.9854 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.2996, allocations: 0 / 0.9854 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/0.2997, allocations: 32 kB / 0.9855 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.2997, allocations: 16 kB / 0.9855 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.3018, allocations: 0.8666 MB / 0.9863 GB, free: 7.945 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.005971/0.3077, allocations: 4.557 MB / 0.9908 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.3094, allocations: 0.6493 MB / 0.9914 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006104/0.31, allocations: 298 kB / 0.9917 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/0.3113, allocations: 1.393 MB / 0.993 GB, free: 444 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.3113, allocations: 43 kB / 0.9931 GB, free: 392 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 3.497e-06/0.3114, allocations: 0 / 0.9931 GB, free: 392 kB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.007607/0.319, allocations: 1.908 MB / 0.9949 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.319, allocations: 59.84 kB / 0.995 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.3206, allocations: 1.059 MB / 0.996 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.08e-05/0.3207, allocations: 33.7 kB / 0.9961 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000395/0.3211, allocations: 0.5235 MB / 0.9966 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.3213, allocations: 165.7 kB / 0.9967 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.3214, allocations: 49.69 kB / 0.9968 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3215, allocations: 326 kB / 0.9971 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007582/0.3222, allocations: 304.9 kB / 0.9974 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009773/0.3232, allocations: 0.4923 MB / 0.9979 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.3248, allocations: 0.6778 MB / 0.9985 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.3248, allocations: 0 / 0.9985 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00303/0.3278, allocations: 1.007 MB / 0.9995 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002217/0.3281, allocations: 192.1 kB / 0.9997 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.3281, allocations: 4 kB / 0.9997 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.3296, allocations: 342.5 kB / 1 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.3301, allocations: 127.9 kB / 1 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.3318, allocations: 0.9347 MB / 1.001 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.3333, allocations: 190.8 kB / 1.001 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-05/0.3334, allocations: 31.98 kB / 1.001 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3334, allocations: 6.5 kB / 1.001 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002217/0.3357, allocations: 0.8661 MB / 1.002 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3357, allocations: 8.031 kB / 1.002 GB, free: 6.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.3368, allocations: 318 kB / 1.002 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.3372, allocations: 123.8 kB / 1.003 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.3386, allocations: 0.936 MB / 1.003 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.3399, allocations: 163.3 kB / 1.004 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.647e-05/0.34, allocations: 31.98 kB / 1.004 GB, free: 5.234 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 (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.0006164/0.3406, allocations: 349 kB / 1.004 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.3408, allocations: 114.5 kB / 1.004 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003569/0.3444, allocations: 1.191 MB / 1.005 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.3444, allocations: 12 kB / 1.005 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3444, allocations: 4 kB / 1.005 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3444, allocations: 3.984 kB / 1.005 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004876/0.3493, allocations: 2.204 MB / 1.007 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.3494, allocations: 4 kB / 1.007 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.3496, allocations: 71.83 kB / 1.008 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.3506, allocations: 328.8 kB / 1.008 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.3507, allocations: 16 kB / 1.008 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.3522, allocations: 0.9746 MB / 1.009 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3522, allocations: 4 kB / 1.009 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/0.3556, allocations: 1.243 MB / 1.01 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005538/0.3562, allocations: 263.5 kB / 1.01 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.3563, allocations: 15.98 kB / 1.01 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007863/0.3571, allocations: 111.8 kB / 1.01 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.3572, allocations: 39.83 kB / 1.01 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.3573, allocations: 23.98 kB / 1.01 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001162/0.3584, allocations: 0.743 MB / 1.011 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3584, allocations: 0 / 1.011 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001515/0.36, allocations: 0.5653 MB / 1.012 GB, free: 12.76 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 (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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008034/0.3608, allocations: 389.2 kB / 1.012 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002923/0.3637, allocations: 1.108 MB / 1.013 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.3637, allocations: 0 / 1.013 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008137/0.3646, allocations: 357.7 kB / 1.014 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/0.3675, allocations: 0.529 MB / 1.014 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.3713, allocations: 2.28 MB / 1.016 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/0.3719, allocations: 1.062 MB / 1.017 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.3722, allocations: 87.41 kB / 1.017 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of SimCode: time 7.41e-07/0.3722, allocations: 0 / 1.017 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of Templates: time 0.03267/0.4048, allocations: 24.03 MB / 1.041 GB, free: 14.98 MB / 0.698 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)