Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001412/0.001413, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001738/0.001738, allocations: 190.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.591/1.591, allocations: 251.6 MB / 0.5089 GB, free: 3.309 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.91 kB / 0.6217 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5648/0.5661, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06689/0.6331, allocations: 74.57 MB / 0.7968 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02004/0.6531, allocations: 12.49 MB / 0.809 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/0.6561, allocations: 63.62 kB / 0.8091 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003278/0.6595, allocations: 0.7151 MB / 0.8098 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00693/0.6665, allocations: 2.275 MB / 0.812 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.6698, allocations: 1.258 MB / 0.8132 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00576/0.6755, allocations: 4.353 MB / 0.8175 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002307/0.6779, allocations: 1.414 MB / 0.8188 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003778/0.6817, allocations: 1.641 MB / 0.8204 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.6836, allocations: 1.237 MB / 0.8216 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002559/0.6839, allocations: 160 kB / 0.8218 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.6869, allocations: 1.431 MB / 0.8232 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004546/0.6874, allocations: 398.6 kB / 0.8236 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.6886, allocations: 0.9021 MB / 0.8245 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004051/0.6926, allocations: 2.847 MB / 0.8272 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.6927, allocations: 0 / 0.8272 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6927, allocations: 0 / 0.8272 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.516e-05/0.6927, allocations: 4 kB / 0.8272 GB, free: 2.992 MB / 0.6387 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.003481/0.6962, allocations: 2.083 MB / 0.8293 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6962, allocations: 8.031 kB / 0.8293 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007866/0.697, allocations: 226.9 kB / 0.8295 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.6994, allocations: 1.474 MB / 0.8309 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.338e-05/0.6995, allocations: 78 kB / 0.831 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.6997, allocations: 100 kB / 0.8311 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.7016, allocations: 1.092 MB / 0.8322 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.7017, allocations: 3.906 kB / 0.8322 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.301e-05/0.7018, allocations: 48 kB / 0.8322 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.7018, allocations: 24 kB / 0.8322 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.7038, allocations: 0.89 MB / 0.8331 GB, free: 12.82 MB / 0.6544 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.006782/0.7106, allocations: 4.891 MB / 0.8379 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.7121, allocations: 0.6356 MB / 0.8385 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007323/0.7128, allocations: 355 kB / 0.8389 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008483/0.7137, allocations: 0.8316 MB / 0.8397 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/0.7138, allocations: 39.12 kB / 0.8397 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=62): time 3.357e-06/0.7138, allocations: 0 / 0.8397 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=62): time 0.007342/0.7211, allocations: 1.697 MB / 0.8414 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.7212, allocations: 55.97 kB / 0.8414 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.7229, allocations: 1.198 MB / 0.8426 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.7231, allocations: 45.7 kB / 0.8426 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004998/0.7236, allocations: 0.5987 MB / 0.8432 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.7238, allocations: 224.7 kB / 0.8434 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.724, allocations: 154.6 kB / 0.8436 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.7241, allocations: 337.9 kB / 0.8439 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.7248, allocations: 292.7 kB / 0.8442 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007801/0.7256, allocations: 490.4 kB / 0.8446 GB, free: 372 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.7269, allocations: 0.7121 MB / 0.8453 GB, free: 15.61 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.7269, allocations: 4 kB / 0.8453 GB, free: 15.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00464/0.7316, allocations: 1.285 MB / 0.8466 GB, free: 14.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.7316, allocations: 8 kB / 0.8466 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.7316, allocations: 4 kB / 0.8466 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006877/0.7323, allocations: 156.9 kB / 0.8468 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.7329, allocations: 155.8 kB / 0.8469 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008051/0.7337, allocations: 0.7123 MB / 0.8476 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.7349, allocations: 159 kB / 0.8478 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-05/0.735, allocations: 31.98 kB / 0.8478 GB, free: 13.06 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001033/0.736, allocations: 0.5605 MB / 0.8483 GB, free: 12.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007923/0.7368, allocations: 483 kB / 0.8488 GB, free: 11.95 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00131/0.7382, allocations: 0.7043 MB / 0.8495 GB, free: 11.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.546e-06/0.7382, allocations: 3.938 kB / 0.8495 GB, free: 11.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004564/0.7427, allocations: 1.269 MB / 0.8507 GB, free: 9.914 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.7428, allocations: 8 kB / 0.8507 GB, free: 9.906 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.7428, allocations: 4 kB / 0.8507 GB, free: 9.902 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/0.7434, allocations: 156.9 kB / 0.8509 GB, free: 9.746 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.744, allocations: 163.7 kB / 0.851 GB, free: 9.586 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007884/0.7448, allocations: 0.7162 MB / 0.8517 GB, free: 8.844 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.7462, allocations: 146.7 kB / 0.8519 GB, free: 8.703 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/0.7463, allocations: 32 kB / 0.8519 GB, free: 8.672 MB / 0.67 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.0003364/0.7466, allocations: 228 kB / 0.8521 GB, free: 8.441 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/0.747, allocations: 138.3 kB / 0.8523 GB, free: 8.305 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004759/0.7517, allocations: 1.283 MB / 0.8535 GB, free: 7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.7518, allocations: 8 kB / 0.8535 GB, free: 6.992 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.7518, allocations: 0 / 0.8535 GB, free: 6.992 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003913/0.7557, allocations: 1.111 MB / 0.8546 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006671/0.7624, allocations: 2.606 MB / 0.8571 GB, free: 3.133 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.7624, allocations: 7.984 kB / 0.8572 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.7629, allocations: 111.8 kB / 0.8573 GB, free: 3.016 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005757/0.7635, allocations: 153 kB / 0.8574 GB, free: 2.863 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.7636, allocations: 23.98 kB / 0.8574 GB, free: 2.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007514/0.7643, allocations: 0.7007 MB / 0.8581 GB, free: 2.113 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.7643, allocations: 4 kB / 0.8581 GB, free: 2.109 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005099/0.7694, allocations: 1.711 MB / 0.8598 GB, free: 336 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006551/0.7701, allocations: 307.2 kB / 0.8601 GB, free: 8 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.7703, allocations: 20.05 kB / 0.8601 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008732/0.7712, allocations: 83.77 kB / 0.8602 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.7713, allocations: 56.25 kB / 0.8602 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.7714, allocations: 31.98 kB / 0.8603 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001181/0.7726, allocations: 0.8697 MB / 0.8611 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7726, allocations: 0 / 0.8611 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001719/0.7743, allocations: 0.694 MB / 0.8618 GB, free: 14.25 MB / 0.6856 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.0008783/0.7752, allocations: 459.7 kB / 0.8622 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002674/0.7779, allocations: 1.16 MB / 0.8634 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.7779, allocations: 4 kB / 0.8634 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008494/0.7788, allocations: 391.2 kB / 0.8637 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/0.7823, allocations: 0.8078 MB / 0.8645 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004034/0.7863, allocations: 2.736 MB / 0.8672 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008193/0.7871, allocations: 1.168 MB / 0.8683 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001421/0.7886, allocations: 303 kB / 0.8686 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.7889, allocations: 111.3 kB / 0.8687 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of SimCode: time 2.124e-06/0.7889, allocations: 0 / 0.8687 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of Templates: time 0.05062/0.8395, allocations: 31.51 MB / 0.8995 GB, free: 7.969 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)