Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 106.2 kB / 16.52 MB, free: 6.656 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.001909/0.001909, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.387/1.387, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7574/0.7574, allocations: 115.3 MB / 406.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 71.89 kB / 493.6 MB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4254, allocations: 76.17 MB / 0.5564 GB, free: 36.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05443/0.4799, allocations: 60.81 MB / 0.6158 GB, free: 7.898 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01753/0.4974, allocations: 12.06 MB / 0.6275 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002926/0.5004, allocations: 55.62 kB / 0.6276 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.5026, allocations: 0.5516 MB / 0.6281 GB, free: 11.19 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006183/0.5088, allocations: 1.807 MB / 0.6299 GB, free: 9.379 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003271/0.5121, allocations: 1.082 MB / 0.6309 GB, free: 8.309 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005099/0.5172, allocations: 3.894 MB / 0.6347 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.5187, allocations: 0.9295 MB / 0.6357 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/0.5214, allocations: 1.151 MB / 0.6368 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.5226, allocations: 0.8983 MB / 0.6377 GB, free: 1.391 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.5228, allocations: 59.94 kB / 0.6377 GB, free: 1.332 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.5255, allocations: 1.357 MB / 0.639 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.5258, allocations: 238.8 kB / 0.6393 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007399/0.5266, allocations: 0.6333 MB / 0.6399 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.5287, allocations: 1.731 MB / 0.6416 GB, free: 13.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5287, allocations: 0 / 0.6416 GB, free: 13.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5287, allocations: 4 kB / 0.6416 GB, free: 13.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.5287, allocations: 0 / 0.6416 GB, free: 13.36 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.002923/0.5317, allocations: 1.726 MB / 0.6433 GB, free: 11.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.5317, allocations: 11.97 kB / 0.6433 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.5339, allocations: 410.8 kB / 0.6437 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.5359, allocations: 1.128 MB / 0.6448 GB, free: 9.977 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003495/0.5363, allocations: 121.9 kB / 0.6449 GB, free: 9.855 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.5364, allocations: 80 kB / 0.645 GB, free: 9.777 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.5384, allocations: 0.9778 MB / 0.6459 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.5384, allocations: 0 / 0.6459 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-05/0.5385, allocations: 32 kB / 0.6459 GB, free: 8.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.5386, allocations: 24 kB / 0.646 GB, free: 8.703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.5408, allocations: 0.8665 MB / 0.6468 GB, free: 7.836 MB / 494.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.006092/0.5469, allocations: 4.861 MB / 0.6516 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003212/0.5501, allocations: 0.7924 MB / 0.6523 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006902/0.5508, allocations: 300.7 kB / 0.6526 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006408/0.5515, allocations: 0.9141 MB / 0.6535 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.5515, allocations: 38.56 kB / 0.6536 GB, free: 368 kB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 2.715e-06/0.5515, allocations: 0 / 0.6536 GB, free: 368 kB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.008213/0.5598, allocations: 1.93 MB / 0.6554 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.5598, allocations: 59.41 kB / 0.6555 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.5616, allocations: 1.051 MB / 0.6565 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/0.5617, allocations: 37.7 kB / 0.6566 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.5621, allocations: 0.5274 MB / 0.6571 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.5622, allocations: 149.8 kB / 0.6572 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.5625, allocations: 130.1 kB / 0.6573 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5626, allocations: 326 kB / 0.6576 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008731/0.5635, allocations: 306.9 kB / 0.6579 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.5645, allocations: 0.502 MB / 0.6584 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.5661, allocations: 0.6857 MB / 0.6591 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.5662, allocations: 0 / 0.6591 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002653/0.5688, allocations: 0.9922 MB / 0.6601 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.5689, allocations: 11.97 kB / 0.6601 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.5689, allocations: 8 kB / 0.6601 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.5702, allocations: 312.7 kB / 0.6604 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/0.5707, allocations: 115.8 kB / 0.6605 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.5722, allocations: 0.9219 MB / 0.6614 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.5735, allocations: 167.3 kB / 0.6616 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.29e-05/0.5736, allocations: 31.98 kB / 0.6616 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00118/0.5748, allocations: 0.5088 MB / 0.6621 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009922/0.5758, allocations: 0.4981 MB / 0.6626 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001555/0.5774, allocations: 0.6633 MB / 0.6632 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.807e-06/0.5774, allocations: 0 / 0.6632 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002606/0.58, allocations: 0.9843 MB / 0.6642 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.58, allocations: 7.938 kB / 0.6642 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5801, allocations: 4 kB / 0.6642 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.5812, allocations: 316.8 kB / 0.6645 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/0.5817, allocations: 119.8 kB / 0.6646 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.583, allocations: 0.9074 MB / 0.6655 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.5844, allocations: 156.9 kB / 0.6656 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.188e-05/0.5845, allocations: 39.97 kB / 0.6657 GB, free: 3.484 MB / 0.4981 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.0002764/0.5848, allocations: 212.1 kB / 0.6659 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/0.585, allocations: 110.7 kB / 0.666 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003719/0.5888, allocations: 1.111 MB / 0.6671 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.5888, allocations: 11.98 kB / 0.6671 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.5888, allocations: 3.938 kB / 0.6671 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.5888, allocations: 0 / 0.6671 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005501/0.5943, allocations: 2.194 MB / 0.6692 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.5944, allocations: 0 / 0.6692 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.5947, allocations: 67.88 kB / 0.6693 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.5957, allocations: 311.2 kB / 0.6696 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/0.5958, allocations: 15.98 kB / 0.6696 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.5975, allocations: 0.9463 MB / 0.6705 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.5975, allocations: 4.031 kB / 0.6705 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003668/0.6012, allocations: 1.189 MB / 0.6717 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/0.6017, allocations: 263.5 kB / 0.672 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.6019, allocations: 8 kB / 0.672 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.603, allocations: 95.8 kB / 0.6721 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.6032, allocations: 39.89 kB / 0.6721 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/0.6032, allocations: 23.98 kB / 0.6721 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001409/0.6046, allocations: 0.7389 MB / 0.6728 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6047, allocations: 7.938 kB / 0.6728 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001919/0.6066, allocations: 0.5652 MB / 0.6734 GB, free: 11.38 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 (34): * Single equations (assignments): 29 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001136/0.6077, allocations: 394 kB / 0.6738 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003364/0.6111, allocations: 1.094 MB / 0.6748 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6111, allocations: 4.062 kB / 0.6748 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008979/0.612, allocations: 351 kB / 0.6752 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.6146, allocations: 0.4952 MB / 0.6757 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005792/0.6204, allocations: 2.465 MB / 0.6781 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008075/0.6212, allocations: 1.061 MB / 0.6791 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.6215, allocations: 79.42 kB / 0.6792 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of SimCode: time 2.565e-06/0.6215, allocations: 0 / 0.6792 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of Templates: time 0.03645/0.658, allocations: 24.02 MB / 0.7026 GB, free: 13.54 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)