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.0007531/0.0007533, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008247/0.0008246, allocations: 183.2 kB / 16.92 MB, free: 6.691 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6937/0.6937, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003422, allocations: 12 kB / 495.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.182, allocations: 77.53 MB / 0.5599 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.3745/0.5566, allocations: 59.69 MB / 0.6182 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01918/0.5758, allocations: 11.92 MB / 0.6299 GB, free: 7.223 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003651/0.5795, allocations: 53.06 kB / 0.6299 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003035/0.5825, allocations: 0.5405 MB / 0.6305 GB, free: 6.875 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00776/0.5903, allocations: 1.804 MB / 0.6322 GB, free: 5.797 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004029/0.5944, allocations: 1.082 MB / 0.6333 GB, free: 5.156 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006775/0.6012, allocations: 3.906 MB / 0.6371 GB, free: 2.973 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.6028, allocations: 0.9095 MB / 0.638 GB, free: 2.391 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003801/0.6067, allocations: 1.117 MB / 0.6391 GB, free: 1.746 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.6081, allocations: 0.8502 MB / 0.6399 GB, free: 1.254 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.6082, allocations: 42.44 kB / 0.6399 GB, free: 1.254 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003369/0.6116, allocations: 1.353 MB / 0.6413 GB, free: 496 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.6119, allocations: 209 kB / 0.6415 GB, free: 336 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000772/0.6127, allocations: 0.6308 MB / 0.6421 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.6158, allocations: 2.205 MB / 0.6442 GB, free: 14.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6158, allocations: 0 / 0.6442 GB, free: 14.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6158, allocations: 3.5 kB / 0.6442 GB, free: 14.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.6158, allocations: 0 / 0.6442 GB, free: 14.48 MB / 478.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.002894/0.6187, allocations: 1.49 MB / 0.6457 GB, free: 13.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6188, allocations: 10.41 kB / 0.6457 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.6204, allocations: 385.1 kB / 0.6461 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.6225, allocations: 1.119 MB / 0.6472 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003828/0.6229, allocations: 127.2 kB / 0.6473 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.623, allocations: 85.16 kB / 0.6474 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.6249, allocations: 0.9716 MB / 0.6483 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.6249, allocations: 0 / 0.6483 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-05/0.625, allocations: 33.97 kB / 0.6483 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.6251, allocations: 18.19 kB / 0.6484 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.6271, allocations: 0.8542 MB / 0.6492 GB, free: 11.12 MB / 478.1 MB 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.005917/0.6331, allocations: 4.802 MB / 0.6539 GB, free: 6.176 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.6346, allocations: 0.597 MB / 0.6545 GB, free: 5.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006253/0.6353, allocations: 284.7 kB / 0.6547 GB, free: 5.289 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/0.6367, allocations: 1.392 MB / 0.6561 GB, free: 3.602 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.6367, allocations: 38.56 kB / 0.6561 GB, free: 3.555 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 1.704e-06/0.6367, allocations: 4 kB / 0.6561 GB, free: 3.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.008443/0.6452, allocations: 2.052 MB / 0.6581 GB, free: 1.469 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.6452, allocations: 59.41 kB / 0.6582 GB, free: 1.398 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.6467, allocations: 1.051 MB / 0.6592 GB, free: 340 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.6468, allocations: 37.7 kB / 0.6593 GB, free: 296 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.6473, allocations: 0.5158 MB / 0.6598 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.6474, allocations: 149.8 kB / 0.6599 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.28e-05/0.6475, allocations: 53.69 kB / 0.66 GB, free: 15.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6476, allocations: 322 kB / 0.6603 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007978/0.6484, allocations: 288.9 kB / 0.6605 GB, free: 14.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009451/0.6494, allocations: 0.4951 MB / 0.661 GB, free: 14.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.6508, allocations: 0.6663 MB / 0.6617 GB, free: 13.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6509, allocations: 7.938 kB / 0.6617 GB, free: 13.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002395/0.6533, allocations: 0.9765 MB / 0.6626 GB, free: 12.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.6534, allocations: 204.4 kB / 0.6628 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.6534, allocations: 8 kB / 0.6628 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.6547, allocations: 329.2 kB / 0.6632 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.6552, allocations: 119.8 kB / 0.6633 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.6567, allocations: 0.9364 MB / 0.6642 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.658, allocations: 191.2 kB / 0.6644 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/0.6581, allocations: 24 kB / 0.6644 GB, free: 10.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.6581, allocations: 5.719 kB / 0.6644 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002231/0.6603, allocations: 0.8435 MB / 0.6652 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6603, allocations: 4 kB / 0.6652 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.6614, allocations: 324.8 kB / 0.6655 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.6619, allocations: 119.8 kB / 0.6656 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.6634, allocations: 0.9405 MB / 0.6666 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.6645, allocations: 160.9 kB / 0.6667 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-05/0.6646, allocations: 27.98 kB / 0.6667 GB, free: 8.344 MB / 494.1 MB 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.0005349/0.6652, allocations: 352.9 kB / 0.6671 GB, free: 7.988 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.6654, allocations: 110.7 kB / 0.6672 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/0.6693, allocations: 1.159 MB / 0.6683 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.6693, allocations: 7.984 kB / 0.6683 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6693, allocations: 0 / 0.6683 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6693, allocations: 0 / 0.6683 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005235/0.6745, allocations: 2.169 MB / 0.6704 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.6746, allocations: 0 / 0.6704 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.6748, allocations: 55.91 kB / 0.6705 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.6759, allocations: 328.9 kB / 0.6708 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.676, allocations: 15.98 kB / 0.6708 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.6776, allocations: 0.9724 MB / 0.6718 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.6776, allocations: 3.938 kB / 0.6718 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003557/0.6812, allocations: 1.191 MB / 0.6729 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006074/0.6818, allocations: 271.5 kB / 0.6732 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.6821, allocations: 15.88 kB / 0.6732 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009843/0.6831, allocations: 103.8 kB / 0.6733 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.6832, allocations: 39.83 kB / 0.6734 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.337e-05/0.6832, allocations: 23.98 kB / 0.6734 GB, free: 1.355 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001321/0.6846, allocations: 0.7467 MB / 0.6741 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6846, allocations: 0 / 0.6741 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001963/0.6865, allocations: 0.5652 MB / 0.6747 GB, free: 36 kB / 494.1 MB 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.001048/0.6876, allocations: 402.2 kB / 0.675 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002978/0.6906, allocations: 1.07 MB / 0.6761 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6906, allocations: 0 / 0.6761 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008248/0.6914, allocations: 321.9 kB / 0.6764 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/0.6946, allocations: 0.5128 MB / 0.6769 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/0.6988, allocations: 2.257 MB / 0.6791 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000777/0.6996, allocations: 1.065 MB / 0.6801 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001042/0.7007, allocations: 220.2 kB / 0.6803 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.7009, allocations: 79.42 kB / 0.6804 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of SimCode: time 1.272e-06/0.7009, allocations: 0 / 0.6804 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.04451/0.7454, allocations: 24.08 MB / 0.7039 GB, free: 2.273 MB / 0.5137 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)