Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 98.16 kB / 15.98 MB, free: 6.363 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.001674/0.001674, allocations: 199 kB / 16.91 MB, free: 6.199 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.747/0.747, allocations: 122.9 MB / 413.6 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 60.14 kB / 0.4906 GB, free: 7.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3588, allocations: 77.92 MB / 0.5667 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05348/0.4123, allocations: 60.65 MB / 0.6259 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.429, allocations: 11.92 MB / 0.6376 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.4312, allocations: 51.69 kB / 0.6376 GB, free: 2.207 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.4333, allocations: 0.5906 MB / 0.6382 GB, free: 1.613 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00553/0.4389, allocations: 1.822 MB / 0.64 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.4419, allocations: 1.091 MB / 0.641 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004316/0.4462, allocations: 3.102 MB / 0.6441 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.448, allocations: 1.102 MB / 0.6451 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002917/0.4509, allocations: 1.33 MB / 0.6464 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.4524, allocations: 0.9256 MB / 0.6473 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.4527, allocations: 119.9 kB / 0.6475 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.4553, allocations: 1.474 MB / 0.6489 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003343/0.4557, allocations: 294.9 kB / 0.6492 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008721/0.4566, allocations: 0.6997 MB / 0.6499 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.46, allocations: 2.294 MB / 0.6521 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4601, allocations: 0 / 0.6521 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4601, allocations: 4 kB / 0.6521 GB, free: 3.305 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.547e-05/0.4601, allocations: 0 / 0.6521 GB, free: 3.305 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003388/0.4635, allocations: 1.726 MB / 0.6538 GB, free: 1.516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.4636, allocations: 8.625 kB / 0.6538 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.4653, allocations: 335 kB / 0.6541 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.4675, allocations: 1.129 MB / 0.6552 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003731/0.4679, allocations: 125.9 kB / 0.6553 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.468, allocations: 80 kB / 0.6554 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.47, allocations: 0.9427 MB / 0.6563 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.47, allocations: 4 kB / 0.6563 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/0.4701, allocations: 32 kB / 0.6564 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.4702, allocations: 19.98 kB / 0.6564 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.4723, allocations: 0.8079 MB / 0.6572 GB, free: 13.94 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.006415/0.4787, allocations: 4.762 MB / 0.6618 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.4803, allocations: 0.5659 MB / 0.6624 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.4809, allocations: 266.6 kB / 0.6626 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/0.4823, allocations: 1.369 MB / 0.664 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.4823, allocations: 38.5 kB / 0.664 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.996e-06/0.4824, allocations: 0 / 0.664 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.008444/0.4908, allocations: 1.825 MB / 0.6658 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.4909, allocations: 59.41 kB / 0.6659 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.4924, allocations: 1.051 MB / 0.6669 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.26e-05/0.4925, allocations: 33.7 kB / 0.6669 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/0.4929, allocations: 0.5157 MB / 0.6674 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.4931, allocations: 161.8 kB / 0.6676 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.4933, allocations: 122.1 kB / 0.6677 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4934, allocations: 326 kB / 0.668 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007756/0.4942, allocations: 278.9 kB / 0.6683 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009503/0.4952, allocations: 482.2 kB / 0.6687 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.4966, allocations: 0.6272 MB / 0.6693 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.4966, allocations: 4 kB / 0.6693 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002446/0.499, allocations: 0.9259 MB / 0.6702 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4991, allocations: 8 kB / 0.6703 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4991, allocations: 7.984 kB / 0.6703 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.5004, allocations: 311.8 kB / 0.6706 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.5009, allocations: 111.8 kB / 0.6707 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.5024, allocations: 0.919 MB / 0.6716 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.5037, allocations: 163.2 kB / 0.6717 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/0.5037, allocations: 32 kB / 0.6717 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001071/0.5048, allocations: 485 kB / 0.6722 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008999/0.5057, allocations: 478.1 kB / 0.6727 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001386/0.5071, allocations: 0.6122 MB / 0.6733 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.499e-06/0.5071, allocations: 4 kB / 0.6733 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002427/0.5096, allocations: 0.9258 MB / 0.6742 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5096, allocations: 11.94 kB / 0.6742 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5096, allocations: 4 kB / 0.6742 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.5108, allocations: 312.9 kB / 0.6745 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.5112, allocations: 107.9 kB / 0.6746 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.5126, allocations: 0.9135 MB / 0.6755 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.5139, allocations: 151.5 kB / 0.6756 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/0.514, allocations: 27.98 kB / 0.6756 GB, free: 9.918 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.00024/0.5142, allocations: 218.6 kB / 0.6759 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.5145, allocations: 106.7 kB / 0.676 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/0.5181, allocations: 1.07 MB / 0.677 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.5182, allocations: 4 kB / 0.677 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5182, allocations: 4 kB / 0.677 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.5182, allocations: 12 kB / 0.677 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00512/0.5233, allocations: 2.075 MB / 0.6791 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.5234, allocations: 0 / 0.6791 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.5236, allocations: 51.91 kB / 0.6791 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.5246, allocations: 308.9 kB / 0.6794 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/0.5246, allocations: 12 kB / 0.6794 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.5261, allocations: 0.9561 MB / 0.6803 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.5261, allocations: 4 kB / 0.6803 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/0.5296, allocations: 1.105 MB / 0.6814 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/0.5301, allocations: 263.5 kB / 0.6817 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.5303, allocations: 8 kB / 0.6817 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009085/0.5312, allocations: 95.81 kB / 0.6818 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.5313, allocations: 27.95 kB / 0.6818 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/0.5314, allocations: 27.92 kB / 0.6818 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001343/0.5328, allocations: 0.7389 MB / 0.6825 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5328, allocations: 3.938 kB / 0.6826 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00176/0.5345, allocations: 0.5652 MB / 0.6831 GB, free: 2.09 MB / 0.5137 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 (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009901/0.5355, allocations: 406.4 kB / 0.6835 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002938/0.5385, allocations: 1.031 MB / 0.6845 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.5385, allocations: 4 kB / 0.6845 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007779/0.5393, allocations: 317.2 kB / 0.6848 GB, free: 364 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.5416, allocations: 0.5073 MB / 0.6853 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/0.5452, allocations: 2.218 MB / 0.6875 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006836/0.5459, allocations: 1.061 MB / 0.6885 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009436/0.5469, allocations: 218.6 kB / 0.6887 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.5471, allocations: 79.42 kB / 0.6888 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of SimCode: time 7.72e-07/0.5471, allocations: 0 / 0.6888 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.04171/0.5888, allocations: 24.72 MB / 0.7129 GB, free: 3.797 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)