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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.0009537/0.0009537, allocations: 91.38 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.001369/0.00137, allocations: 180.8 kB / 16.92 MB, free: 6.652 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.397/1.397, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.017/1.017, allocations: 143.2 MB / 435.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 8 kB / 0.517 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1579, allocations: 83.41 MB / 0.5985 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.3417/0.4996, allocations: 73.43 MB / 0.6702 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01881/0.5185, allocations: 12.67 MB / 0.6826 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002868/0.5214, allocations: 58.62 kB / 0.6826 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002453/0.5239, allocations: 0.6812 MB / 0.6833 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008247/0.5322, allocations: 2.27 MB / 0.6855 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004287/0.5365, allocations: 1.272 MB / 0.6868 GB, free: 12 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009448/0.5459, allocations: 5.538 MB / 0.6922 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002641/0.5486, allocations: 1.156 MB / 0.6933 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004344/0.553, allocations: 1.314 MB / 0.6946 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/0.5558, allocations: 1.139 MB / 0.6957 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003567/0.5562, allocations: 60.31 kB / 0.6957 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003826/0.56, allocations: 1.25 MB / 0.697 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004773/0.5605, allocations: 285.1 kB / 0.6972 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001495/0.562, allocations: 0.8031 MB / 0.698 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004042/0.566, allocations: 2.307 MB / 0.7003 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5661, allocations: 0 / 0.7003 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.976e-06/0.5661, allocations: 0 / 0.7003 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.223e-05/0.5661, allocations: 0 / 0.7003 GB, free: 10.7 MB / 0.5294 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.004599/0.5707, allocations: 1.791 MB / 0.702 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5708, allocations: 9.312 kB / 0.702 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.5719, allocations: 241.2 kB / 0.7023 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/0.5751, allocations: 1.509 MB / 0.7037 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.5752, allocations: 72.38 kB / 0.7038 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.5754, allocations: 101.4 kB / 0.7039 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.578, allocations: 1.121 MB / 0.705 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.5781, allocations: 1.969 kB / 0.705 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.5782, allocations: 41.41 kB / 0.705 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.5783, allocations: 25.19 kB / 0.7051 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.5805, allocations: 0.9376 MB / 0.706 GB, free: 7.602 MB / 0.5294 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.007427/0.588, allocations: 4.931 MB / 0.7108 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.5895, allocations: 0.6544 MB / 0.7114 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007822/0.5903, allocations: 375.1 kB / 0.7118 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006887/0.591, allocations: 0.8288 MB / 0.7126 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.591, allocations: 41.84 kB / 0.7126 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.445e-06/0.591, allocations: 1.375 kB / 0.7126 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.008168/0.5992, allocations: 1.893 MB / 0.7145 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.5993, allocations: 57.97 kB / 0.7145 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/0.6015, allocations: 1.208 MB / 0.7157 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.6018, allocations: 40.02 kB / 0.7158 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006089/0.6024, allocations: 0.5997 MB / 0.7163 GB, free: 100 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.6027, allocations: 222.8 kB / 0.7166 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.6028, allocations: 63.78 kB / 0.7166 GB, free: 15.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.603, allocations: 336.1 kB / 0.7169 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008188/0.6038, allocations: 303.3 kB / 0.7172 GB, free: 15.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009124/0.6047, allocations: 0.4975 MB / 0.7177 GB, free: 15.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.6063, allocations: 0.7533 MB / 0.7185 GB, free: 14.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.6063, allocations: 1.281 kB / 0.7185 GB, free: 14.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005177/0.6115, allocations: 1.415 MB / 0.7198 GB, free: 13.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.6117, allocations: 192.4 kB / 0.72 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6117, allocations: 3.344 kB / 0.72 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007587/0.6125, allocations: 169.6 kB / 0.7202 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.6132, allocations: 169.5 kB / 0.7203 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009514/0.6142, allocations: 0.7342 MB / 0.7211 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.6158, allocations: 162.1 kB / 0.7212 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.034e-05/0.6159, allocations: 31.7 kB / 0.7212 GB, free: 12.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.6159, allocations: 3.781 kB / 0.7212 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00493/0.6209, allocations: 1.26 MB / 0.7225 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.6209, allocations: 7.703 kB / 0.7225 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006744/0.6216, allocations: 163.5 kB / 0.7226 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.6223, allocations: 167.8 kB / 0.7228 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008951/0.6232, allocations: 0.7324 MB / 0.7235 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.6247, allocations: 155.2 kB / 0.7237 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-05/0.6248, allocations: 35.92 kB / 0.7237 GB, free: 10.98 MB / 0.545 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.00102/0.6259, allocations: 417 kB / 0.7241 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004406/0.6263, allocations: 134.4 kB / 0.7242 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005215/0.6315, allocations: 1.418 MB / 0.7256 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/0.6316, allocations: 7.938 kB / 0.7256 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.6316, allocations: 4 kB / 0.7256 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004609/0.6362, allocations: 1.244 MB / 0.7268 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008029/0.6443, allocations: 2.771 MB / 0.7295 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.6443, allocations: 4 kB / 0.7295 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.6449, allocations: 119.8 kB / 0.7297 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006765/0.6456, allocations: 160.8 kB / 0.7298 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.057e-05/0.6457, allocations: 23.98 kB / 0.7298 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000886/0.6466, allocations: 0.72 MB / 0.7305 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.6466, allocations: 11.77 kB / 0.7306 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00597/0.6526, allocations: 1.86 MB / 0.7324 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.6536, allocations: 339 kB / 0.7327 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004568/0.6541, allocations: 16 kB / 0.7327 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.6554, allocations: 95.88 kB / 0.7328 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.6556, allocations: 56.25 kB / 0.7329 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.155e-05/0.6557, allocations: 27.98 kB / 0.7329 GB, free: 1.312 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001723/0.6574, allocations: 0.8699 MB / 0.7337 GB, free: 452 kB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6574, allocations: 0 / 0.7337 GB, free: 452 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.002872/0.6603, allocations: 0.7057 MB / 0.7344 GB, free: 15.73 MB / 0.5606 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 (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.001271/0.6616, allocations: 464.3 kB / 0.7349 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002982/0.6646, allocations: 1.174 MB / 0.736 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6646, allocations: 0 / 0.736 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.6657, allocations: 415.2 kB / 0.7364 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005438/0.6711, allocations: 0.7939 MB / 0.7372 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005308/0.6765, allocations: 2.846 MB / 0.74 GB, free: 10 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009699/0.6775, allocations: 1.169 MB / 0.7411 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004947/0.678, allocations: 115.4 kB / 0.7412 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/0.678, allocations: 0 / 0.7412 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of Templates: time 0.04429/0.7223, allocations: 30.99 MB / 0.7715 GB, free: 9.906 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (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)