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.001544/0.001544, allocations: 100.1 kB / 15.88 MB, free: 12 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.001781/0.001781, allocations: 210.2 kB / 16.79 MB, free: 6.84 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.361/1.361, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8084/0.8084, allocations: 122.9 MB / 413.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.84 kB / 0.4904 GB, free: 14.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1427, allocations: 77.93 MB / 0.5665 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3483/0.4911, allocations: 74.73 MB / 0.6395 GB, free: 8.711 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02142/0.5125, allocations: 15.22 MB / 0.6543 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003865/0.5164, allocations: 60.22 kB / 0.6544 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.5193, allocations: 0.6761 MB / 0.6551 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008206/0.5275, allocations: 2.39 MB / 0.6574 GB, free: 9.859 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003985/0.5315, allocations: 1.273 MB / 0.6586 GB, free: 8.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006315/0.5378, allocations: 5.547 MB / 0.6641 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/0.5397, allocations: 1.19 MB / 0.6652 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.5426, allocations: 1.373 MB / 0.6666 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.5447, allocations: 1.202 MB / 0.6677 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002681/0.545, allocations: 72 kB / 0.6678 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00369/0.5487, allocations: 1.275 MB / 0.669 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004711/0.5492, allocations: 318.6 kB / 0.6694 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.5506, allocations: 0.8161 MB / 0.6702 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004798/0.5554, allocations: 2.793 MB / 0.6729 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5554, allocations: 4 kB / 0.6729 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5554, allocations: 0 / 0.6729 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.538e-05/0.5555, allocations: 0 / 0.6729 GB, free: 11.34 MB / 0.4981 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.004214/0.5597, allocations: 2.087 MB / 0.6749 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.5597, allocations: 8.031 kB / 0.6749 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008376/0.5606, allocations: 226.8 kB / 0.6751 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/0.5632, allocations: 1.494 MB / 0.6766 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.752e-05/0.5632, allocations: 78 kB / 0.6767 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.5634, allocations: 100 kB / 0.6768 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.5654, allocations: 1.1 MB / 0.6778 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.5655, allocations: 11.94 kB / 0.6779 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.825e-05/0.5656, allocations: 36 kB / 0.6779 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.5656, allocations: 24 kB / 0.6779 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.5675, allocations: 0.8978 MB / 0.6788 GB, free: 5.125 MB / 0.4981 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.006186/0.5737, allocations: 4.908 MB / 0.6836 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.5751, allocations: 0.6243 MB / 0.6842 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006963/0.5758, allocations: 350.8 kB / 0.6845 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006413/0.5765, allocations: 0.8277 MB / 0.6853 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.5765, allocations: 47.11 kB / 0.6854 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.435e-06/0.5765, allocations: 0 / 0.6854 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.005015/0.5816, allocations: 1.401 MB / 0.6867 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.5816, allocations: 63.97 kB / 0.6868 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.5834, allocations: 1.21 MB / 0.688 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-05/0.5835, allocations: 41.7 kB / 0.688 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005201/0.584, allocations: 0.6027 MB / 0.6886 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.5842, allocations: 216.8 kB / 0.6888 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.5845, allocations: 158.5 kB / 0.689 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5846, allocations: 330 kB / 0.6893 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000658/0.5853, allocations: 292.7 kB / 0.6896 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008514/0.5861, allocations: 0.492 MB / 0.6901 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.5875, allocations: 0.7043 MB / 0.6907 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.5876, allocations: 3.938 kB / 0.6907 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004603/0.5922, allocations: 1.273 MB / 0.692 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.5922, allocations: 4 kB / 0.692 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5922, allocations: 4 kB / 0.692 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006865/0.5929, allocations: 157 kB / 0.6921 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/0.5935, allocations: 155.8 kB / 0.6923 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008405/0.5944, allocations: 0.7102 MB / 0.693 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.5956, allocations: 159.1 kB / 0.6931 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/0.5957, allocations: 31.94 kB / 0.6932 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001083/0.5968, allocations: 0.5565 MB / 0.6937 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007689/0.5976, allocations: 499.8 kB / 0.6942 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001329/0.5989, allocations: 0.6965 MB / 0.6949 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.5989, allocations: 0 / 0.6949 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004762/0.6037, allocations: 1.265 MB / 0.6961 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.6038, allocations: 10.03 kB / 0.6961 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6038, allocations: 0 / 0.6961 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/0.6044, allocations: 148.9 kB / 0.6963 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/0.605, allocations: 159.7 kB / 0.6964 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008058/0.6058, allocations: 0.7123 MB / 0.6971 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.6071, allocations: 145.5 kB / 0.6972 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.6072, allocations: 27.98 kB / 0.6973 GB, free: 1.301 MB / 0.5137 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.0002568/0.6075, allocations: 231.6 kB / 0.6975 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.6077, allocations: 134.3 kB / 0.6976 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/0.6122, allocations: 1.275 MB / 0.6989 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.6122, allocations: 4 kB / 0.6989 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.6122, allocations: 0 / 0.6989 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00398/0.6162, allocations: 1.096 MB / 0.6999 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004209/0.6204, allocations: 2.298 MB / 0.7022 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.6205, allocations: 4.438 kB / 0.7022 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/0.621, allocations: 115.9 kB / 0.7023 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005956/0.6216, allocations: 152.6 kB / 0.7024 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.6216, allocations: 16 kB / 0.7025 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008501/0.6225, allocations: 0.7084 MB / 0.7031 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.6225, allocations: 7.938 kB / 0.7032 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/0.6253, allocations: 1.391 MB / 0.7045 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000553/0.6259, allocations: 315.1 kB / 0.7048 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.6261, allocations: 16.06 kB / 0.7048 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008494/0.6269, allocations: 79.91 kB / 0.7049 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.6271, allocations: 56.25 kB / 0.705 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.6271, allocations: 27.98 kB / 0.705 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001217/0.6284, allocations: 0.874 MB / 0.7058 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6284, allocations: 0 / 0.7058 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001879/0.6302, allocations: 0.7095 MB / 0.7065 GB, free: 7.527 MB / 0.5294 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.0009173/0.6312, allocations: 451.5 kB / 0.707 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002523/0.6337, allocations: 1.106 MB / 0.708 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6337, allocations: 128 / 0.708 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009169/0.6347, allocations: 403.1 kB / 0.7084 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/0.6381, allocations: 0.7519 MB / 0.7092 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.6424, allocations: 2.777 MB / 0.7119 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007384/0.6432, allocations: 1.169 MB / 0.713 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001318/0.6445, allocations: 306.9 kB / 0.7133 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.6448, allocations: 107.4 kB / 0.7134 GB, free: 400 kB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.6448, allocations: 4 kB / 0.7134 GB, free: 396 kB / 0.5294 GB Notification: Performance of Templates: time 0.05092/0.6958, allocations: 30.31 MB / 0.743 GB, free: 2.422 MB / 0.5606 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)