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.433/1.433, allocations: 252 MB / 268 MB, free: 10.85 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.001017/0.001017, allocations: 174.1 kB / 327.6 MB, free: 2.094 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.647/1.647, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.001025/0.001025, allocations: 82.36 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003235, allocations: 14.25 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1861, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.03888/0.225, allocations: 59.8 MB / 0.9598 GB, free: 3.516 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01497/0.24, allocations: 11.79 MB / 0.9714 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.2419, allocations: 51.62 kB / 0.9714 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.2436, allocations: 0.5438 MB / 0.9719 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005141/0.2487, allocations: 1.79 MB / 0.9737 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.2518, allocations: 1.089 MB / 0.9747 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004774/0.2566, allocations: 3.892 MB / 0.9785 GB, free: 316 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.2581, allocations: 0.9097 MB / 0.9794 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/0.2604, allocations: 1.128 MB / 0.9805 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.2616, allocations: 0.8592 MB / 0.9814 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.2618, allocations: 40 kB / 0.9814 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002776/0.2646, allocations: 1.325 MB / 0.9827 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.2649, allocations: 214.9 kB / 0.9829 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008768/0.2658, allocations: 0.6311 MB / 0.9835 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.268, allocations: 1.696 MB / 0.9852 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.268, allocations: 0 / 0.9852 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.427e-06/0.2681, allocations: 0 / 0.9852 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.2681, allocations: 3.938 kB / 0.9852 GB, free: 9.449 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.002646/0.2707, allocations: 1.501 MB / 0.9867 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2708, allocations: 12.03 kB / 0.9867 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.2724, allocations: 379 kB / 0.987 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.2744, allocations: 1.124 MB / 0.9881 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003463/0.2748, allocations: 129.9 kB / 0.9882 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.2749, allocations: 80 kB / 0.9883 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.2768, allocations: 0.9761 MB / 0.9893 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.2768, allocations: 0 / 0.9893 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/0.2769, allocations: 32 kB / 0.9893 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.2769, allocations: 20 kB / 0.9893 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.279, allocations: 0.8627 MB / 0.9902 GB, free: 4.191 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.006429/0.2855, allocations: 4.557 MB / 0.9946 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.2871, allocations: 0.6482 MB / 0.9953 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006668/0.2878, allocations: 296.7 kB / 0.9955 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/0.2894, allocations: 1.404 MB / 0.9969 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.2894, allocations: 35 kB / 0.9969 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 2.835e-06/0.2894, allocations: 0 / 0.9969 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47): time 0.007828/0.2973, allocations: 1.912 MB / 0.9988 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.2973, allocations: 55.84 kB / 0.9989 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.299, allocations: 1.063 MB / 0.9999 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.545e-05/0.2992, allocations: 37.7 kB / 0.9999 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004299/0.2996, allocations: 0.5196 MB / 1 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.2997, allocations: 165.7 kB / 1.001 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.2998, allocations: 8 kB / 1.001 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2999, allocations: 330 kB / 1.001 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008153/0.3007, allocations: 300.9 kB / 1.001 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000933/0.3017, allocations: 0.4941 MB / 1.002 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.3031, allocations: 0.6777 MB / 1.002 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.3032, allocations: 4 kB / 1.002 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003602/0.3068, allocations: 1.182 MB / 1.004 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.3069, allocations: 196.3 kB / 1.004 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.3069, allocations: 4 kB / 1.004 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.3082, allocations: 332.5 kB / 1.004 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.3087, allocations: 119.9 kB / 1.004 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.3102, allocations: 0.9376 MB / 1.005 GB, free: 4.035 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.3115, allocations: 187.2 kB / 1.005 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/0.3116, allocations: 35.92 kB / 1.005 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.3116, allocations: 4 kB / 1.005 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003111/0.3148, allocations: 1.033 MB / 1.006 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3148, allocations: 4 kB / 1.006 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.3159, allocations: 324.9 kB / 1.007 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.3164, allocations: 123.8 kB / 1.007 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.3178, allocations: 0.9309 MB / 1.008 GB, free: 1.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.3189, allocations: 159.3 kB / 1.008 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/0.319, allocations: 35.92 kB / 1.008 GB, free: 1.18 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.0005151/0.3195, allocations: 349 kB / 1.008 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.3197, allocations: 118.6 kB / 1.008 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004017/0.3237, allocations: 1.203 MB / 1.009 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.3238, allocations: 7.938 kB / 1.009 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3238, allocations: 0 / 1.009 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3238, allocations: 3.984 kB / 1.009 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004855/0.3286, allocations: 2.208 MB / 1.012 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.3287, allocations: 4.281 kB / 1.012 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.3289, allocations: 71.89 kB / 1.012 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.33, allocations: 328.5 kB / 1.012 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.33, allocations: 11.98 kB / 1.012 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.3315, allocations: 0.9838 MB / 1.013 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3315, allocations: 4 kB / 1.013 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/0.3351, allocations: 1.235 MB / 1.014 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.3355, allocations: 287.4 kB / 1.014 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.3357, allocations: 15.92 kB / 1.014 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008593/0.3365, allocations: 103.8 kB / 1.015 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.9e-05/0.3366, allocations: 35.89 kB / 1.015 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.3367, allocations: 23.98 kB / 1.015 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001099/0.3378, allocations: 0.7508 MB / 1.015 GB, free: 9.254 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3378, allocations: 0 / 1.015 GB, free: 9.254 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001409/0.3392, allocations: 0.5653 MB / 1.016 GB, free: 8.688 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.0007375/0.34, allocations: 390.1 kB / 1.016 GB, free: 8.305 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002804/0.3428, allocations: 1.108 MB / 1.017 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3428, allocations: 0 / 1.017 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000813/0.3436, allocations: 365.7 kB / 1.018 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/0.3464, allocations: 0.5176 MB / 1.018 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.3498, allocations: 2.305 MB / 1.02 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.3504, allocations: 1.066 MB / 1.021 GB, free: 2.859 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.3507, allocations: 87.36 kB / 1.022 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of SimCode: time 2.91e-07/0.3507, allocations: 0 / 1.022 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of Templates: time 0.03091/0.3816, allocations: 24.03 MB / 1.045 GB, free: 10.87 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)