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.00114/0.00114, allocations: 102.4 kB / 15.98 MB, free: 5.863 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.001127/0.001127, allocations: 196.6 kB / 16.91 MB, free: 5.727 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.371/1.371, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.737/0.737, allocations: 122.9 MB / 413.6 MB, free: 40 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 59.91 kB / 0.4906 GB, free: 7.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.361, allocations: 77.93 MB / 0.5667 GB, free: 31.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06699/0.4281, allocations: 74.54 MB / 0.6395 GB, free: 320 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02092/0.449, allocations: 15.07 MB / 0.6542 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/0.4521, allocations: 63.56 kB / 0.6543 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.4551, allocations: 0.719 MB / 0.655 GB, free: 428 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007996/0.4631, allocations: 2.396 MB / 0.6573 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004684/0.4678, allocations: 1.287 MB / 0.6585 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006859/0.4747, allocations: 4.424 MB / 0.6629 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.4771, allocations: 1.441 MB / 0.6643 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004062/0.4812, allocations: 1.646 MB / 0.6659 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002374/0.4835, allocations: 1.245 MB / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004844/0.484, allocations: 164 kB / 0.6673 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003513/0.4876, allocations: 1.423 MB / 0.6686 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006129/0.4882, allocations: 406.6 kB / 0.669 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.4897, allocations: 0.9021 MB / 0.6699 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004473/0.4942, allocations: 2.844 MB / 0.6727 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.4942, allocations: 7.938 kB / 0.6727 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4942, allocations: 0 / 0.6727 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.263e-05/0.4942, allocations: 0 / 0.6727 GB, free: 14.18 MB / 0.5137 GB 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.003875/0.4981, allocations: 2.083 MB / 0.6747 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.4982, allocations: 8.625 kB / 0.6747 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008308/0.499, allocations: 234.8 kB / 0.675 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.5015, allocations: 1.482 MB / 0.6764 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.5016, allocations: 73.98 kB / 0.6765 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.5018, allocations: 104 kB / 0.6766 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.5039, allocations: 1.1 MB / 0.6777 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.5039, allocations: 0 / 0.6777 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.948e-05/0.504, allocations: 40 kB / 0.6777 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.242e-05/0.5041, allocations: 31.92 kB / 0.6777 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.506, allocations: 0.89 MB / 0.6786 GB, free: 7.988 MB / 0.5137 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.00633/0.5123, allocations: 4.913 MB / 0.6834 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.5138, allocations: 0.612 MB / 0.684 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007001/0.5145, allocations: 350.3 kB / 0.6843 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006934/0.5152, allocations: 0.8199 MB / 0.6851 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.5153, allocations: 43.12 kB / 0.6852 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.625e-06/0.5153, allocations: 0 / 0.6852 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007505/0.5228, allocations: 1.705 MB / 0.6868 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.5229, allocations: 59.97 kB / 0.6869 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.5248, allocations: 1.21 MB / 0.6881 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.5249, allocations: 37.7 kB / 0.6881 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005166/0.5254, allocations: 0.6104 MB / 0.6887 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.5257, allocations: 205 kB / 0.6889 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.526, allocations: 158.5 kB / 0.689 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5261, allocations: 337.9 kB / 0.6894 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006701/0.5268, allocations: 288.7 kB / 0.6896 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008485/0.5277, allocations: 0.489 MB / 0.6901 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.5291, allocations: 0.7128 MB / 0.6908 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5291, allocations: 0 / 0.6908 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005046/0.5341, allocations: 1.273 MB / 0.6921 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.5342, allocations: 12.03 kB / 0.6921 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.5342, allocations: 8 kB / 0.6921 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000616/0.5348, allocations: 138 kB / 0.6922 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/0.5355, allocations: 159.7 kB / 0.6924 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009132/0.5364, allocations: 0.7006 MB / 0.693 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.5381, allocations: 157 kB / 0.6932 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.5382, allocations: 35.98 kB / 0.6932 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001306/0.5395, allocations: 0.5534 MB / 0.6938 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008463/0.5404, allocations: 496.8 kB / 0.6942 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001383/0.5417, allocations: 0.705 MB / 0.6949 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.589e-06/0.5418, allocations: 4 kB / 0.6949 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00483/0.5466, allocations: 1.265 MB / 0.6962 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5466, allocations: 12.06 kB / 0.6962 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.5467, allocations: 4 kB / 0.6962 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/0.5472, allocations: 139 kB / 0.6963 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/0.5478, allocations: 167.6 kB / 0.6965 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008095/0.5486, allocations: 0.6929 MB / 0.6972 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.5499, allocations: 143.4 kB / 0.6973 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.55, allocations: 35.91 kB / 0.6973 GB, free: 3.883 MB / 0.5294 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.0002954/0.5503, allocations: 232 kB / 0.6976 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.5506, allocations: 130.4 kB / 0.6977 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004621/0.5552, allocations: 1.266 MB / 0.6989 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.5553, allocations: 8 kB / 0.6989 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5553, allocations: 0 / 0.6989 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004297/0.5596, allocations: 1.099 MB / 0.7 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.5696, allocations: 2.61 MB / 0.7025 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.5697, allocations: 4 kB / 0.7025 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/0.5705, allocations: 111.8 kB / 0.7027 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007501/0.5712, allocations: 128.8 kB / 0.7028 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.241e-05/0.5713, allocations: 19.98 kB / 0.7028 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007874/0.5792, allocations: 2.643 MB / 0.7054 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.5793, allocations: 4 kB / 0.7054 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009283/0.5886, allocations: 1.703 MB / 0.707 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.5896, allocations: 311.2 kB / 0.7073 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/0.59, allocations: 16 kB / 0.7074 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.5916, allocations: 83.81 kB / 0.7074 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.5918, allocations: 56.25 kB / 0.7075 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.5919, allocations: 31.97 kB / 0.7075 GB, free: 9.035 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002008/0.5939, allocations: 0.874 MB / 0.7084 GB, free: 8.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5939, allocations: 0 / 0.7084 GB, free: 8.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003013/0.5969, allocations: 0.7057 MB / 0.7091 GB, free: 7.453 MB / 0.545 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.001322/0.5983, allocations: 456.6 kB / 0.7095 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004724/0.603, allocations: 1.149 MB / 0.7106 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.6031, allocations: 4 kB / 0.7106 GB, free: 5.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/0.6056, allocations: 0.5681 MB / 0.7112 GB, free: 5.281 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005047/0.6107, allocations: 0.7935 MB / 0.712 GB, free: 4.535 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004777/0.6155, allocations: 2.77 MB / 0.7147 GB, free: 1.699 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008907/0.6164, allocations: 1.179 MB / 0.7158 GB, free: 500 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001427/0.6178, allocations: 305.2 kB / 0.7161 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.6182, allocations: 111.3 kB / 0.7162 GB, free: 84 kB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.6182, allocations: 0 / 0.7162 GB, free: 84 kB / 0.545 GB Notification: Performance of Templates: time 0.04991/0.6681, allocations: 31.62 MB / 0.7471 GB, free: 0.8008 MB / 0.5762 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)