Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.665/1.665, allocations: 287.5 MB / 302.6 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009537/0.0009537, allocations: 181.1 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.4 MB / 0.6299 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008018/0.0008018, allocations: 100.8 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004498, allocations: 12.62 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2382, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04587/0.2841, allocations: 56.55 MB / 1.034 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0156/0.2998, allocations: 11.12 MB / 1.045 GB, free: 8.328 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.302, allocations: 51.62 kB / 1.045 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.3037, allocations: 464.8 kB / 1.045 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004856/0.3086, allocations: 1.517 MB / 1.047 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.3114, allocations: 0.878 MB / 1.048 GB, free: 5.426 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004707/0.3161, allocations: 3.426 MB / 1.051 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.3176, allocations: 0.8863 MB / 1.052 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/0.3203, allocations: 1.05 MB / 1.053 GB, free: 16 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.3217, allocations: 0.8089 MB / 1.054 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.3218, allocations: 44 kB / 1.054 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.3246, allocations: 1.111 MB / 1.055 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.3249, allocations: 203 kB / 1.055 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004795/0.3254, allocations: 289 kB / 1.055 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.3277, allocations: 1.648 MB / 1.057 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.3278, allocations: 4 kB / 1.057 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3278, allocations: 3.938 kB / 1.057 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.223e-05/0.3278, allocations: 0 / 1.057 GB, free: 11.9 MB / 0.6823 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.003103/0.3309, allocations: 1.493 MB / 1.058 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.331, allocations: 12.03 kB / 1.058 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.3326, allocations: 387 kB / 1.059 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.3349, allocations: 1.133 MB / 1.06 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003409/0.3353, allocations: 121.9 kB / 1.06 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.3354, allocations: 88 kB / 1.06 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.3374, allocations: 0.9604 MB / 1.061 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.3374, allocations: 0 / 1.061 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.716e-05/0.3375, allocations: 32 kB / 1.061 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.3375, allocations: 24 kB / 1.061 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.3396, allocations: 0.8704 MB / 1.062 GB, free: 6.641 MB / 0.6823 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.006604/0.3463, allocations: 4.517 MB / 1.066 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.348, allocations: 0.6493 MB / 1.067 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006768/0.3487, allocations: 295.2 kB / 1.067 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4966/0.8453, allocations: 1.391 MB / 1.069 GB, free: 90.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.8454, allocations: 38.7 kB / 1.069 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.926e-06/0.8454, allocations: 0 / 1.069 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008506/0.8539, allocations: 1.907 MB / 1.07 GB, free: 90.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.854, allocations: 57.88 kB / 1.07 GB, free: 90.19 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.856, allocations: 1.048 MB / 1.071 GB, free: 89.94 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.239e-05/0.8561, allocations: 38.77 kB / 1.072 GB, free: 89.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005056/0.8567, allocations: 0.5202 MB / 1.072 GB, free: 89.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.8568, allocations: 162.1 kB / 1.072 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.8569, allocations: 18.47 kB / 1.072 GB, free: 89.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.857, allocations: 325.9 kB / 1.073 GB, free: 89.17 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008633/0.8578, allocations: 295 kB / 1.073 GB, free: 89.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009845/0.8588, allocations: 498.7 kB / 1.073 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.8604, allocations: 0.6645 MB / 1.074 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.8604, allocations: 0.9375 kB / 1.074 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003975/0.8644, allocations: 1.179 MB / 1.075 GB, free: 88.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-05/0.8645, allocations: 194.8 kB / 1.075 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.8645, allocations: 4.219 kB / 1.075 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.8659, allocations: 326.1 kB / 1.076 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.8664, allocations: 122.9 kB / 1.076 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.868, allocations: 0.942 MB / 1.077 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.8694, allocations: 187.8 kB / 1.077 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.154e-05/0.8695, allocations: 29.14 kB / 1.077 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.8695, allocations: 5.219 kB / 1.077 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003429/0.8729, allocations: 1.034 MB / 1.078 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.873, allocations: 3 kB / 1.078 GB, free: 86.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.8742, allocations: 324.8 kB / 1.078 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/0.8747, allocations: 118.2 kB / 1.078 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.8763, allocations: 0.9361 MB / 1.079 GB, free: 86.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.8776, allocations: 162.2 kB / 1.079 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.753e-05/0.8777, allocations: 27.91 kB / 1.079 GB, free: 86 MB / 0.6823 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.0006598/0.8783, allocations: 353.3 kB / 1.08 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.8786, allocations: 119.5 kB / 1.08 GB, free: 85.65 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003997/0.8826, allocations: 1.196 MB / 1.081 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.8826, allocations: 10.8 kB / 1.081 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.8826, allocations: 0 / 1.081 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.8826, allocations: 7.766 kB / 1.081 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005762/0.8884, allocations: 2.203 MB / 1.083 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.8884, allocations: 4.391 kB / 1.083 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.8887, allocations: 70.92 kB / 1.083 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/0.8898, allocations: 323 kB / 1.084 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.8899, allocations: 15.89 kB / 1.084 GB, free: 84.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.8914, allocations: 0.9774 MB / 1.084 GB, free: 83.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.8914, allocations: 3 kB / 1.084 GB, free: 83.51 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003795/0.8952, allocations: 1.244 MB / 1.086 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006894/0.8959, allocations: 283.7 kB / 1.086 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.8961, allocations: 14.66 kB / 1.086 GB, free: 82.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008381/0.8969, allocations: 94.7 kB / 1.086 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.897, allocations: 45.38 kB / 1.086 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.334e-05/0.8971, allocations: 23.36 kB / 1.086 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001469/0.8986, allocations: 0.736 MB / 1.087 GB, free: 82.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8986, allocations: 0 / 1.087 GB, free: 82.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00194/0.9006, allocations: 0.5721 MB / 1.087 GB, free: 82.3 MB / 0.6823 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.0009109/0.9015, allocations: 395.3 kB / 1.088 GB, free: 82.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00321/0.9047, allocations: 1.094 MB / 1.089 GB, free: 81.86 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.9047, allocations: 1.125 kB / 1.089 GB, free: 81.86 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009009/0.9056, allocations: 350.6 kB / 1.089 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/0.9088, allocations: 0.5236 MB / 1.09 GB, free: 81.63 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.9127, allocations: 2.222 MB / 1.092 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006806/0.9134, allocations: 1.068 MB / 1.093 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001308/0.9147, allocations: 229.5 kB / 1.093 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.915, allocations: 79.44 kB / 1.093 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/0.915, allocations: 1.344 kB / 1.093 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of Templates: time 0.0461/0.9611, allocations: 24.13 MB / 1.117 GB, free: 69.38 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)