Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.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.001222/0.001221, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001591/0.001591, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9512/0.9512, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003645, allocations: 8 kB / 0.5158 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1886, allocations: 83.41 MB / 0.5973 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.3858/0.5745, allocations: 62.94 MB / 0.6587 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01962/0.5942, allocations: 11.01 MB / 0.6695 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002683/0.5969, allocations: 54 kB / 0.6695 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002849/0.5998, allocations: 0.7398 MB / 0.6703 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007807/0.6076, allocations: 2.312 MB / 0.6725 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00488/0.6125, allocations: 1.52 MB / 0.674 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006488/0.619, allocations: 2.508 MB / 0.6765 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00218/0.6212, allocations: 1.034 MB / 0.6775 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.6242, allocations: 1.152 MB / 0.6786 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/0.6259, allocations: 0.7708 MB / 0.6793 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.6261, allocations: 55.5 kB / 0.6794 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.6289, allocations: 0.8466 MB / 0.6802 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.6292, allocations: 269.1 kB / 0.6805 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.6298, allocations: 355.6 kB / 0.6808 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0033/0.6331, allocations: 2.168 MB / 0.6829 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6331, allocations: 0 / 0.6829 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6331, allocations: 0 / 0.6829 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.767e-05/0.6332, allocations: 0 / 0.6829 GB, free: 6.281 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.004238/0.6374, allocations: 1.793 MB / 0.6847 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.6375, allocations: 9.812 kB / 0.6847 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009312/0.6384, allocations: 242.5 kB / 0.6849 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/0.6412, allocations: 1.389 MB / 0.6863 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/0.6413, allocations: 77.23 kB / 0.6864 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.6415, allocations: 100.8 kB / 0.6865 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.6438, allocations: 1.099 MB / 0.6875 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.6439, allocations: 9.375 kB / 0.6875 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.627e-05/0.644, allocations: 41.61 kB / 0.6876 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.644, allocations: 25.45 kB / 0.6876 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.6462, allocations: 0.9254 MB / 0.6885 GB, free: 3.273 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.008171/0.6543, allocations: 4.978 MB / 0.6934 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.6559, allocations: 0.6486 MB / 0.694 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006951/0.6566, allocations: 0.827 MB / 0.6948 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.6566, allocations: 39.22 kB / 0.6948 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 4.248e-06/0.6566, allocations: 0 / 0.6948 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.007677/0.6643, allocations: 1.89 MB / 0.6967 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.6644, allocations: 62.77 kB / 0.6967 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.6666, allocations: 1.246 MB / 0.698 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000202/0.6669, allocations: 43.02 kB / 0.698 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006717/0.6675, allocations: 0.6001 MB / 0.6986 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.6679, allocations: 218.5 kB / 0.6988 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.6679, allocations: 15.81 kB / 0.6988 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.6681, allocations: 341 kB / 0.6991 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007559/0.6689, allocations: 296.6 kB / 0.6994 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009353/0.6698, allocations: 0.4939 MB / 0.6999 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007845/0.6706, allocations: 360.2 kB / 0.7002 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6706, allocations: 1.125 kB / 0.7002 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004875/0.6755, allocations: 1.401 MB / 0.7016 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000507/0.676, allocations: 1.338 MB / 0.7029 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.676, allocations: 3.688 kB / 0.7029 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007305/0.6768, allocations: 173.5 kB / 0.7031 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.6774, allocations: 161.8 kB / 0.7032 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008882/0.6783, allocations: 0.7292 MB / 0.704 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.6798, allocations: 164.1 kB / 0.7041 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-05/0.6799, allocations: 35.23 kB / 0.7042 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.68, allocations: 4.375 kB / 0.7042 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004524/0.6845, allocations: 1.253 MB / 0.7054 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.6845, allocations: 3.344 kB / 0.7054 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/0.6852, allocations: 165.6 kB / 0.7055 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.6858, allocations: 170.7 kB / 0.7057 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008337/0.6866, allocations: 0.7279 MB / 0.7064 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.6881, allocations: 162.2 kB / 0.7066 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.866e-05/0.6882, allocations: 34.55 kB / 0.7066 GB, free: 7.738 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008044/0.689, allocations: 426 kB / 0.707 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.6893, allocations: 132.4 kB / 0.7071 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0048/0.6941, allocations: 1.418 MB / 0.7085 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.6941, allocations: 7 kB / 0.7085 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.6942, allocations: 0 / 0.7085 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004285/0.6984, allocations: 1.244 MB / 0.7097 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007153/0.7056, allocations: 2.778 MB / 0.7125 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.7057, allocations: 4.281 kB / 0.7125 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/0.7062, allocations: 124.4 kB / 0.7126 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006147/0.7068, allocations: 160.6 kB / 0.7127 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.7069, allocations: 25.33 kB / 0.7128 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008589/0.7077, allocations: 0.7201 MB / 0.7135 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7077, allocations: 3.469 kB / 0.7135 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005629/0.7134, allocations: 2.065 MB / 0.7155 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009247/0.7143, allocations: 343.1 kB / 0.7158 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.7145, allocations: 24.86 kB / 0.7158 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009042/0.7154, allocations: 99.81 kB / 0.7159 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.7155, allocations: 52.27 kB / 0.716 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.118e-05/0.7156, allocations: 31.98 kB / 0.716 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001309/0.7169, allocations: 0.9011 MB / 0.7169 GB, free: 312 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7169, allocations: 4 kB / 0.7169 GB, free: 308 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002086/0.719, allocations: 0.7096 MB / 0.7176 GB, free: 15.59 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009389/0.72, allocations: 473.2 kB / 0.718 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002585/0.7226, allocations: 1.158 MB / 0.7192 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.7226, allocations: 12.12 kB / 0.7192 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008766/0.7235, allocations: 403.6 kB / 0.7196 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/0.7273, allocations: 0.7532 MB / 0.7203 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004338/0.7316, allocations: 2.767 MB / 0.723 GB, free: 9.992 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/0.7324, allocations: 1.2 MB / 0.7242 GB, free: 8.762 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00135/0.7337, allocations: 304 kB / 0.7245 GB, free: 8.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.734, allocations: 107.4 kB / 0.7246 GB, free: 8.359 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/0.734, allocations: 0 / 0.7246 GB, free: 8.359 MB / 0.545 GB Notification: Performance of Templates: time 0.04759/0.7816, allocations: 30.22 MB / 0.7541 GB, free: 10.56 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: