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_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008931/0.0008932, allocations: 100.3 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.0009338/0.0009338, allocations: 177.3 kB / 15.95 MB, free: 216 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.515/1.515, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.553/1.553, allocations: 251.9 MB / 0.51 GB, free: 4.828 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.0005273/0.0005274, allocations: 15.98 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.5101, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05196/0.5621, allocations: 51.36 MB / 0.7781 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.5774, allocations: 10.21 MB / 0.7881 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/0.5801, allocations: 51.62 kB / 0.7881 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.5827, allocations: 0.6218 MB / 0.7887 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007214/0.59, allocations: 1.897 MB / 0.7906 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004409/0.5944, allocations: 1.252 MB / 0.7918 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004577/0.599, allocations: 1.838 MB / 0.7936 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.6007, allocations: 0.8342 MB / 0.7944 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002692/0.6034, allocations: 0.9692 MB / 0.7954 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.6046, allocations: 0.6183 MB / 0.796 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.6047, allocations: 44 kB / 0.796 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.6076, allocations: 0.979 MB / 0.797 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.6078, allocations: 199.1 kB / 0.7972 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004851/0.6083, allocations: 285 kB / 0.7974 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.6109, allocations: 1.578 MB / 0.799 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6109, allocations: 0 / 0.799 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.386e-06/0.6109, allocations: 0 / 0.799 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.76e-05/0.611, allocations: 0 / 0.799 GB, free: 2.516 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.003198/0.6142, allocations: 1.493 MB / 0.8004 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.6142, allocations: 16.03 kB / 0.8005 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/0.6169, allocations: 0.5096 MB / 0.801 GB, free: 448 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.619, allocations: 1.066 MB / 0.802 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/0.6194, allocations: 125.9 kB / 0.8021 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.6195, allocations: 80 kB / 0.8022 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.6217, allocations: 1.029 MB / 0.8032 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.6217, allocations: 0 / 0.8032 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.37e-05/0.6218, allocations: 32 kB / 0.8032 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.6218, allocations: 16 kB / 0.8032 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.6245, allocations: 1.015 MB / 0.8042 GB, free: 12.99 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.008055/0.6326, allocations: 4.735 MB / 0.8089 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004267/0.6369, allocations: 1.126 MB / 0.81 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.638, allocations: 1.037 MB / 0.811 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.638, allocations: 39 kB / 0.811 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 3.617e-06/0.638, allocations: 0 / 0.811 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53): time 0.009786/0.6478, allocations: 2.49 MB / 0.8134 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.6479, allocations: 55.84 kB / 0.8135 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.6493, allocations: 0.9471 MB / 0.8144 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.6495, allocations: 37.7 kB / 0.8145 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.6499, allocations: 0.508 MB / 0.8149 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.6501, allocations: 189.2 kB / 0.8151 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.6502, allocations: 12 kB / 0.8151 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6503, allocations: 326 kB / 0.8155 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.6513, allocations: 372.9 kB / 0.8158 GB, free: 484 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.6525, allocations: 0.5342 MB / 0.8163 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.6536, allocations: 401.9 kB / 0.8167 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6536, allocations: 0 / 0.8167 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00394/0.6576, allocations: 1.291 MB / 0.818 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003791/0.658, allocations: 0.973 MB / 0.8189 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.658, allocations: 11.94 kB / 0.8189 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.6592, allocations: 324.5 kB / 0.8192 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.6599, allocations: 139.8 kB / 0.8194 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.6615, allocations: 0.9348 MB / 0.8203 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.6628, allocations: 175.3 kB / 0.8205 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/0.6628, allocations: 23.98 kB / 0.8205 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.6629, allocations: 4 kB / 0.8205 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003565/0.6664, allocations: 1.154 MB / 0.8216 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.6665, allocations: 11.97 kB / 0.8216 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.6676, allocations: 324.5 kB / 0.8219 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/0.6682, allocations: 143.8 kB / 0.8221 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.6697, allocations: 0.938 MB / 0.823 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.6709, allocations: 171.3 kB / 0.8231 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.638e-05/0.671, allocations: 31.98 kB / 0.8232 GB, free: 8.723 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (54): * Single equations (assignments): 53 * 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.0005628/0.6716, allocations: 349 kB / 0.8235 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.6717, allocations: 110.6 kB / 0.8236 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/0.6763, allocations: 1.435 MB / 0.825 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.231e-05/0.6763, allocations: 11.94 kB / 0.825 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.6763, allocations: 0 / 0.825 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.6764, allocations: 7.922 kB / 0.825 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005847/0.6822, allocations: 2.53 MB / 0.8275 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.6823, allocations: 4 kB / 0.8275 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.6828, allocations: 112 kB / 0.8276 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.6839, allocations: 320.6 kB / 0.8279 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.684, allocations: 23.98 kB / 0.8279 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.6856, allocations: 0.9678 MB / 0.8289 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.6856, allocations: 4.031 kB / 0.8289 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004778/0.6904, allocations: 1.53 MB / 0.8304 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007353/0.6912, allocations: 295.5 kB / 0.8307 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.6913, allocations: 12 kB / 0.8307 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009611/0.6923, allocations: 127.7 kB / 0.8308 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.6924, allocations: 40.38 kB / 0.8308 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-05/0.6925, allocations: 27.98 kB / 0.8309 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001021/0.6935, allocations: 0.6637 MB / 0.8315 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6935, allocations: 0 / 0.8315 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001643/0.6952, allocations: 0.5652 MB / 0.8321 GB, free: 15.39 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.000939/0.6961, allocations: 378.8 kB / 0.8324 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004233/0.7004, allocations: 1.377 MB / 0.8338 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/0.7004, allocations: 0 / 0.8338 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.7017, allocations: 492.8 kB / 0.8342 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/0.7048, allocations: 0.4904 MB / 0.8347 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/0.7099, allocations: 2.329 MB / 0.837 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.7111, allocations: 1.093 MB / 0.8381 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001328/0.7124, allocations: 239.3 kB / 0.8383 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.7128, allocations: 79.42 kB / 0.8384 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of SimCode: time 1.553e-06/0.7128, allocations: 0 / 0.8384 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of Templates: time 0.04075/0.7535, allocations: 23.38 MB / 0.8612 GB, free: 1.785 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: