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.001166/0.001166, allocations: 103.2 kB / 15.98 MB, free: 6.336 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.001274/0.001275, allocations: 195.4 kB / 16.91 MB, free: 6.184 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.321/1.321, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7898/0.7898, allocations: 122.9 MB / 413.6 MB, free: 16 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001916, allocations: 63.89 kB / 0.4906 GB, free: 7.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3525, allocations: 77.92 MB / 0.5667 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.0523/0.4048, allocations: 60.67 MB / 0.626 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01782/0.4227, allocations: 11.91 MB / 0.6376 GB, free: 2.23 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00227/0.425, allocations: 55.62 kB / 0.6377 GB, free: 2.176 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.4272, allocations: 0.5751 MB / 0.6382 GB, free: 1.598 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005799/0.433, allocations: 1.83 MB / 0.64 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.4361, allocations: 1.096 MB / 0.6411 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00459/0.4407, allocations: 3.114 MB / 0.6441 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.4424, allocations: 1.094 MB / 0.6452 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003625/0.4461, allocations: 1.335 MB / 0.6465 GB, free: 9.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.4475, allocations: 0.9334 MB / 0.6474 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002122/0.4477, allocations: 116 kB / 0.6475 GB, free: 8.039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.4509, allocations: 1.474 MB / 0.6489 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003995/0.4514, allocations: 290.9 kB / 0.6492 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.4525, allocations: 0.6997 MB / 0.6499 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003661/0.4561, allocations: 2.302 MB / 0.6522 GB, free: 3.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4562, allocations: 0 / 0.6522 GB, free: 3.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.4562, allocations: 4 kB / 0.6522 GB, free: 3.262 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.4562, allocations: 0 / 0.6522 GB, free: 3.262 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.003055/0.4593, allocations: 1.719 MB / 0.6538 GB, free: 1.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.4593, allocations: 12.61 kB / 0.6538 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.4611, allocations: 339 kB / 0.6542 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.4633, allocations: 1.127 MB / 0.6553 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/0.4636, allocations: 121.9 kB / 0.6554 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.4638, allocations: 80 kB / 0.6555 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.4658, allocations: 0.9465 MB / 0.6564 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.4658, allocations: 4 kB / 0.6564 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.4659, allocations: 32 kB / 0.6564 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.4659, allocations: 16 kB / 0.6564 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.468, allocations: 0.8157 MB / 0.6572 GB, free: 13.9 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.00637/0.4744, allocations: 4.751 MB / 0.6619 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.476, allocations: 0.5736 MB / 0.6624 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006096/0.4766, allocations: 268.7 kB / 0.6627 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/0.4781, allocations: 1.365 MB / 0.664 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.4781, allocations: 42.5 kB / 0.6641 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/0.4781, allocations: 0 / 0.6641 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.008255/0.4864, allocations: 1.828 MB / 0.6659 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.4864, allocations: 55.41 kB / 0.6659 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.4881, allocations: 1.055 MB / 0.6669 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-05/0.4881, allocations: 37.7 kB / 0.667 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.4886, allocations: 0.5157 MB / 0.6675 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.4887, allocations: 153.8 kB / 0.6676 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.4889, allocations: 122.1 kB / 0.6677 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4891, allocations: 330 kB / 0.6681 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007292/0.4898, allocations: 274.9 kB / 0.6683 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009158/0.4907, allocations: 482.1 kB / 0.6688 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.4921, allocations: 0.6233 MB / 0.6694 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.984e-06/0.4922, allocations: 4 kB / 0.6694 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002514/0.4947, allocations: 0.922 MB / 0.6703 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4947, allocations: 8.406 kB / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.4947, allocations: 8 kB / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.4961, allocations: 316.6 kB / 0.6706 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.4965, allocations: 107.8 kB / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.4981, allocations: 0.9229 MB / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.4994, allocations: 155.3 kB / 0.6718 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.4995, allocations: 31.98 kB / 0.6718 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001147/0.5006, allocations: 489.1 kB / 0.6723 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009238/0.5016, allocations: 474.1 kB / 0.6727 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001396/0.503, allocations: 0.6239 MB / 0.6733 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.009e-06/0.503, allocations: 4 kB / 0.6733 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002442/0.5055, allocations: 0.9141 MB / 0.6742 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.5055, allocations: 11.94 kB / 0.6742 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.5055, allocations: 4 kB / 0.6742 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.5067, allocations: 320.2 kB / 0.6745 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.5071, allocations: 107.8 kB / 0.6746 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.5086, allocations: 0.9074 MB / 0.6755 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.5098, allocations: 151.5 kB / 0.6757 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-05/0.5099, allocations: 24 kB / 0.6757 GB, free: 9.891 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.0002376/0.5102, allocations: 220.1 kB / 0.6759 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.5104, allocations: 110.7 kB / 0.676 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003754/0.5142, allocations: 1.068 MB / 0.677 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.5142, allocations: 7.984 kB / 0.6771 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5142, allocations: 8 kB / 0.6771 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.5142, allocations: 3.938 kB / 0.6771 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005051/0.5193, allocations: 2.079 MB / 0.6791 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/0.5193, allocations: 0 / 0.6791 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.5195, allocations: 52.19 kB / 0.6791 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.5206, allocations: 314.8 kB / 0.6794 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.5206, allocations: 8 kB / 0.6795 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.5222, allocations: 0.9541 MB / 0.6804 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5222, allocations: 4 kB / 0.6804 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/0.5256, allocations: 1.105 MB / 0.6815 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004835/0.5261, allocations: 255.6 kB / 0.6817 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.5263, allocations: 11.98 kB / 0.6817 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008925/0.5272, allocations: 91.81 kB / 0.6818 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.211e-05/0.5273, allocations: 35.89 kB / 0.6818 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/0.5273, allocations: 27.88 kB / 0.6819 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001258/0.5286, allocations: 0.7389 MB / 0.6826 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5286, allocations: 4 kB / 0.6826 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001687/0.5303, allocations: 0.5652 MB / 0.6831 GB, free: 2.055 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.0008923/0.5312, allocations: 398.6 kB / 0.6835 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002921/0.5341, allocations: 1.019 MB / 0.6845 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.5342, allocations: 4 kB / 0.6845 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008131/0.535, allocations: 333 kB / 0.6848 GB, free: 332 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.5373, allocations: 0.5049 MB / 0.6853 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.5411, allocations: 2.214 MB / 0.6875 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/0.5418, allocations: 1.061 MB / 0.6885 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009289/0.5427, allocations: 215.6 kB / 0.6887 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.5429, allocations: 79.42 kB / 0.6888 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.5429, allocations: 4 kB / 0.6888 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.04135/0.5843, allocations: 24.73 MB / 0.713 GB, free: 3.766 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)