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.0008743/0.0008744, allocations: 95.33 kB / 15.68 MB, free: 488 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.0009219/0.0009219, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.305/1.305, allocations: 223.2 MB / 240.5 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6669/0.6669, allocations: 113.8 MB / 405.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 15.98 kB / 493 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 77.16 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.2951/0.4316, allocations: 51.26 MB / 0.6069 GB, free: 8.367 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.4453, allocations: 10.31 MB / 0.617 GB, free: 1.051 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.4475, allocations: 49.12 kB / 0.617 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.4497, allocations: 0.628 MB / 0.6176 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005785/0.4555, allocations: 1.946 MB / 0.6195 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003639/0.4591, allocations: 1.322 MB / 0.6208 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003076/0.4622, allocations: 1.848 MB / 0.6226 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.4634, allocations: 0.8018 MB / 0.6234 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.4653, allocations: 0.9832 MB / 0.6244 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009349/0.4663, allocations: 0.6035 MB / 0.625 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.4664, allocations: 41.84 kB / 0.625 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.4688, allocations: 0.9997 MB / 0.626 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.469, allocations: 195.6 kB / 0.6262 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.4694, allocations: 286.6 kB / 0.6264 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.4714, allocations: 1.59 MB / 0.628 GB, free: 11.15 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.4714, allocations: 0 / 0.628 GB, free: 11.15 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4714, allocations: 5.281 kB / 0.628 GB, free: 11.15 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.4714, allocations: 0 / 0.628 GB, free: 11.15 MB / 462.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.002883/0.4743, allocations: 1.488 MB / 0.6294 GB, free: 9.988 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4744, allocations: 9.625 kB / 0.6295 GB, free: 9.988 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.4762, allocations: 380.8 kB / 0.6298 GB, free: 9.832 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.4783, allocations: 1.049 MB / 0.6308 GB, free: 8.977 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003855/0.4787, allocations: 131.1 kB / 0.631 GB, free: 8.926 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.4788, allocations: 79.22 kB / 0.631 GB, free: 8.902 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.4808, allocations: 0.9695 MB / 0.632 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.4809, allocations: 0 / 0.632 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.521e-05/0.4809, allocations: 32.72 kB / 0.632 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.481, allocations: 19.12 kB / 0.632 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.4831, allocations: 0.8463 MB / 0.6329 GB, free: 7.855 MB / 462.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.00637/0.4894, allocations: 4.822 MB / 0.6376 GB, free: 3.559 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.491, allocations: 0.6047 MB / 0.6382 GB, free: 3.277 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/0.4924, allocations: 1.386 MB / 0.6395 GB, free: 1.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.4924, allocations: 37.47 kB / 0.6396 GB, free: 1.664 MB / 462.1 MB Notification: Performance of pre-optimization done (n=43): time 2.454e-06/0.4924, allocations: 0 / 0.6396 GB, free: 1.664 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.008209/0.5006, allocations: 2.041 MB / 0.6415 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.5007, allocations: 61.62 kB / 0.6416 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.5022, allocations: 1.061 MB / 0.6426 GB, free: 56 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/0.5023, allocations: 36.11 kB / 0.6427 GB, free: 16 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.5027, allocations: 0.5255 MB / 0.6432 GB, free: 15.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.5028, allocations: 156.5 kB / 0.6433 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.5029, allocations: 11.09 kB / 0.6433 GB, free: 15.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.503, allocations: 324.2 kB / 0.6437 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008247/0.5038, allocations: 283.3 kB / 0.6439 GB, free: 14.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008789/0.5047, allocations: 495.5 kB / 0.6444 GB, free: 14.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008566/0.5056, allocations: 332.6 kB / 0.6447 GB, free: 14.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.5056, allocations: 2.844 kB / 0.6447 GB, free: 14.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003306/0.5089, allocations: 1.147 MB / 0.6458 GB, free: 13.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005237/0.5094, allocations: 1.579 MB / 0.6474 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5094, allocations: 4 kB / 0.6474 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.5107, allocations: 334.4 kB / 0.6477 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.5112, allocations: 115.8 kB / 0.6478 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.5128, allocations: 0.9309 MB / 0.6487 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.5141, allocations: 183.2 kB / 0.6489 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/0.5141, allocations: 28.08 kB / 0.6489 GB, free: 10.51 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.5142, allocations: 9.984 kB / 0.6489 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003081/0.5173, allocations: 1.011 MB / 0.6499 GB, free: 9.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.5173, allocations: 4 kB / 0.6499 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.5184, allocations: 326.2 kB / 0.6502 GB, free: 9.164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.5188, allocations: 111.9 kB / 0.6503 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.5203, allocations: 0.9368 MB / 0.6513 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.5214, allocations: 159.3 kB / 0.6514 GB, free: 7.938 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/0.5215, allocations: 27.98 kB / 0.6514 GB, free: 7.91 MB / 478.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 (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.0004928/0.522, allocations: 348.9 kB / 0.6518 GB, free: 7.559 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.5221, allocations: 114.6 kB / 0.6519 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00366/0.5258, allocations: 1.152 MB / 0.653 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.5258, allocations: 11.98 kB / 0.653 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5258, allocations: 0 / 0.653 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5258, allocations: 0 / 0.653 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005029/0.5309, allocations: 2.173 MB / 0.6551 GB, free: 4.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.5309, allocations: 4 kB / 0.6551 GB, free: 4.016 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.5311, allocations: 59.89 kB / 0.6552 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.5321, allocations: 324.9 kB / 0.6555 GB, free: 3.637 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.5322, allocations: 16 kB / 0.6555 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.5336, allocations: 0.9679 MB / 0.6565 GB, free: 2.629 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5336, allocations: 4 kB / 0.6565 GB, free: 2.625 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/0.537, allocations: 1.306 MB / 0.6577 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000444/0.5374, allocations: 287.4 kB / 0.658 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.5376, allocations: 12 kB / 0.658 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008093/0.5384, allocations: 95.91 kB / 0.6581 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.5385, allocations: 39.84 kB / 0.6582 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/0.5385, allocations: 27.92 kB / 0.6582 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001057/0.5396, allocations: 0.7507 MB / 0.6589 GB, free: 15.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5396, allocations: 0 / 0.6589 GB, free: 15.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001464/0.5411, allocations: 0.573 MB / 0.6595 GB, free: 15.42 MB / 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 (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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006979/0.5418, allocations: 412.2 kB / 0.6599 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0026/0.5444, allocations: 1.047 MB / 0.6609 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5444, allocations: 0 / 0.6609 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007588/0.5451, allocations: 333.8 kB / 0.6612 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.5474, allocations: 496.3 kB / 0.6617 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.5509, allocations: 2.208 MB / 0.6638 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.5516, allocations: 1.085 MB / 0.6649 GB, free: 9.789 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009308/0.5526, allocations: 212.2 kB / 0.6651 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.5527, allocations: 71.42 kB / 0.6652 GB, free: 9.512 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5528, allocations: 0 / 0.6652 GB, free: 9.512 MB / 494.1 MB Notification: Performance of Templates: time 0.03779/0.5905, allocations: 23.51 MB / 0.6881 GB, free: 2.293 MB / 0.4981 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)