Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_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_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 102.9 kB / 15.98 MB, free: 6.348 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.001043/0.001043, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.334/1.334, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7702/0.7702, allocations: 122.9 MB / 413.6 MB, free: 56 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.89 kB / 0.4906 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3831, allocations: 77.91 MB / 0.5667 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06559/0.4488, allocations: 74.55 MB / 0.6395 GB, free: 308 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01975/0.4685, allocations: 15.05 MB / 0.6542 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002646/0.4712, allocations: 63.62 kB / 0.6542 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.4734, allocations: 0.719 MB / 0.6549 GB, free: 432 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006395/0.4798, allocations: 2.409 MB / 0.6573 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.483, allocations: 1.291 MB / 0.6586 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005397/0.4884, allocations: 4.412 MB / 0.6629 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/0.4904, allocations: 1.433 MB / 0.6643 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003991/0.4944, allocations: 1.651 MB / 0.6659 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.4966, allocations: 1.253 MB / 0.6671 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003009/0.4969, allocations: 164 kB / 0.6673 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/0.5, allocations: 1.431 MB / 0.6687 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004282/0.5005, allocations: 406.5 kB / 0.669 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.5016, allocations: 0.906 MB / 0.6699 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004174/0.5058, allocations: 2.867 MB / 0.6727 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5058, allocations: 0 / 0.6727 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5059, allocations: 0 / 0.6727 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.857e-05/0.5059, allocations: 4 kB / 0.6727 GB, free: 14.14 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.003764/0.5097, allocations: 2.095 MB / 0.6748 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.5097, allocations: 8.625 kB / 0.6748 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008069/0.5105, allocations: 226.8 kB / 0.675 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.5129, allocations: 1.486 MB / 0.6764 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/0.513, allocations: 81.97 kB / 0.6765 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.5132, allocations: 104 kB / 0.6766 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.5152, allocations: 1.1 MB / 0.6777 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.5152, allocations: 7.844 kB / 0.6777 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.933e-05/0.5153, allocations: 40 kB / 0.6777 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.5153, allocations: 28 kB / 0.6778 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.5172, allocations: 0.8978 MB / 0.6787 GB, free: 7.922 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.005873/0.5231, allocations: 4.905 MB / 0.6834 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.5244, allocations: 0.6157 MB / 0.684 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006791/0.5251, allocations: 355 kB / 0.6844 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/0.5257, allocations: 0.8277 MB / 0.6852 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.5258, allocations: 43.12 kB / 0.6852 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.004e-06/0.5258, allocations: 0 / 0.6852 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.004755/0.5306, allocations: 1.408 MB / 0.6866 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.5306, allocations: 55.97 kB / 0.6867 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.5321, allocations: 1.214 MB / 0.6878 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-05/0.5322, allocations: 45.7 kB / 0.6879 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000473/0.5327, allocations: 0.5988 MB / 0.6885 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.5329, allocations: 224.8 kB / 0.6887 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.5331, allocations: 150.6 kB / 0.6888 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5332, allocations: 334 kB / 0.6891 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006483/0.5339, allocations: 292.7 kB / 0.6894 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008072/0.5347, allocations: 495.8 kB / 0.6899 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.5361, allocations: 0.7081 MB / 0.6906 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5361, allocations: 0 / 0.6906 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004594/0.5407, allocations: 1.269 MB / 0.6918 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5408, allocations: 8 kB / 0.6918 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.5408, allocations: 4 kB / 0.6918 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000662/0.5414, allocations: 155.1 kB / 0.692 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/0.5421, allocations: 155.8 kB / 0.6921 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008521/0.5429, allocations: 0.7201 MB / 0.6928 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.5441, allocations: 155 kB / 0.693 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/0.5442, allocations: 27.98 kB / 0.693 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001039/0.5452, allocations: 0.5688 MB / 0.6936 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007966/0.546, allocations: 493.8 kB / 0.694 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001345/0.5474, allocations: 0.6965 MB / 0.6947 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.594e-06/0.5474, allocations: 4 kB / 0.6947 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004686/0.5521, allocations: 1.265 MB / 0.696 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.5521, allocations: 10.34 kB / 0.696 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5521, allocations: 4 kB / 0.696 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005773/0.5527, allocations: 153 kB / 0.6961 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/0.5533, allocations: 155.7 kB / 0.6963 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009392/0.5543, allocations: 0.7144 MB / 0.697 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.5558, allocations: 141.5 kB / 0.6971 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-05/0.5559, allocations: 31.98 kB / 0.6971 GB, free: 4.094 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003176/0.5562, allocations: 228 kB / 0.6974 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.5566, allocations: 142.3 kB / 0.6975 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/0.5614, allocations: 1.255 MB / 0.6987 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.5615, allocations: 8 kB / 0.6987 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.5615, allocations: 4 kB / 0.6987 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00397/0.5654, allocations: 1.092 MB / 0.6998 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004172/0.5696, allocations: 2.302 MB / 0.702 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.5697, allocations: 4 kB / 0.702 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.5702, allocations: 107.9 kB / 0.7021 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005949/0.5708, allocations: 152.8 kB / 0.7023 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.5708, allocations: 20 kB / 0.7023 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008562/0.5717, allocations: 0.7032 MB / 0.703 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.5717, allocations: 7.938 kB / 0.703 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.5745, allocations: 1.403 MB / 0.7044 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006251/0.5751, allocations: 315.1 kB / 0.7047 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.5753, allocations: 12 kB / 0.7047 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009009/0.5762, allocations: 87.88 kB / 0.7048 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.5764, allocations: 56.25 kB / 0.7048 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.5764, allocations: 31.98 kB / 0.7049 GB, free: 11.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001162/0.5776, allocations: 0.8662 MB / 0.7057 GB, free: 11.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5776, allocations: 0 / 0.7057 GB, free: 11.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001744/0.5794, allocations: 0.7096 MB / 0.7064 GB, free: 10.32 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008879/0.5803, allocations: 441.4 kB / 0.7068 GB, free: 9.891 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002799/0.5831, allocations: 1.16 MB / 0.7079 GB, free: 8.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5831, allocations: 0 / 0.7079 GB, free: 8.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00091/0.584, allocations: 399.3 kB / 0.7083 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/0.5875, allocations: 0.804 MB / 0.7091 GB, free: 7.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.5915, allocations: 2.772 MB / 0.7118 GB, free: 4.742 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007438/0.5922, allocations: 1.168 MB / 0.713 GB, free: 3.547 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001217/0.5935, allocations: 313 kB / 0.7133 GB, free: 3.242 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.5937, allocations: 111.4 kB / 0.7134 GB, free: 3.133 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.5937, allocations: 0 / 0.7134 GB, free: 3.133 MB / 0.545 GB Notification: Performance of Templates: time 0.04911/0.6428, allocations: 31.42 MB / 0.744 GB, free: 4.055 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)