Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008259/0.0008259, allocations: 99.28 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.0009164/0.0009164, allocations: 187.8 kB / 16.92 MB, free: 6.75 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.335/1.335, 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.6742/0.6742, allocations: 115.5 MB / 407.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003404, allocations: 12 kB / 495.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1557, allocations: 77.53 MB / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3271/0.4828, allocations: 73.44 MB / 0.6317 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02133/0.5042, allocations: 15.05 MB / 0.6464 GB, free: 10.27 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/0.5066, allocations: 63.69 kB / 0.6464 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.5085, allocations: 0.6682 MB / 0.6471 GB, free: 9.668 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006333/0.5149, allocations: 2.383 MB / 0.6494 GB, free: 7.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.518, allocations: 1.27 MB / 0.6507 GB, free: 6.793 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00747/0.5255, allocations: 5.564 MB / 0.6561 GB, free: 3.695 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.5272, allocations: 1.149 MB / 0.6572 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.53, allocations: 1.33 MB / 0.6585 GB, free: 1.855 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.5315, allocations: 1.151 MB / 0.6596 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.5316, allocations: 52 kB / 0.6597 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.5344, allocations: 1.239 MB / 0.6609 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003213/0.5347, allocations: 282.6 kB / 0.6612 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008744/0.5356, allocations: 0.8101 MB / 0.662 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.539, allocations: 2.71 MB / 0.6646 GB, free: 11.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.539, allocations: 0 / 0.6646 GB, free: 11.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.539, allocations: 0 / 0.6646 GB, free: 11.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.539, allocations: 0 / 0.6646 GB, free: 11.59 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003165/0.5422, allocations: 1.791 MB / 0.6664 GB, free: 9.734 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5422, allocations: 12.03 kB / 0.6664 GB, free: 9.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007734/0.543, allocations: 234.9 kB / 0.6666 GB, free: 9.492 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.5454, allocations: 1.493 MB / 0.668 GB, free: 7.941 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.57e-05/0.5454, allocations: 77.98 kB / 0.6681 GB, free: 7.867 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.5456, allocations: 108 kB / 0.6682 GB, free: 7.762 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.5477, allocations: 1.12 MB / 0.6693 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.5477, allocations: 0 / 0.6693 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-05/0.5478, allocations: 44 kB / 0.6694 GB, free: 6.562 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.5478, allocations: 27.94 kB / 0.6694 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.5499, allocations: 0.933 MB / 0.6703 GB, free: 5.605 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.005792/0.5557, allocations: 4.912 MB / 0.6751 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.5572, allocations: 0.6472 MB / 0.6757 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007573/0.558, allocations: 370.3 kB / 0.6761 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006021/0.5586, allocations: 0.8276 MB / 0.6769 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.5586, allocations: 39.12 kB / 0.6769 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.184e-06/0.5586, allocations: 4 kB / 0.6769 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.007962/0.5666, allocations: 1.896 MB / 0.6788 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.5667, allocations: 55.97 kB / 0.6788 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.5683, allocations: 1.214 MB / 0.68 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.5684, allocations: 45.7 kB / 0.6801 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005258/0.569, allocations: 0.6104 MB / 0.6807 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.5692, allocations: 209 kB / 0.6809 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.992e-05/0.5693, allocations: 65.67 kB / 0.6809 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5694, allocations: 334 kB / 0.6812 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007239/0.5701, allocations: 301.8 kB / 0.6815 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008717/0.571, allocations: 0.5046 MB / 0.682 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.5725, allocations: 0.7518 MB / 0.6828 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.5725, allocations: 3.938 kB / 0.6828 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005171/0.5777, allocations: 1.41 MB / 0.6841 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.5779, allocations: 202.3 kB / 0.6843 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.5779, allocations: 7.984 kB / 0.6843 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/0.5785, allocations: 136.8 kB / 0.6845 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.5791, allocations: 167.8 kB / 0.6846 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008777/0.58, allocations: 0.7239 MB / 0.6853 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.5813, allocations: 167 kB / 0.6855 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-05/0.5813, allocations: 31.98 kB / 0.6855 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.884e-06/0.5814, allocations: 4 kB / 0.6855 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00491/0.5863, allocations: 1.257 MB / 0.6868 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5863, allocations: 4 kB / 0.6868 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005213/0.5868, allocations: 141.1 kB / 0.6869 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/0.5875, allocations: 175.7 kB / 0.6871 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008393/0.5883, allocations: 0.7194 MB / 0.6878 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.5895, allocations: 156.9 kB / 0.6879 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/0.5895, allocations: 35.98 kB / 0.6879 GB, free: 2.707 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0006592/0.5902, allocations: 416.9 kB / 0.6883 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.5904, allocations: 142.2 kB / 0.6885 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005092/0.5955, allocations: 1.392 MB / 0.6898 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.5955, allocations: 15.88 kB / 0.6899 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5956, allocations: 0 / 0.6899 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004682/0.6002, allocations: 1.24 MB / 0.6911 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007153/0.6074, allocations: 2.739 MB / 0.6937 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.6074, allocations: 4 kB / 0.6937 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.6079, allocations: 120.2 kB / 0.6939 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005242/0.6085, allocations: 136.8 kB / 0.694 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/0.6086, allocations: 31.97 kB / 0.694 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005177/0.6137, allocations: 2.484 MB / 0.6964 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6138, allocations: 4 kB / 0.6964 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005931/0.6197, allocations: 1.852 MB / 0.6983 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000693/0.6204, allocations: 335.1 kB / 0.6986 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002665/0.6207, allocations: 23.92 kB / 0.6986 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.6217, allocations: 95.81 kB / 0.6987 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.6219, allocations: 48.38 kB / 0.6987 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.141e-05/0.622, allocations: 39.86 kB / 0.6988 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001443/0.6234, allocations: 0.8701 MB / 0.6996 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6234, allocations: 4 kB / 0.6996 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002133/0.6256, allocations: 0.7057 MB / 0.7003 GB, free: 5.625 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009559/0.6265, allocations: 445.4 kB / 0.7007 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002856/0.6294, allocations: 1.176 MB / 0.7019 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.6294, allocations: 0 / 0.7019 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.631, allocations: 0.5956 MB / 0.7025 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004464/0.6355, allocations: 0.7898 MB / 0.7032 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.6399, allocations: 2.828 MB / 0.706 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009624/0.6409, allocations: 1.179 MB / 0.7072 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001316/0.6422, allocations: 316 kB / 0.7075 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/0.6425, allocations: 107.4 kB / 0.7076 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.6425, allocations: 0 / 0.7076 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of Templates: time 0.05232/0.6949, allocations: 31.93 MB / 0.7387 GB, free: 14.52 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)