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.001011/0.001011, allocations: 110 kB / 16.41 MB, free: 6.484 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.001049/0.001049, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.229/1.229, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6818/0.6818, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 64.84 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1251, allocations: 76.19 MB / 0.6321 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05206/0.1772, allocations: 61.15 MB / 0.6918 GB, free: 7 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01468/0.1919, allocations: 12 MB / 0.7035 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.1937, allocations: 59.62 kB / 0.7036 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.1953, allocations: 0.6752 MB / 0.7043 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004112/0.1994, allocations: 1.969 MB / 0.7062 GB, free: 8.246 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.2019, allocations: 1.208 MB / 0.7074 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003232/0.2052, allocations: 3.087 MB / 0.7104 GB, free: 3.949 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.2065, allocations: 1.1 MB / 0.7115 GB, free: 2.812 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.2089, allocations: 1.356 MB / 0.7128 GB, free: 1.453 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.21, allocations: 0.9022 MB / 0.7137 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.2101, allocations: 112 kB / 0.7138 GB, free: 448 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002327/0.2125, allocations: 1.462 MB / 0.7152 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.2127, allocations: 290.9 kB / 0.7155 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005954/0.2133, allocations: 0.6958 MB / 0.7162 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.216, allocations: 2.306 MB / 0.7184 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.216, allocations: 3.938 kB / 0.7184 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2161, allocations: 0 / 0.7184 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.2161, allocations: 0 / 0.7184 GB, free: 11.67 MB / 0.5606 GB 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.002645/0.2187, allocations: 1.729 MB / 0.7201 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2188, allocations: 12.03 kB / 0.7201 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.2203, allocations: 343 kB / 0.7204 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.2222, allocations: 1.16 MB / 0.7216 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.2222, allocations: 62 kB / 0.7216 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.2223, allocations: 84 kB / 0.7217 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.224, allocations: 0.9702 MB / 0.7227 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.224, allocations: 3.938 kB / 0.7227 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-05/0.2241, allocations: 32 kB / 0.7227 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.2241, allocations: 20 kB / 0.7227 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.226, allocations: 0.8001 MB / 0.7235 GB, free: 6.297 MB / 0.5606 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.005202/0.2312, allocations: 5.129 MB / 0.7285 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.2325, allocations: 0.554 MB / 0.729 GB, free: 236 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005576/0.2331, allocations: 274.4 kB / 0.7293 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/0.2343, allocations: 1.373 MB / 0.7306 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.2344, allocations: 38.56 kB / 0.7307 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.613e-06/0.2344, allocations: 0 / 0.7307 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007429/0.2418, allocations: 1.762 MB / 0.7324 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.2419, allocations: 59.41 kB / 0.7325 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.2432, allocations: 1.072 MB / 0.7335 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.2432, allocations: 37.7 kB / 0.7335 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.2436, allocations: 0.5311 MB / 0.7341 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.2437, allocations: 153.8 kB / 0.7342 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.2439, allocations: 138.2 kB / 0.7343 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.244, allocations: 322 kB / 0.7346 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007101/0.2447, allocations: 279.3 kB / 0.7349 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000878/0.2456, allocations: 0.4978 MB / 0.7354 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.2469, allocations: 0.6675 MB / 0.736 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.247, allocations: 0 / 0.736 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002222/0.2492, allocations: 0.9538 MB / 0.737 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2492, allocations: 4 kB / 0.737 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2492, allocations: 12.06 kB / 0.737 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.2504, allocations: 303 kB / 0.7373 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/0.2508, allocations: 123.8 kB / 0.7374 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.2522, allocations: 0.8996 MB / 0.7383 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.2532, allocations: 151.1 kB / 0.7384 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-05/0.2532, allocations: 31.98 kB / 0.7385 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009885/0.2542, allocations: 489.2 kB / 0.7389 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008429/0.2551, allocations: 0.4939 MB / 0.7394 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001277/0.2564, allocations: 0.6471 MB / 0.74 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.007e-06/0.2564, allocations: 4 kB / 0.74 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002168/0.2586, allocations: 0.9382 MB / 0.741 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2586, allocations: 8 kB / 0.741 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2586, allocations: 4 kB / 0.741 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009737/0.2596, allocations: 296.7 kB / 0.7412 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.26, allocations: 119.8 kB / 0.7414 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.2613, allocations: 0.8981 MB / 0.7422 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.2623, allocations: 131.5 kB / 0.7424 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.2624, allocations: 31.98 kB / 0.7424 GB, free: 1.742 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0002035/0.2626, allocations: 231.5 kB / 0.7426 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.2628, allocations: 106.7 kB / 0.7427 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/0.2661, allocations: 1.055 MB / 0.7437 GB, free: 344 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.2661, allocations: 4 kB / 0.7437 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2662, allocations: 3.984 kB / 0.7438 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2662, allocations: 0 / 0.7438 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2986/0.5647, allocations: 2.052 MB / 0.7458 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.5648, allocations: 2.844 kB / 0.7458 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.565, allocations: 54.25 kB / 0.7458 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.566, allocations: 301 kB / 0.7461 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.566, allocations: 15.45 kB / 0.7461 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.5673, allocations: 0.9319 MB / 0.747 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5673, allocations: 3.438 kB / 0.747 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/0.5706, allocations: 1.09 MB / 0.7481 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.5711, allocations: 256.5 kB / 0.7483 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.5712, allocations: 11.33 kB / 0.7483 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007115/0.5719, allocations: 62.23 kB / 0.7484 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/0.5721, allocations: 41.42 kB / 0.7484 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/0.5721, allocations: 24.59 kB / 0.7485 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001206/0.5733, allocations: 0.7544 MB / 0.7492 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.5733, allocations: 0 / 0.7492 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001542/0.5749, allocations: 0.5744 MB / 0.7498 GB, free: 107.6 MB / 0.5762 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.0007733/0.5757, allocations: 408.3 kB / 0.7502 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002809/0.5785, allocations: 1.027 MB / 0.7512 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.5785, allocations: 1.219 kB / 0.7512 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006925/0.5792, allocations: 316.7 kB / 0.7515 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.5813, allocations: 0.5179 MB / 0.752 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.5841, allocations: 1.792 MB / 0.7537 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/0.5848, allocations: 1.069 MB / 0.7548 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008501/0.5856, allocations: 217.2 kB / 0.755 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.5859, allocations: 85.62 kB / 0.755 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.5859, allocations: 0 / 0.755 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.03359/0.6195, allocations: 25.29 MB / 0.7797 GB, free: 89.4 MB / 0.5762 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)