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_LowTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 251.9 MB / 0.51 GB, free: 4.773 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000546/0.0005462, allocations: 20 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5641/0.5646, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.0508/0.6155, allocations: 51.39 MB / 0.7781 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01579/0.6314, allocations: 10.22 MB / 0.7881 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.6337, allocations: 47.62 kB / 0.7882 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.6362, allocations: 0.6296 MB / 0.7888 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00667/0.6428, allocations: 1.909 MB / 0.7907 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004102/0.647, allocations: 1.25 MB / 0.7919 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004187/0.6512, allocations: 1.843 MB / 0.7937 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.6527, allocations: 0.8147 MB / 0.7945 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.6552, allocations: 0.9847 MB / 0.7954 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.6564, allocations: 0.6222 MB / 0.796 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.6566, allocations: 44 kB / 0.7961 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.659, allocations: 0.9751 MB / 0.797 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.6593, allocations: 203.1 kB / 0.7972 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004503/0.6597, allocations: 285 kB / 0.7975 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.6621, allocations: 1.586 MB / 0.799 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.6621, allocations: 4 kB / 0.7991 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6621, allocations: 0 / 0.7991 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.596e-05/0.6622, allocations: 0 / 0.7991 GB, free: 2.438 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003241/0.6654, allocations: 1.516 MB / 0.8005 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.6655, allocations: 8.031 kB / 0.8005 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.6677, allocations: 481.8 kB / 0.801 GB, free: 392 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.6698, allocations: 1.059 MB / 0.802 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003734/0.6702, allocations: 129.9 kB / 0.8022 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.6703, allocations: 80 kB / 0.8022 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.6725, allocations: 1.027 MB / 0.8032 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.6726, allocations: 0 / 0.8032 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-05/0.6727, allocations: 32 kB / 0.8033 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.6727, allocations: 20 kB / 0.8033 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.6752, allocations: 0.9641 MB / 0.8042 GB, free: 12.98 MB / 0.6231 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.00684/0.6821, allocations: 4.687 MB / 0.8088 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/0.6858, allocations: 0.9579 MB / 0.8097 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000742/0.6865, allocations: 0.9029 MB / 0.8106 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.6866, allocations: 42.94 kB / 0.8107 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 2.986e-06/0.6866, allocations: 0 / 0.8107 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.009151/0.6957, allocations: 2.26 MB / 0.8129 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.6958, allocations: 59.8 kB / 0.8129 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.6977, allocations: 1.072 MB / 0.814 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.464e-05/0.6978, allocations: 41.7 kB / 0.814 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000517/0.6983, allocations: 0.5275 MB / 0.8145 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.6985, allocations: 161.6 kB / 0.8147 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.6986, allocations: 12 kB / 0.8147 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6987, allocations: 334 kB / 0.815 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009477/0.6996, allocations: 352.9 kB / 0.8153 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.7008, allocations: 0.5524 MB / 0.8159 GB, free: 352 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009686/0.7018, allocations: 392.5 kB / 0.8163 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7018, allocations: 0 / 0.8163 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002831/0.7047, allocations: 1.104 MB / 0.8173 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005649/0.7052, allocations: 1.495 MB / 0.8188 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.7053, allocations: 4 kB / 0.8188 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.7065, allocations: 340.5 kB / 0.8191 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.7072, allocations: 139.8 kB / 0.8193 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.7086, allocations: 0.9386 MB / 0.8202 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.71, allocations: 203.2 kB / 0.8204 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.623e-05/0.7101, allocations: 35.97 kB / 0.8204 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.7101, allocations: 0 / 0.8204 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002592/0.7127, allocations: 0.979 MB / 0.8214 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.7127, allocations: 7.938 kB / 0.8214 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.7138, allocations: 336.3 kB / 0.8217 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.7144, allocations: 143.8 kB / 0.8218 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.7158, allocations: 0.9308 MB / 0.8227 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.7171, allocations: 183.3 kB / 0.8229 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.7172, allocations: 31.98 kB / 0.8229 GB, free: 8.941 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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.000568/0.7177, allocations: 356.9 kB / 0.8233 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.7179, allocations: 110.6 kB / 0.8234 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004155/0.7221, allocations: 1.306 MB / 0.8247 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.7221, allocations: 7.984 kB / 0.8247 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7221, allocations: 7.938 kB / 0.8247 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.7221, allocations: 0 / 0.8247 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006342/0.7285, allocations: 2.398 MB / 0.827 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.7285, allocations: 0 / 0.827 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.7289, allocations: 83.88 kB / 0.8271 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.73, allocations: 324.9 kB / 0.8274 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.73, allocations: 19.98 kB / 0.8274 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.7315, allocations: 0.9718 MB / 0.8284 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.7316, allocations: 4.031 kB / 0.8284 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/0.7355, allocations: 1.464 MB / 0.8298 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/0.7361, allocations: 291.5 kB / 0.8301 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.7362, allocations: 8 kB / 0.8301 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000926/0.7371, allocations: 127.7 kB / 0.8302 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/0.7373, allocations: 59.2 kB / 0.8303 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.7373, allocations: 23.98 kB / 0.8303 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001171/0.7385, allocations: 0.751 MB / 0.831 GB, free: 416 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7385, allocations: 0 / 0.831 GB, free: 416 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001551/0.7401, allocations: 0.5615 MB / 0.8316 GB, free: 15.84 MB / 0.6544 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 (38): * Single equations (assignments): 33 * 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 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007627/0.7408, allocations: 374.5 kB / 0.8319 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003409/0.7443, allocations: 1.276 MB / 0.8332 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.7443, allocations: 4 kB / 0.8332 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000978/0.7453, allocations: 411.1 kB / 0.8336 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/0.7477, allocations: 0.5237 MB / 0.8341 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00573/0.7535, allocations: 2.535 MB / 0.8366 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/0.7543, allocations: 1.094 MB / 0.8376 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001146/0.7555, allocations: 230.1 kB / 0.8379 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.7557, allocations: 75.41 kB / 0.8379 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of SimCode: time 7.41e-07/0.7557, allocations: 0 / 0.8379 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.04042/0.7961, allocations: 24.05 MB / 0.8614 GB, free: 1.535 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) Environment - environmentSimulation: