Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00176/0.00176, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.00189/0.00189, allocations: 194.2 kB / 17.2 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7582/0.7582, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 0.4911 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3447, allocations: 77.93 MB / 0.5672 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05189/0.3967, allocations: 61.2 MB / 0.627 GB, free: 13.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01579/0.4125, allocations: 12.02 MB / 0.6387 GB, free: 1.445 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.4142, allocations: 59.62 kB / 0.6388 GB, free: 1.387 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.4157, allocations: 0.6791 MB / 0.6394 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004622/0.4204, allocations: 1.967 MB / 0.6413 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.4231, allocations: 1.208 MB / 0.6425 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003888/0.427, allocations: 3.083 MB / 0.6455 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.4285, allocations: 1.11 MB / 0.6466 GB, free: 9.289 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.4318, allocations: 1.333 MB / 0.6479 GB, free: 7.953 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.4333, allocations: 0.9023 MB / 0.6488 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.4335, allocations: 116 kB / 0.6489 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.4367, allocations: 1.443 MB / 0.6503 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003568/0.4371, allocations: 290.9 kB / 0.6506 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008484/0.4379, allocations: 0.7075 MB / 0.6513 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003661/0.4416, allocations: 2.275 MB / 0.6535 GB, free: 2.211 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4416, allocations: 0 / 0.6535 GB, free: 2.211 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4416, allocations: 4 kB / 0.6535 GB, free: 2.207 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.4417, allocations: 0 / 0.6535 GB, free: 2.207 MB / 494.1 MB 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.003021/0.4447, allocations: 1.742 MB / 0.6552 GB, free: 416 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.4447, allocations: 12.62 kB / 0.6552 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.4469, allocations: 402.8 kB / 0.6556 GB, free: 0 / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/0.4494, allocations: 1.113 MB / 0.6567 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/0.4498, allocations: 125.9 kB / 0.6568 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.45, allocations: 87.94 kB / 0.6569 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.4521, allocations: 1.021 MB / 0.6579 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.4521, allocations: 0 / 0.6579 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.859e-05/0.4522, allocations: 40 kB / 0.6579 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.4522, allocations: 20 kB / 0.658 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.4547, allocations: 0.8976 MB / 0.6588 GB, free: 12.58 MB / 0.4981 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.006724/0.4614, allocations: 5.288 MB / 0.664 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003499/0.4649, allocations: 0.8092 MB / 0.6648 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008219/0.4658, allocations: 310.5 kB / 0.6651 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006674/0.4665, allocations: 0.8986 MB / 0.666 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.4665, allocations: 46.45 kB / 0.666 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.415e-06/0.4665, allocations: 0 / 0.666 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.008899/0.4754, allocations: 1.965 MB / 0.6679 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.4755, allocations: 59.41 kB / 0.668 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.477, allocations: 1.076 MB / 0.669 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.898e-05/0.4771, allocations: 33.7 kB / 0.6691 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004316/0.4776, allocations: 0.5428 MB / 0.6696 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.4777, allocations: 153.8 kB / 0.6697 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.4779, allocations: 142.1 kB / 0.6699 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.478, allocations: 326 kB / 0.6702 GB, free: 292 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.479, allocations: 335.3 kB / 0.6705 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.4802, allocations: 0.5541 MB / 0.671 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.4821, allocations: 0.7463 MB / 0.6718 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4821, allocations: 4 kB / 0.6718 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003843/0.486, allocations: 1.207 MB / 0.673 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.486, allocations: 11.94 kB / 0.673 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.486, allocations: 7.984 kB / 0.673 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.4873, allocations: 320.6 kB / 0.6733 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/0.4879, allocations: 135.8 kB / 0.6734 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.4894, allocations: 0.914 MB / 0.6743 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.4907, allocations: 159.3 kB / 0.6745 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/0.4908, allocations: 35.92 kB / 0.6745 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001271/0.492, allocations: 0.5331 MB / 0.675 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001115/0.4932, allocations: 0.5425 MB / 0.6755 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001823/0.495, allocations: 0.7455 MB / 0.6763 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.495, allocations: 0 / 0.6763 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003882/0.4989, allocations: 1.188 MB / 0.6774 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4989, allocations: 8 kB / 0.6774 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.499, allocations: 8 kB / 0.6774 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.5001, allocations: 304.7 kB / 0.6777 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/0.5008, allocations: 139.8 kB / 0.6779 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.5023, allocations: 0.9114 MB / 0.6788 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.5037, allocations: 147.5 kB / 0.6789 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/0.5038, allocations: 31.98 kB / 0.6789 GB, free: 6.895 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0002368/0.504, allocations: 228 kB / 0.6792 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.5042, allocations: 106.7 kB / 0.6793 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/0.5083, allocations: 1.14 MB / 0.6804 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.5083, allocations: 4 kB / 0.6804 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.5083, allocations: 0 / 0.6804 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.5083, allocations: 3.984 kB / 0.6804 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005437/0.5138, allocations: 2.226 MB / 0.6825 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.5138, allocations: 4 kB / 0.6826 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.5141, allocations: 71.88 kB / 0.6826 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009952/0.5151, allocations: 304.8 kB / 0.6829 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.5152, allocations: 15.98 kB / 0.6829 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.5166, allocations: 0.9407 MB / 0.6838 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5167, allocations: 4.031 kB / 0.6838 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004083/0.5207, allocations: 1.212 MB / 0.685 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.5213, allocations: 267.5 kB / 0.6853 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.5214, allocations: 16 kB / 0.6853 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000835/0.5223, allocations: 75.91 kB / 0.6854 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.883e-05/0.5224, allocations: 43.77 kB / 0.6854 GB, free: 72 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.5224, allocations: 23.98 kB / 0.6854 GB, free: 48 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001227/0.5237, allocations: 0.7631 MB / 0.6862 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5237, allocations: 0 / 0.6862 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001624/0.5253, allocations: 0.5731 MB / 0.6867 GB, free: 14.7 MB / 0.5294 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 (34): * Single equations (assignments): 29 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007672/0.5261, allocations: 389.7 kB / 0.6871 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00368/0.5298, allocations: 1.199 MB / 0.6883 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.5298, allocations: 4 kB / 0.6883 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009927/0.5308, allocations: 362.6 kB / 0.6886 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.5332, allocations: 0.5197 MB / 0.6891 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005085/0.5383, allocations: 2.067 MB / 0.6912 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.539, allocations: 1.073 MB / 0.6922 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008826/0.5398, allocations: 224.4 kB / 0.6924 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.54, allocations: 79.42 kB / 0.6925 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of SimCode: time 1.794e-06/0.54, allocations: 0 / 0.6925 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of Templates: time 0.04064/0.5807, allocations: 25.24 MB / 0.7171 GB, free: 15.81 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)