Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 288.3 MB / 303.2 MB, free: 8.195 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.001163/0.001163, allocations: 181.1 kB / 371.8 MB, free: 10.27 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.541/1.541, allocations: 205.4 MB / 0.6306 GB, free: 9.996 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.0009258/0.0009257, allocations: 85.22 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003909, allocations: 16.72 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2146, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04578/0.2605, allocations: 51.35 MB / 1.03 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.2754, allocations: 10.23 MB / 1.04 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.2772, allocations: 47.62 kB / 1.04 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.2792, allocations: 0.6219 MB / 1.04 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005994/0.2852, allocations: 1.897 MB / 1.042 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004015/0.2893, allocations: 1.329 MB / 1.043 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003522/0.2928, allocations: 1.851 MB / 1.045 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.2943, allocations: 0.7979 MB / 1.046 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/0.2966, allocations: 0.9925 MB / 1.047 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.2978, allocations: 0.6066 MB / 1.048 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002271/0.2981, allocations: 44 kB / 1.048 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.3006, allocations: 1.014 MB / 1.049 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.3009, allocations: 199.1 kB / 1.049 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004949/0.3014, allocations: 285.1 kB / 1.049 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.3038, allocations: 1.594 MB / 1.051 GB, free: 2.684 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3038, allocations: 0 / 1.051 GB, free: 2.684 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3038, allocations: 0 / 1.051 GB, free: 2.684 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.035e-05/0.3039, allocations: 4 kB / 1.051 GB, free: 2.68 MB / 0.6667 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.003274/0.3072, allocations: 1.489 MB / 1.052 GB, free: 1.133 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.3072, allocations: 12.03 kB / 1.052 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.309, allocations: 386 kB / 1.052 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.3114, allocations: 1.051 MB / 1.053 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/0.3118, allocations: 129.9 kB / 1.054 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.3119, allocations: 83.98 kB / 1.054 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.3141, allocations: 0.9566 MB / 1.055 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.3141, allocations: 7.984 kB / 1.055 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.528e-05/0.3142, allocations: 28 kB / 1.055 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.3142, allocations: 20 kB / 1.055 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.3165, allocations: 0.8627 MB / 1.055 GB, free: 13.51 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.006818/0.3233, allocations: 4.555 MB / 1.06 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.3251, allocations: 0.6416 MB / 1.061 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/0.3265, allocations: 1.396 MB / 1.062 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.3265, allocations: 39 kB / 1.062 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.675e-06/0.3265, allocations: 0 / 1.062 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008036/0.3346, allocations: 1.893 MB / 1.064 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.3347, allocations: 55.84 kB / 1.064 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.3365, allocations: 1.063 MB / 1.065 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.3366, allocations: 37.7 kB / 1.065 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/0.3371, allocations: 0.5274 MB / 1.065 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.3373, allocations: 157.6 kB / 1.066 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.3374, allocations: 12 kB / 1.066 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3375, allocations: 337.9 kB / 1.066 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008033/0.3383, allocations: 292.9 kB / 1.066 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.3393, allocations: 0.4899 MB / 1.067 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/0.3402, allocations: 328.6 kB / 1.067 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3402, allocations: 0 / 1.067 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.4113/0.7515, allocations: 1.168 MB / 1.068 GB, free: 90.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000514/0.7521, allocations: 1.406 MB / 1.069 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/0.7521, allocations: 4.641 kB / 1.069 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/0.7548, allocations: 335.5 kB / 1.07 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.7558, allocations: 121.1 kB / 1.07 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/0.7586, allocations: 0.9394 MB / 1.071 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/0.761, allocations: 182.5 kB / 1.071 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.7612, allocations: 32.12 kB / 1.071 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.7612, allocations: 4.125 kB / 1.071 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005566/0.7668, allocations: 1.035 MB / 1.072 GB, free: 88.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.7668, allocations: 4.469 kB / 1.072 GB, free: 88.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/0.7688, allocations: 322.8 kB / 1.072 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009144/0.7698, allocations: 119.7 kB / 1.072 GB, free: 88.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.772, allocations: 0.9373 MB / 1.073 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.774, allocations: 156 kB / 1.074 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.7742, allocations: 32.28 kB / 1.074 GB, free: 87.53 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.0008812/0.7751, allocations: 355.1 kB / 1.074 GB, free: 87.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/0.7755, allocations: 108.1 kB / 1.074 GB, free: 87.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007072/0.7826, allocations: 1.203 MB / 1.075 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/0.7827, allocations: 5.984 kB / 1.075 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.7827, allocations: 0.6875 kB / 1.075 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.7827, allocations: 3.609 kB / 1.075 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009332/0.7921, allocations: 2.219 MB / 1.077 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.7921, allocations: 8.531 kB / 1.077 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.7926, allocations: 62.72 kB / 1.077 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/0.7944, allocations: 331.3 kB / 1.078 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.468e-05/0.7945, allocations: 17.48 kB / 1.078 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.7972, allocations: 0.9783 MB / 1.079 GB, free: 85.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.7972, allocations: 7.219 kB / 1.079 GB, free: 85.18 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006295/0.8035, allocations: 1.352 MB / 1.08 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.8047, allocations: 290.9 kB / 1.08 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005988/0.8054, allocations: 18.48 kB / 1.08 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/0.8076, allocations: 99.47 kB / 1.08 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.8079, allocations: 45.05 kB / 1.08 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.8081, allocations: 24.67 kB / 1.081 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003314/0.8114, allocations: 0.7465 MB / 1.081 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.133e-06/0.8114, allocations: 0 / 1.081 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004706/0.8161, allocations: 0.5786 MB / 1.082 GB, free: 83.83 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.001884/0.8181, allocations: 401.2 kB / 1.082 GB, free: 83.69 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005617/0.8237, allocations: 1.092 MB / 1.083 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.8237, allocations: 1.219 kB / 1.083 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.8253, allocations: 356.7 kB / 1.084 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004541/0.8299, allocations: 0.5112 MB / 1.084 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/0.8363, allocations: 2.227 MB / 1.086 GB, free: 81.87 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.8375, allocations: 1.088 MB / 1.087 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002256/0.8398, allocations: 235.3 kB / 1.088 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/0.8402, allocations: 81.17 kB / 1.088 GB, free: 81.08 MB / 0.6823 GB Notification: Performance of SimCode: time 1.382e-06/0.8403, allocations: 0 / 1.088 GB, free: 81.08 MB / 0.6823 GB Notification: Performance of Templates: time 0.05031/0.8906, allocations: 24.12 MB / 1.111 GB, free: 71.22 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)